[llvm-bugs] [Bug 47332] New: Compilation error while compiling any kernel launch statement in CUDAKernelCallExpr syntax

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 27 09:13:04 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=47332

            Bug ID: 47332
           Summary: Compilation error while compiling any kernel launch
                    statement in CUDAKernelCallExpr syntax
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: CUDA
          Assignee: unassignedclangbugs at nondot.org
          Reporter: evgeny.mankov at gmail.com
                CC: llvm-bugs at lists.llvm.org

The error reported is "Use of undeclared identifier cudaConfigureCall":

axpy_kernel <<<1, 2>>> (a, y, x);
            ^
There is no such error when compiling by clang against CUDA 11.0 (before Update
1) and against previous versions.

The error occurs when compiling CUDA code containing kernel launch in
CUDAKernelCallExpr syntax by all versions of clang, which initially supported
CUDA 11.0: 10.x - 11.x, 12.0.0git (trunk).

-- 
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/20200827/d47bd762/attachment.html>


More information about the llvm-bugs mailing list