Skip to content

Commit

Permalink
[ROCm] Add cublasGemmAlgo_t -> hipblasGemmAlgo_t (pytorch#121030)
Browse files Browse the repository at this point in the history
This PR is to add cublasGemmAlgo_t -> hipblasGemmAlgo_t to cuda_to_hip_mappings.py.
It is required for DeepSpeed transformer extension build on ROCm.

Pull Request resolved: pytorch#121030
Approved by: https://github.com/jeffdaily, https://github.com/ezyang
  • Loading branch information
rraminen authored and petrex committed May 3, 2024
1 parent d4f5355 commit 3f436ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torch/utils/hipify/cuda_to_hip_mappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,7 @@
("cublasDiagType_t", ("hipblasDiagType_t", CONV_TYPE, API_BLAS)),
("cublasSideMode_t", ("hipblasSideMode_t", CONV_TYPE, API_BLAS)),
("cublasPointerMode_t", ("hipblasPointerMode_t", CONV_TYPE, API_BLAS)),
("cublasGemmAlgo_t", ("hipblasGemmAlgo_t", CONV_TYPE, API_BLAS)),
(
"cublasAtomicsMode_t",
("hipblasAtomicsMode_t", CONV_TYPE, API_BLAS, HIP_UNSUPPORTED),
Expand Down

0 comments on commit 3f436ae

Please sign in to comment.