diff --git a/openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.cpp b/openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.cpp --- a/openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.cpp +++ b/openmp/libomptarget/plugins/cuda/dynamic_cuda/cuda.cpp @@ -85,8 +85,12 @@ #define DYNAMIC_CUDA_PATH "libcuda.so" #endif +#ifndef TARGET_NAME #define TARGET_NAME CUDA +#endif +#ifndef DEBUG_PREFIX #define DEBUG_PREFIX "Target " GETNAME(TARGET_NAME) " RTL" +#endif static bool checkForCUDA() { // return true if dlopen succeeded and all functions found