Skip to content

Bug: rocm/7.1.1 #404

@kswirydo

Description

@kswirydo

Description how to reproduce the bug

$make -j 123
[ 34%] Building CXX object resolve/matrix/CMakeFiles/resolve_matrix.dir/MatrixHandlerHip.cpp.o
/home/kswirydo/experimental/ReSolve/resolve/matrix/MatrixHandlerHip.cpp:72:5: error: use of undeclared identifier 'assert'
   72 |     assert(A->getSparseFormat() == matrix::Sparse::COMPRESSED_SPARSE_ROW && "Matrix has to be in CSR format for matrix-vector product.\n");
      |     ^
/home/kswirydo/experimental/ReSolve/resolve/matrix/MatrixHandlerHip.cpp:153:5: error: use of undeclared identifier 'assert'
  153 |     assert(A->getSparseFormat() == matrix::Sparse::COMPRESSED_SPARSE_ROW && "Matrix has to be in CSR format for matrix-vector product.\n");
      |     ^
2 errors generated when compiling for gfx942.
make[2]: *** [resolve/matrix/CMakeFiles/resolve_matrix.dir/build.make:177: resolve/matrix/CMakeFiles/resolve_matrix.dir/MatrixHandlerHip.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....

This only happens in rocm/7.1.1 but not in rocm/6.4.1
Can you please fix?

Re::Solve version

0c9f685

System and environment details

MI300X, rocm

Currently Loaded Modules:

  1. contrib-modules 2) StdEnv 3) gcc/11.3.0 4) cmake/3.31.9 5) blas/3.8.0-8 6) rocm/7.1.1

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededhip

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions