diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2012-05-20 21:08:35 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2012-05-20 21:08:35 +0000 |
commit | 4dc34ebf2a0716bf77ba110dab6777a3fc4397dd (patch) | |
tree | 3024562d1a661ae95d8f596d2182c63e5b9592ef /test/Tooling | |
parent | e5f8372b5dccf5894f0263d018599c14d8f31273 (diff) |
CUDA: add CodeGen support for global variable address spaces.
Because in CUDA types do not have associated address spaces,
globals are declared in their "native" address space, and accessed
by bitcasting the pointer to address space 0. This relies on address
space 0 being a unified address space.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157167 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Tooling')
0 files changed, 0 insertions, 0 deletions