Skip to content

Commit

Permalink
[OpenMP] Replace CUDART_VERSION with CUDA_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
jdoerfert committed Nov 6, 2023
1 parent 726ee40 commit 002f422
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ struct CUDAKernelTy;
struct CUDADeviceTy;
struct CUDAPluginTy;

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

/// CUDA support VA management
bool supportVAManagement() const override {
#if (defined(CUDART_VERSION) && (CUDART_VERSION >= 11000))
#if (defined(CUDA_VERSION) && (CUDA_VERSION >= 11000))
return true;
#else
return false;
Expand Down

0 comments on commit 002f422

Please sign in to comment.