Skip to content
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

[HIPIFY][BLAS][fix] Fix hipBLAS and rocBLAS TRMM functions support types #640

Merged
merged 1 commit into from
Sep 22, 2022

Conversation

emankov
Copy link
Collaborator

@emankov emankov commented Sep 22, 2022

[IMP]

  • Mark rocBLAS TRMM functions rocblas_(s|d|c|z)trmm_outofplace, as supported only for TRMM v2 CUDA analogues (HIP_SUPPORTED_V2_ONLY - works for roc* APIs as well)
  • Mark hipBLAS TRMM functions hipblas(S|D|C|Z)trmm as HIP_UNSUPPORTED
  • Regenerate and update docs and hipify-perl accordingly

[Reasons]

[ToDo]

+ Mark rocBLAS TRMM functions rocblas_(s|d|c|z)trmm_outofplace, as supported only for TRMM v2 CUDA analogues
+ Mark hipBLAS TRMM functions hipblas(S|D|C|Z)trmm as HIP_UNSUPPORTED
+ Regenerate and update docs and hipify-perl accordingly

[Reasons]
+ hipBLAS TRMM functions hipblas(S|D|C|Z)trmm, actually, do not match neither cublas TRMM functions, nor cublas TRMM _v2 functions: ROCm/hipBLAS#524
+ There is a correspondence between cuBLAS cublas_(s|d|c|z)trmm and rocBLAS TRMM rocblas_(s|d|c|z)trmm_outofplace, not rocblas_(s|d|c|z)trmm: fixed it

[ToDo]
+ Close ROCm/rocBLAS#1265 as erroneous
+ Remove HIP_UNSUPPORTED mark from hipblas(S|D|C|Z)trmm functions after merging ROCm/hipBLAS#504
+ Add cublas2rocblas and update cublas2hipblas synthetic tests
@emankov emankov added fix It fixes bug sync Syncing update BLAS BLAS-related labels Sep 22, 2022
@emankov emankov self-assigned this Sep 22, 2022
@emankov emankov merged commit 10552e0 into ROCm:amd-staging Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BLAS BLAS-related fix It fixes bug sync Syncing update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[5.2.X] TRMM functions do not have correct correspondence in rocBLAS
1 participant