[llvm-bugs] [Bug 26482] New: CUDA support for __global__ lambdas
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Feb 4 13:46:18 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=26482
Bug ID: 26482
Summary: CUDA support for __global__ lambdas
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: justin.lebar at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
The following code should compile (and generate a kernel lambda we can invoke).
void foo() {
auto x = []()__global__ { };
}
Instead it gives the following error:
test.cu:2:15: error: kernel function type '<dependent type> () const' must have
void return type
auto x = [] () __global__ { };
--
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/20160204/eaf2be1e/attachment.html>
More information about the llvm-bugs
mailing list