https://bugs.llvm.org/show_bug.cgi?id=45596
Bug ID: 45596
Summary: --cuda-noopt-device-debug doesn't define
__CUDACC_DEBUG__
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: CUDA
Assignee: unassignedclangb...@nondot.org
Reporter: r...@tambre.ee
CC: llvm-bugs@lists.llvm.org
NVCC defines __CUDACC_DEBUG__ if device debug code generation is enabled. It
would probably be nice if Clang did the same.
CMake has a test that checks for this define when using NVCC with device debug
code generation.
See
https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4442/diffs#note_737556.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs