Skip to content

Commit

Permalink
cuda : add ROCm / hipBLAS cublasGemmBatchedEx define
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Oct 23, 2023
1 parent 878aa4f commit d415669
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ggml-cuda.cu
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#define __shfl_xor_sync(mask, var, laneMask, width) __shfl_xor(var, laneMask, width)
#define cublasCreate hipblasCreate
#define cublasGemmEx hipblasGemmEx
#define cublasGemmBatchedEx hipblasGemmBatchedEx
#define cublasHandle_t hipblasHandle_t
#define cublasSetMathMode(handle, mode) CUBLAS_STATUS_SUCCESS
#define cublasSetStream hipblasSetStream
Expand Down

0 comments on commit d415669

Please sign in to comment.