Skip to content

Commit 77465da

Browse files
authored
Fix new CUDA10 compilation errors (#4635)
1 parent a206137 commit 77465da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ggml-cuda.cu

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
#include <cuda_fp16.h>
103103

104104
#if CUDART_VERSION < 11020
105+
#define CU_DEVICE_ATTRIBUTE_VIRTUAL_MEMORY_MANAGEMENT_SUPPORTED CU_DEVICE_ATTRIBUTE_VIRTUAL_ADDRESS_MANAGEMENT_SUPPORTED
105106
#define CUBLAS_TF32_TENSOR_OP_MATH CUBLAS_TENSOR_OP_MATH
106107
#define CUBLAS_COMPUTE_16F CUDA_R_16F
107108
#define CUBLAS_COMPUTE_32F CUDA_R_32F

0 commit comments

Comments
 (0)