Closed superwhiskers closed 4 weeks ago
- documents a deficiency in the Csc class
@superwhiskers, please create a separate issue rather than adding comments to the code.
It seems that changes to CMake caused GPU builds to break. An example error message looks like:
[ 34%] Building CXX object resolve/matrix/CMakeFiles/resolve_matrix.dir/MatrixHandlerHip.cpp.o
/ccs/home/peles/src/resolve/resolve/resolve/matrix/MatrixHandlerHip.cpp:58:18: error: no matching function for call to 'rocsparse_dcsrmv_analysis'
status = rocsparse_dcsrmv_analysis(handle_rocsparse,
^~~~~~~~~~~~~~~~~~~~~~~~~
/opt/rocm-5.6.0/include/rocsparse/rocsparse-functions.h:3387:18: note: candidate function not viable: no known conversion from 'index_type *' (aka 'long *') to 'const rocsparse_int *' (aka 'const int *') for 8th argument
rocsparse_status rocsparse_dcsrmv_analysis(rocsparse_handle handle,
I'll investigate more.
@superwhiskers, I tested this branch and everything looks good. I fixed a couple of minor build warnings in PR #156. I will merge this PR after #156 is merged.