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: unassignedclangb...@nondot.org
Reporter: anastasia.stul...@arm.com
CC: anastasia.stul...@arm.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs