Skip to content

Commit 29d33ec

Browse files
committed
Update openmp check.
1 parent df8afb8 commit 29d33ec

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-
#ifdef _OPENMP
76+
#if defined(_OPENMP) || defined(_NV_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)