ROCm / HIPIFY

HIPIFY: Convert CUDA to Portable C++ Code
https://rocm.docs.amd.com/projects/HIPIFY/en/latest/
MIT License
524 stars 75 forks source link

[HIPIFY][perl] Why don't hipify-perl migrate cublasGemm* to rocblasGemm*? #500

Closed lingjiew93 closed 2 years ago

lingjiew93 commented 2 years ago

Hi, I'm trying to migrate some gemm example from cuda to hip. hipify-perl migrate cublas to hipblas, and hipblas was an experimental BLAS implementation for ROCm and has been DEPRECATED. That means one must use the hipblas library for the migrated code. Is there a easy way to use rocblas with migration?

emankov commented 2 years ago

Hi @lingjiew93,

You can try hipify-clang with the --roc option to translate cuBLAS to rocBLAS. Unfortunately, it is not yet implemented in the hipify-perl tool. I'll add a corresponding feature request for implementing the --roc option in hipify-perl too.

lingjiew93 commented 2 years ago

Thanks for your quick reply.