| commit | ee47d8cb960b16ee31148888d86fc6112973224b | [log] [tgz] |
|---|---|---|
| author | Jonas Hahnfeld <hahnjo@hahnjo.de> | Wed Feb 14 16:04:03 2018 +0000 |
| committer | Jonas Hahnfeld <hahnjo@hahnjo.de> | Wed Feb 14 16:04:03 2018 +0000 |
| tree | 9942e7236d0b93d3e61eaba4ddc436a5c8792255 | |
| parent | 7e5d525bd58dd6ec65f08ef6e2782fe1269db57f [diff] |
[CUDA] Allow external variables in separate compilation According to the CUDA Programming Guide this is prohibited in whole program compilation mode. This makes sense because external references cannot be satisfied in that mode anyway. However, such variables are allowed in separate compilation mode which is a valid use case. Differential Revision: https://reviews.llvm.org/D42923 llvm-svn: 325136