Skip to content

Bug: rocsolver_dcsrrf_solve fails with status 3 (rocblas_invalid_pointer) #356

@shakedregev

Description

@shakedregev

Description how to reproduce the bug

On adham/hykkt-cholesky in your build directory, run

make -j 
./tests/unit/hykkt/runHykktCholeskyTests.exe

Output

Running tests on CPU device:
--- PASS: Test minimalCorrectness

Running tests on HIP device:
[ERROR] Direct solve step failed with status: 3
Test failed at index 0: expected 1, got -6
Test failed at index 1: expected -0.5, got -17.25
Test failed at index 2: expected 0.25, got 30
--- FAIL: Test minimalCorrectness


Test Summary
	Successful tests:     1
	Failed test:          1
	Skipped tests:        0
	Expected failures:    0
	Unexpected successes: 0

This works fine on CUDA and cpu. We've printed L and Q and they are correct. The solve fails, even though the analysis and the factorization seem fine.

The output is consistent with no solve happening for x (this is just the rhs).

@kswirydo @pelesh

Re::Solve version

adham/hykkt-cholesky

System and environment details

HIP, Frontier

Additional information

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions