-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[5.5.X] hipblasDatatype_t
should be replaced with HIP's hipDataType
#366
Comments
Colleagues, any activity on the issue? It is a serious showstopper. |
Still actual for ROCm HIP 5.X |
hipblasDatatype_t
should be replaced with HIP's hipDataType
hipblasDatatype_t
should be replaced with HIP's hipDataType
+ Continued syncing with the latest rocBLAS + Continued populating rocm APIs with HIP versions + Revised ROCm/hipBLAS#366 issue: the same goes to rocBLAS as well
hipblasDatatype_t
should be replaced with HIP's hipDataType
hipblasDatatype_t
should be replaced with HIP's hipDataType
@bragadeesh, we need this to be fixed ASAP. We have conflicts with HIP and hipSPARSE on hiBLAS's |
…driven matcher for Data Types substitution [Synopsis] + `hipSPARSE` already uses the common HIP library type `hipDataType`, whereas `hipBLAS`, `rocBLAS`, and `rocSPARSE` don't + So, it is needed to hipify `cudaDataType` to `hipDataType` in some cases (like for SPARSE-related sources), and to `hipblasDatatype_t`, `rocblas_datatype`, or `rocsparse_datatype` in other cases [Solution] + There is no single solid solution for sources where `cudaDataType_t` is used for both SPARSE and BLAS + [temporary][partial] Introduce the `--use-hip-data-types` option for use `hipDataType` instead of `hipblasDatatype_t` or `rocblas_datatype`; switched off by default + Introduced option-driven matcher `DataTypeSelection` for Data Types substitution + Check the solution on `cusparseCreateSpVec` to `hipsparseCreateSpVec` hipification, where `hipDataType` is used (the synthetic test `cusparse2hipsparse.cu`) [ToDo] + File tickets to `rocBLAS` and `rocSPARSE` similar to ROCm/hipBLAS#366 + Take into account all of the supported `cudaDataType_t` enum members and update the tests + Remove the workaround after all the HIP libs start to use the single `hipDataType`
Adding this to @daineAMD queue. |
…ipblasDatatype_t` -> `hipDataType` [IMP] + In hipBLAS 6.0.0, ROCm/hipBLAS#366 is finally fixed, thus HIPIFY can use `hipDataType` instead of `hipblasDatatype_t` + `hipDataType` can be found in `hip/library_types.h` (also mapped to CUDA's `library_types.h`) + `rocblas_datatype` is left unchanged [TODO] + Revise all the hipBLAS functions which use `hipblasDatatype_t` or `hipDataType` + Remove now the unnecessary option `-use-hip-data-types` + Close ROCm/hipBLAS/issues/366 as implemented with the releasing of hipBLAS 6.0.0 + [long-term] Move `hipDataType` from BLAS to Runtime, when other than hipBLAS libs will start using `hipDataType`
What is the expected behavior
hipDataType
from HIP API should be used instead ofhipblasDatatype_t
.hipDataType
should be populated with the correspondinghipblasDatatype_t
elements, like:HIPBLAS_R_8I
->HIP_R_8I
hipblasDatatype_t
should be deleted from hipBLAS API or might be left as a typedef forhipDataType
, like it is done forcublasDataType_t
in cuBLAS API:typedef cudaDataType cublasDataType_t;
[Reasons]
hipblasDatatype_t
being actually an analogue tocudaDataType
is a type common for all HIP libraries, not only for hipBLAS, and it might be used in any HIP application.cudaDataType
tohipblasDatatype_t
because it will require adding a corresponding#include
tohipblas.h
what is definitely incorrect.What actually happens
ROCm/HIPIFY#383
How to reproduce
ROCm/HIPIFY#383
Software
hipcc --version HIP version: 4.3.0
The text was updated successfully, but these errors were encountered: