We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b5567ba + 8d3b44e commit 181b30eCopy full SHA for 181b30e
offload/plugins-nextgen/cuda/CMakeLists.txt
@@ -2,6 +2,8 @@
2
add_target_library(omptarget.rtl.cuda CUDA)
3
4
target_sources(omptarget.rtl.cuda PRIVATE src/rtl.cpp)
5
+#workaround strange -O3 issue for cuda src.rtk,coo ASAN
6
+set_source_files_properties(src/rtl.cpp PROPERTIES COMPILE_FLAGS "-O0")
7
8
find_package(CUDAToolkit QUIET)
9
if(CUDAToolkit_FOUND AND NOT "cuda" IN_LIST LIBOMPTARGET_DLOPEN_PLUGINS)
0 commit comments