From 0599a4ad0f40d3b0a981d44c60bb6b50296ff672 Mon Sep 17 00:00:00 2001 From: Nico <31079890+ntrost57@users.noreply.github.com> Date: Fri, 29 Sep 2023 07:15:20 +0200 Subject: [PATCH] rocrand & cmake (#210) * updated rocrand version requirements * soversion updated to major/minor --- CMakeLists.txt | 2 +- src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9fce171e..de2081c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -157,7 +157,7 @@ endif() # Package specific CPACK vars if(SUPPORT_HIP) - rocm_package_add_dependencies(DEPENDS "hip-rocclr >= 4.0.0" "rocsparse >= 1.12.10" "rocblas >= 2.22.0" "rocrand >= 0.0.1") + rocm_package_add_dependencies(DEPENDS "hip-rocclr >= 4.0.0" "rocsparse >= 1.12.10" "rocblas >= 2.22.0" "rocrand >= 2.1.0") endif() set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md") diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 87519f38..01ee88a2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -123,7 +123,7 @@ if(SUPPORT_HIP) endif() # Target properties -rocm_set_soversion(rocalution "1.0.0") +rocm_set_soversion(rocalution "1.0") set_target_properties(rocalution PROPERTIES DEBUG_POSTFIX "-d") if(WIN32) set_target_properties(rocalution PROPERTIES CXX_VISIBILITY_PRESET "hidden" VISIBILITY_INLINES_HIDDEN ON)