-
Notifications
You must be signed in to change notification settings - Fork 110
RAJA::launch sycl, tiling, and reduction tests #1473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 24 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
d840b32
clean up pass
artv3 6b42a92
add sycl test
artv3 ef654cb
add sycl run-time exec policy test
artv3 af7636d
add launch reduce test
artv3 0a5d0e7
remove buffer
artv3 d6eb6df
add a couple more reduction tests for launch
artv3 8d61b5a
clean up pass on reduction tests
artv3 a308dcf
revert sycl guard
artv3 d43e2ec
release dynamic shared memory
artv3 a6bac18
add 3D thread team policies
artv3 6bbe4da
add nested loop tests
artv3 3b82b9e
fix gpu test
artv3 20ed6f4
add _loop and _direct nested tests
artv3 4dea0af
Merge branch 'develop' into artv3/more-launch-test
artv3 ef0256a
add nested tile functional tests
artv3 0417abe
add test for icount tile code
artv3 758accf
add itile_loop tests
artv3 29a8864
update camp
artv3 b43745b
rename files to _icount
artv3 7314416
clean up pass
artv3 1bf1f68
fix policy usage
artv3 ac5d065
fix policy ordering
artv3 90f488b
bug fix in omp tile_icount
artv3 8574480
tile_icount ->tile_tcount to be consistent with kernel
artv3 a4366a1
check output on 0 sized segments
artv3 cc00003
Merge branch 'develop' into artv3/more-launch-test
rhornung67 40de8bd
use same camp as develop
artv3 55b3989
Merge branch 'artv3/more-launch-test' of github.com:LLNL/RAJA into ar…
artv3 0f2862e
loop_ -> seq_
artv3 3aa5392
Update test/functional/launch/shared_mem/CMakeLists.txt
artv3 1d10c2a
TileICount->TileTCount
artv3 1ae9c1f
add missing sycl policies
artv3 a0ea172
Merge branch 'develop' into artv3/more-launch-test
rhornung67 dd39187
remove unessary strip index type calls
artv3 ae9592c
Merge branch 'develop' into artv3/more-launch-test
rhornung67 35b12bb
fix formatting
artv3 4c24f27
fix formatting and file name
artv3 0d0aba7
fix formatting on launch_direct_threads_3D_execpol.hpp
artv3 baaf718
clean up pass
artv3 820e6fd
clean up pass
artv3 fa8d602
rename files for consistency
artv3 34861dd
update include name
artv3 107c7ff
clean up pass
artv3 9acd8bf
renaming
artv3 5d94244
clean up pass
artv3 f0b312d
clean up formatting for readibility
artv3 8a4bf0d
clean up pass
artv3 12e520d
formatting pass
artv3 3710da0
commit clean up pass
artv3 8ba4a28
vertical alignment clean up pass
artv3 b1cbf48
add missing sycl policies + fix omp sycl policies
artv3 0fdb87f
Merge branch 'develop' into artv3/more-launch-test
artv3 96207ab
Merge branch 'develop' into artv3/more-launch-test
rhornung67 7d4f7c3
Merge branch 'develop' into artv3/more-launch-test
artv3 7ec690d
Merge branch 'develop' into artv3/more-launch-test
rhornung67 9d220b3
Merge branch 'develop' into artv3/more-launch-test
rhornung67 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| ############################################################################### | ||
| # Copyright (c) 2016-23, Lawrence Livermore National Security, LLC | ||
| # and RAJA project contributors. See the RAJA/LICENSE file for details. | ||
| # | ||
| # SPDX-License-Identifier: (BSD-3-Clause) | ||
| ############################################################################### | ||
|
|
||
| # | ||
| # List of segment types for generating test files. | ||
| # | ||
| # TODO: Support list segments with RAJA Launch | ||
| # | ||
| set(NESTEDTYPES Direct) | ||
|
|
||
| # | ||
| # Generate tests for each enabled RAJA back-end. | ||
| # | ||
| # | ||
|
|
||
| foreach( BACKEND ${LAUNCH_BACKENDS} ) | ||
| foreach( NESTEDTYPES ${NESTEDTYPES} ) | ||
| configure_file( test-launch-nested.cpp.in | ||
| test-launch-nested-${NESTEDTYPES}-${BACKEND}.cpp ) | ||
| raja_add_test( NAME test-launch-nested-${NESTEDTYPES}-${BACKEND} | ||
| SOURCES ${CMAKE_CURRENT_BINARY_DIR}/test-launch-nested-${NESTEDTYPES}-${BACKEND}.cpp ) | ||
|
|
||
| target_include_directories(test-launch-nested-${NESTEDTYPES}-${BACKEND}.exe | ||
| PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/tests) | ||
| endforeach() | ||
| endforeach() | ||
|
|
||
| unset( NESTEDTYPES ) | ||
39 changes: 39 additions & 0 deletions
39
test/functional/launch/nested_direct/test-launch-nested.cpp.in
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// | ||
| // Copyright (c) 2016-23, Lawrence Livermore National Security, LLC | ||
| // and RAJA project contributors. See the RAJA/LICENSE file for details. | ||
| // | ||
| // SPDX-License-Identifier: (BSD-3-Clause) | ||
| //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// | ||
|
|
||
| // | ||
| // test/include headers | ||
| // | ||
| #include "RAJA_test-base.hpp" | ||
| #include "RAJA_test-camp.hpp" | ||
| #include "RAJA_test-index-types.hpp" | ||
|
|
||
| #include "RAJA_test-forall-data.hpp" | ||
| #include "RAJA_test-launch-launch_direct_threads_3D_execpol.hpp" | ||
|
|
||
| // | ||
| // Header for tests in ./tests directory | ||
| // | ||
| // Note: CMake adds ./tests as an include dir for these tests. | ||
| // | ||
| #include "test-launch-nested-@[email protected]" | ||
|
|
||
|
|
||
| // | ||
| // Cartesian product of types used in parameterized tests | ||
| // | ||
| using @BACKEND@LaunchNestedTypes = | ||
| Test< camp::cartesian_product<IdxTypeList, | ||
| @BACKEND@ResourceList, | ||
| @BACKEND@_launch_policies>>::Types; | ||
|
|
||
| // | ||
| // Instantiate parameterized test | ||
| // | ||
| INSTANTIATE_TYPED_TEST_SUITE_P(@BACKEND@, | ||
| LaunchNested@NESTEDTYPES@Test, | ||
| @BACKEND@LaunchNestedTypes); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.