Skip to content

Commit e8eb7fa

Browse files
FantasyGmmhodlen
authored andcommitted
Fix new CUDA10 compilation errors (ggml-org#4635)
1 parent bddcf18 commit e8eb7fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ggml-cuda.cu

Lines changed: 1 addition & 0 deletions
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)