Skip to content

Commit 37d4b53

Browse files
committed
nvc++ stdpar OpenMP macro change
The predefined macro set by `nvc++ -stdpar=multicore` is changing from _NV_STDPAR_OPENMP to _NVHPC_STDPAR_OPENMP. Make the corresponding change to Thrust.
1 parent c38c6f9 commit 37d4b53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

thrust/detail/config/compiler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
#endif
7474

7575
// is the device compiler capable of compiling omp?
76-
#if defined(_OPENMP) || defined(_NV_STDPAR_OPENMP)
76+
#if defined(_OPENMP) || defined(_NVHPC_STDPAR_OPENMP)
7777
#define THRUST_DEVICE_COMPILER_IS_OMP_CAPABLE THRUST_TRUE
7878
#else
7979
#define THRUST_DEVICE_COMPILER_IS_OMP_CAPABLE THRUST_FALSE

0 commit comments

Comments
 (0)