File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 13
13
#define CUBLAS_OP_N MUBLAS_OP_N
14
14
#define CUBLAS_OP_T MUBLAS_OP_T
15
15
#define CUBLAS_STATUS_SUCCESS MUBLAS_STATUS_SUCCESS
16
- #define CUBLAS_TF32_TENSOR_OP_MATH MUBLAS_MATH_MODE_DEFAULT
16
+ #define CUBLAS_TF32_TENSOR_OP_MATH MUBLAS_DEFAULT_MATH
17
17
#define CUDA_R_16F MUSA_R_16F
18
18
#define CUDA_R_16BF MUSA_R_16BF
19
19
#define CUDA_R_32F MUSA_R_32F
29
29
#define cublasSgemm mublasSgemm
30
30
#define cublasStatus_t mublasStatus_t
31
31
#define cublasOperation_t mublasOperation_t
32
- #define cublasGetStatusString mublasStatus_to_string
32
+ #define cublasGetStatusString mublasGetStatusString
33
33
#define cudaDataType_t musaDataType_t
34
34
#define cudaDeviceCanAccessPeer musaDeviceCanAccessPeer
35
35
#define cudaDeviceDisablePeerAccess musaDeviceDisablePeerAccess
Original file line number Diff line number Diff line change @@ -67,6 +67,10 @@ if (MUSAToolkit_FOUND)
67
67
add_compile_definitions (GGML_USE_MUSA)
68
68
add_compile_definitions (GGML_CUDA_PEER_MAX_BATCH_SIZE=${GGML_CUDA_PEER_MAX_BATCH_SIZE} )
69
69
70
+ if (GGML_CUDA_GRAPHS)
71
+ add_compile_definitions (GGML_CUDA_USE_GRAPHS)
72
+ endif ()
73
+
70
74
if (GGML_CUDA_FORCE_MMQ)
71
75
add_compile_definitions (GGML_CUDA_FORCE_MMQ)
72
76
endif ()
You can’t perform that action at this time.
0 commit comments