diff options
author | Justin Holewinski <jholewinski@nvidia.com> | 2013-06-21 18:51:49 +0000 |
---|---|---|
committer | Justin Holewinski <jholewinski@nvidia.com> | 2013-06-21 18:51:49 +0000 |
commit | 0ff4287fe2245f417ed78fa535fce360b8b8df23 (patch) | |
tree | e70770e354d723b8320b18a505138396f514a9ee /lib/Target/NVPTX/NVPTX.h | |
parent | c22e02b1f41387e791a08f1715e877e4fd86ca87 (diff) | |
download | external_llvm-0ff4287fe2245f417ed78fa535fce360b8b8df23.zip external_llvm-0ff4287fe2245f417ed78fa535fce360b8b8df23.tar.gz external_llvm-0ff4287fe2245f417ed78fa535fce360b8b8df23.tar.bz2 |
[NVPTX] Add support for selecting CUDA vs OCL mode based on triple
IR for CUDA should use "nvptx[64]-nvidia-cuda", and IR for NV OpenCL should use "nvptx[64]-nvidia-nvcl"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184579 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/NVPTX/NVPTX.h')
-rw-r--r-- | lib/Target/NVPTX/NVPTX.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/NVPTX/NVPTX.h b/lib/Target/NVPTX/NVPTX.h index 179dc27..85cdb8b 100644 --- a/lib/Target/NVPTX/NVPTX.h +++ b/lib/Target/NVPTX/NVPTX.h @@ -77,8 +77,7 @@ extern Target TheNVPTXTarget64; namespace NVPTX { enum DrvInterface { NVCL, - CUDA, - TEST + CUDA }; // A field inside TSFlags needs a shift and a mask. The usage is |