Skip to content

Commit 776bbc4

Browse files
committed
Config: Remove THRUST_(HOST|DEVICE)_COMPILER_NVCXX as we haven't deployed them
throughout the codebase, and not taking the NVCC/GCC codepaths breaks NVC++.
1 parent 71c49df commit 776bbc4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

thrust/detail/config/compiler.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,13 @@
2626
#define THRUST_HOST_COMPILER_GCC 2
2727
#define THRUST_HOST_COMPILER_CLANG 3
2828
#define THRUST_HOST_COMPILER_INTEL 4
29-
#define THRUST_HOST_COMPILER_NVCXX 5
3029

3130
// enumerate device compilers we know about
3231
#define THRUST_DEVICE_COMPILER_UNKNOWN 0
3332
#define THRUST_DEVICE_COMPILER_MSVC 1
3433
#define THRUST_DEVICE_COMPILER_GCC 2
3534
#define THRUST_DEVICE_COMPILER_CLANG 3
3635
#define THRUST_DEVICE_COMPILER_NVCC 4
37-
#define THRUST_DEVICE_COMPILER_NVCXX 5
3836

3937
// figure out which host compiler we're using
4038
// XXX we should move the definition of THRUST_DEPRECATED out of this logic
@@ -44,8 +42,6 @@
4442
#define THRUST_MSVC_VERSION_FULL _MSC_FULL_VER
4543
#elif defined(__ICC)
4644
#define THRUST_HOST_COMPILER THRUST_HOST_COMPILER_INTEL
47-
#elif defined(__NVCOMPILER)
48-
#define THRUST_HOST_COMPILER THRUST_HOST_COMPILER_NVCXX
4945
#elif defined(__clang__)
5046
#define THRUST_HOST_COMPILER THRUST_HOST_COMPILER_CLANG
5147
#define THRUST_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__)

0 commit comments

Comments
 (0)