-
Notifications
You must be signed in to change notification settings - Fork 97
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 3.0.2 for ROCm 6.0 breaking changes #2095
Comments
It seems these issues have already been solved in the current It may be worth noting that the example on goes through all three stages The current fix
omits the
Also not that I've just introduced PR #2100 to fix a minor issue with compiling when both rocsparse and mkl are enabled. |
On the Trilinos, these fixes are being incorporated in trilinos/Trilinos#12681 (holdover until a new KK snapshot goes in), though there are a couple other ROCm fixes going in that PR at the same time. |
The kokkos-kernels snapshot to Trilinos PR trilinos/Trilinos#12707 has merged as well as trilinos/Trilinos#12681 , thanks for the fixes @seanofthemillers ! |
It appears that
rocSPARSE
3.0.2 that comes withROCm
6.0 makes changes that break things inKokkos-kernels
.As compared with
ROCm
5.7, the filerocm_version.h
is now moved to a subfolderrocm-core
of ROCm's include dir. Potential solutions could be either including this folder as an include directory or modifying lineskokkos-kernels/sparse/src/KokkosSparse_Utils_rocsparse.hpp
Line 24 in f429f6e
kokkos-kernels/sparse/tpls/KokkosSparse_spmv_tpl_spec_decl.hpp
Line 361 in f429f6e
A more challenging change is that certain enumerators for algorithms have been changed. For instance,
rocsparse_spmv_stage_auto
is no longer defined. And so it seems it becomes necessary to specify explicitly the stages in lineskokkos-kernels/sparse/tpls/KokkosSparse_spmv_tpl_spec_decl.hpp
Lines 444 to 451 in f429f6e
but these stages appear to depend on the algorithm.
Compilation ends with an error on these lines involving
rocsparse_spmv_stage_auto
. I am unsure how to solve the issue, and so I haven't been able to try out the compilation beyond this problem. It's possible there might be more issues to solve to make things work with the updated ROCm.The text was updated successfully, but these errors were encountered: