ROCm / rocSPARSE

Next generation SPARSE implementation for ROCm platform
https://rocm.docs.amd.com/projects/rocSPARSE/en/latest/
MIT License
116 stars 56 forks source link

rocsparse-test spgemm_bsr.extra: Assertion `format == rocsparse_format_csc' failed. #357

Closed littlewu2508 closed 3 months ago

littlewu2508 commented 1 year ago

What is the expected behavior

What actually happens

/clients/tests/../include/utility.hpp:484: rocsparse_local_spmat::rocsparse_local_spmat(int64_t, int64_t, int64_t, void *, void *, void *, rocsparse_indextype, rocsparse_indextype, rocsparse_index_base, rocsparse_datatype, rocsparse_format): Assertion `format == rocsparse_format_csc' failed.

By backtracing, it seems that https://github.com/ROCmSoftwarePlatform/rocSPARSE/blob/rocm-5.7.1/clients/testings/testing_spgemm_bsr.cpp#L76 is calling https://github.com/ROCmSoftwarePlatform/rocSPARSE/blob/rocm-5.7.1/clients/include/utility.hpp#L455, but not https://github.com/ROCmSoftwarePlatform/rocSPARSE/blob/rocm-5.7.1/clients/include/utility.hpp#L520, which I cannot understand

The full build and test log (Gentoo rocSPARSE package) is attached:

build.log.gz

How to reproduce

Environment

Hardware description
GPU AMD Instinct MI210
CPU AMD EPYC 7763 64-Core Processor
Software version
ROCK linux-6.1 (Debian 6.1.27-1)
ROCR rocm-5.7.1
HIP rocm-5.7.1
Library rocm-5.7.1
YvanMokwinski commented 1 year ago

@littlewu2508 Thank you. This is indeed a bug. It will be fixed as soon as possible.

ppanchad-amd commented 4 months ago

@YvanMokwinski Is this fixed in the latest ROCm 6.1.2? Thanks

jsandham commented 3 months ago

Closing as this is fixed in 6.1.2.