Skip to content
Snippets Groups Projects
Commit 3d2666f2 authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing CUDA

parent 820a0a67
No related branches found
No related tags found
No related merge requests found
Pipeline #3884 passed
......@@ -68,7 +68,6 @@ if (CMAKE_CUDA_COMPILER_ID STREQUAL "Clang")
endif()
if (CUDA_FOUND)
set_source_files_properties(main.cpp PROPERTIES LANGUAGE CUDA)
if (CMAKE_CUDA_COMPILER_ID STREQUAL "NVIDIA")
target_compile_options(mem PUBLIC $<$<COMPILE_LANGUAGE:CUDA>:-Xcudafe "--display_error_number --diag_suppress=2885 --diag_suppress=2887 --diag_suppress=2888 --diag_suppress=186 --diag_suppress=111" --expt-extended-lambda>)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment