[PATCH] [cuda] Ignore "TLS unsupported by target" errors for host variables during device-side CUDA compilation.
Artem Belevich
tra at google.com
Fri Apr 24 15:46:27 PDT 2015
Hi jpienaar, eliben, rnk,
During device-side CUDA compilation clang currently complains about any TLS variable, regardless of whether it's a host or device one.
This patch suppresses "TLS unsupported" errors for host variables during device compilation and for device variables during host compilation.
http://reviews.llvm.org/D9269
Files:
include/clang/Sema/SemaInternal.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaStmtAsm.cpp
test/SemaCUDA/qualifiers.cu
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9269.24418.patch
Type: text/x-patch
Size: 4838 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150424/8cf136a3/attachment.bin>
More information about the cfe-commits
mailing list