Change __CUDACC_VER_*__ preprocessor directives to CUDA_VERSION because clang doesn't define the former.
[ROCm/rccl commit: d08e9b5279]
This commit is contained in:
committed by
Sylvain Jeaugey
parent
7fa81a40a1
commit
457c2ab5ae
@@ -18,7 +18,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <cuda_runtime.h>
|
||||
|
||||
#if __CUDACC_VER_MAJOR__ < 9
|
||||
#if CUDA_VERSION < 9000
|
||||
struct cudaLaunchParams {
|
||||
void *func;
|
||||
dim3 gridDim;
|
||||
|
||||
Reference in New Issue
Block a user