[llvm-bugs] [Bug 42045] New: ICE while diagnosing enqueue_kernel

via llvm-bugs llvm-bugs at lists.llvm.org
Tue May 28 06:24:04 PDT 2019


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

            Bug ID: 42045
           Summary: ICE while diagnosing enqueue_kernel
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: OpenCL
          Assignee: unassignedclangbugs at nondot.org
          Reporter: anastasia.stulova at arm.com
                CC: anastasia.stulova at arm.com, llvm-bugs at lists.llvm.org

Clang fails to compile the following code:

kernel void my_func_B(global int *a, global int *b, global int *c) {
  ndrange_t ndrange; // build ndrange information ...
  // example enqueue a kernel as a block
  queue_t  q;
  enqueue_kernel(q, ndrange, ^{*a = 1;});
}

-- 
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/20190528/ef0e375b/attachment.html>


More information about the llvm-bugs mailing list