Skip to content

Commit 002f422

Browse files
committed
[OpenMP] Replace CUDART_VERSION with CUDA_VERSION
1 parent 726ee40 commit 002f422

File tree

1 file changed

+2
-2
lines changed
  • openmp/libomptarget/plugins-nextgen/cuda/src

1 file changed

+2
-2
lines changed

openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ struct CUDAKernelTy;
3737
struct CUDADeviceTy;
3838
struct CUDAPluginTy;
3939

40-
#if (defined(CUDART_VERSION) && (CUDART_VERSION < 11000))
40+
#if (defined(CUDA_VERSION) && (CUDA_VERSION < 11000))
4141
/// Forward declarations for all Virtual Memory Management
4242
/// related data structures and functions. This is necessary
4343
/// for older cuda versions.
@@ -543,7 +543,7 @@ struct CUDADeviceTy : public GenericDeviceTy {
543543

544544
/// CUDA support VA management
545545
bool supportVAManagement() const override {
546-
#if (defined(CUDART_VERSION) && (CUDART_VERSION >= 11000))
546+
#if (defined(CUDA_VERSION) && (CUDA_VERSION >= 11000))
547547
return true;
548548
#else
549549
return false;

0 commit comments

Comments
 (0)