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

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

Closed
littlewu2508 opened this issue Nov 4, 2023 · 3 comments
Assignees

Comments

@littlewu2508
Copy link

What is the expected behavior

  • Test pass

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

  • Run ./rocsparse-test --gtest_filter=*pre_checkin/spgemm_bsr.extra/i32_i32_f32_r_bad_arg*

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 YvanMokwinski self-assigned this Nov 4, 2023
@YvanMokwinski
Copy link
Contributor

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

@ppanchad-amd
Copy link

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

@jsandham
Copy link
Contributor

jsandham commented Aug 8, 2024

Closing as this is fixed in 6.1.2.

@jsandham jsandham closed this as completed Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants