Commit 002f4224 authored by Johannes Doerfert's avatar Johannes Doerfert
Browse files

[OpenMP] Replace CUDART_VERSION with CUDA_VERSION

parent 726ee40f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.
@@ -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;