[llvm-bugs] [Bug 45596] New: --cuda-noopt-device-debug doesn't define __CUDACC_DEBUG__

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Apr 18 03:37:23 PDT 2020


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: unassignedclangbugs at nondot.org
          Reporter: raul at tambre.ee
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200418/aab9af7e/attachment.html>


More information about the llvm-bugs mailing list