Change __CUDACC_VER_*__ preprocessor directives to CUDA_VERSION because clang doesn't define the former.
このコミットが含まれているのは:
1 親
469b69a5d0
コミット
d08e9b5279
4ファイル変更
+6
-6
検索条件に一致するファイルはありません
+1
-1
@@ -58,7 +58,7 @@ static void* const ncclKerns[ncclCollCount*ncclNumOps*ncclNumTypes*2] = {
|
||||
};
|
||||
|
||||
ncclResult_t ncclLaunchCooperativeKernelMultiDevice(struct cudaLaunchParams *paramsList, int* cudaDevs, int numDevices, int cgMode) {
|
||||
#if __CUDACC_VER_MAJOR__ >= 9
|
||||
#if CUDA_VERSION >= 9000
|
||||
if (cgMode & 0x01) {
|
||||
CUDACHECK(cudaLaunchCooperativeKernelMultiDevice(paramsList, numDevices,
|
||||
// These flags are to reduce the latency of using this API
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする