Merge pull request #4903 from blattms/fix-debian-bookworm-rocblas

[cmake] Always demand rocblas to be there when activating rocsparse
This commit is contained in:
Markus Blatt
2023-10-06 11:41:58 +02:00
committed by GitHub

View File

@@ -292,12 +292,11 @@ macro (files_hook)
unset(ROCALUTION_FOUND)
unset(HAVE_ROCALUTION)
endif()
endif()
if(rocsparse_FOUND AND rocblas_FOUND)
set(HAVE_ROCSPARSE 1)
else()
if(rocsparse_FOUND AND rocblas_FOUND)
set(HAVE_ROCSPARSE 1)
else()
unset(HAVE_ROCSPARSE)
endif()
unset(HAVE_ROCSPARSE)
endif()
if(ROCALUTION_FOUND)
set(HAVE_ROCALUTION 1)