| commit | fa62ad40872b0d85f9b9a55f0b806c910edab257 | [log] [tgz] |
|---|---|---|
| author | Artem Belevich <tra@google.com> | Mon Apr 27 19:37:53 2015 +0000 |
| committer | Artem Belevich <tra@google.com> | Mon Apr 27 19:37:53 2015 +0000 |
| tree | a84ff38123dfd0635d6cf3f876b2245558998be0 | |
| parent | 0eafe5df712a0394feb8d49d629dc8bace0f292d [diff] |
[cuda] Ignore "TLS unsupported by target" errors for host variables during device compilation. During device-side CUDA compilation clang currently complains about all TLS variables, regardless of whether they are __host__ or __device__. This patch suppresses "TLS unsupported" errors for host variables during device compilation and for device variables during host compilation. Differential Revision: http://reviews.llvm.org/D9269 llvm-svn: 235907