forked from kokkos/kokkos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OpenACC CMakechange Clacc (kokkos#6250)
* Update cmake configurations and OpenACC code so that the LLVM-Clacc compiler can comple the OpenACC backend. * Disable problematic unit tests that cause clang-linker-wrapper to hang when targeting AMD GPUs. * Update unit_test/CMakeLists.txt to remove supported unit tests from the OpenACC/Clacc removal list. Remove NVHPC-specific changes from cmake/kokkos_enable_devices.cmake Remove incomplete changes to Makefile.kokkos. * Disable unit tests that cause Clacc to hang for a long time when building on AMD GPUs. * Apply suggestions from code review Co-authored-by: Daniel Arndt <arndtd@ornl.gov> * Minor update according to the code review. * Revert the changes related to KOKKOS_OPENACC_WITHOUT_GPU, which will be handled in a separate PR. * Fix an error in algorithms/CMakeLists.txt * Update core/unit_test/CMakeLists.txt Co-authored-by: Damien L-G <dalg24+github@gmail.com> * Update the comment in Kokkos_OpenACC_ParallelScan_Range.hpp as requested by the code review. * Update comments in core/unit_test/CMakeLists.txt as suggested by the code review. Re-enabled TestCompilerMacros.cpp for the OpenACC backend compilers (NVHPC and Clacc) * Delete outdated comment and code in core/unit_test/CMakeLists.txt * Merge OpenACC parallel_scan(range) implementations into single one using macros. * Simplify the parallel_scan(range) implementation further using macro. * Remove `-lm` option from Clang when targeting AMD GPUs with OpenACC * Undo removing space in line 1219 of core/unit_test/CMakeLists.txt * Prefix macros with `KOKKOS_IMPL_ACC` Remove ELEMENT_VALUES_SIZE * Remove `TestCompilerMacros.cpp` from the removal list. Use `num_elements` in the definition of `KOKKOS_IMPL_ACC_ELEMENT_VALUES_CLAUSE`. --------- Co-authored-by: Daniel Arndt <arndtd@ornl.gov> Co-authored-by: Damien L-G <dalg24+github@gmail.com> Co-authored-by: Damien L-G <dalg24@gmail.com>
- Loading branch information
1 parent
ba79dc4
commit 8452f8d
Showing
7 changed files
with
190 additions
and
38 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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