-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add sycl-cuda toolchain * update sycl composition tests * add sycl tests with hipsycl-cuda * try to fix ci * try to fix ci * try to fix ci * try to fix build * try to fix build * add sycl device info query utility * fix cuda build
- Loading branch information
Showing
13 changed files
with
530 additions
and
59 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
set(CMAKE_C_COMPILER /usr/local/bin/syclcc) | ||
set(CMAKE_CXX_COMPILER /usr/local/bin/syclcc) | ||
|
||
SET (CMAKE_C_COMPILER_WORKS 1) | ||
add_compile_options(-W -Wall -Wextra -Werror | ||
-Wno-gnu-string-literal-operator-template | ||
-Wno-unknown-cuda-version | ||
--acpp-targets="cuda:sm_60" | ||
--acpp-clang=/usr/bin/clang++-14 | ||
) | ||
add_link_options( | ||
--acpp-targets="cuda:sm_60" | ||
--acpp-clang=/usr/bin/clang++-14 | ||
) | ||
set(NMTOOLS_TEST_CUDA_PATH "/usr/local/cuda/" CACHE STRING "manually set cuda path") | ||
link_directories("${NMTOOLS_TEST_CUDA_PATH}/lib64") | ||
link_libraries(cudart_static dl rt pthread) |
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
Oops, something went wrong.