Skip to content

Commit

Permalink
Update the CUDA compiler -Xcompiler flag.
Browse files Browse the repository at this point in the history
tpatki committed Sep 20, 2024
1 parent 3d7a622 commit e53ee4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c/test/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ endif()
if(PERFFLOWASPECT_WITH_CUDA)
message(STATUS " [*] Adding test: smoketest_cuda")
if (PERFFLOWASPECT_CLANG_14_NEWER)
set(CUDA_NVCC_FLAGS "-ccbin ${CMAKE_CXX_COMPILER} -Xcompiler=-Xclang -Xcompiler=-load -Xcompiler=-Xclang -Xcompiler=../../../weaver/weave/libWeavePass.so -fpass-plugin=../weaver/weave/libWeavePass.so")
set(CUDA_NVCC_FLAGS "-ccbin ${CMAKE_CXX_COMPILER} -Xcompiler=-Xclang -Xcompiler=-load -Xcompiler=-Xclang -Xcompiler=../../../weaver/weave/libWeavePass.so -Xcompiler=-fpass-plugin=../../../weaver/weave/libWeavePass.so")
else()
set(CUDA_NVCC_FLAGS "-ccbin ${CMAKE_CXX_COMPILER} -Xcompiler=-Xclang -Xcompiler=-load -Xcompiler=-Xclang -Xcompiler=../../../weaver/weave/libWeavePass.so")
endif()

0 comments on commit e53ee4a

Please sign in to comment.