Skip to content
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

ROCm v6.2.4 #4477

Draft
wants to merge 41 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
739f84a
rocm-llvm: Update to v6.2.4
GZGavinZhao Nov 27, 2024
dc1192c
hsakmt: Update to v6.2.4
GZGavinZhao Nov 27, 2024
d0a1c77
rocm-cmake: Update to v6.2.4
GZGavinZhao Nov 27, 2024
996bf09
rocm-device-libs: Update to v6.2.4
GZGavinZhao Nov 27, 2024
53e97b4
rocm-compilersupport: Update to v6.2.4
GZGavinZhao Nov 27, 2024
5777623
fixup! rocm-compilersupport: Update to v6.2.4
GZGavinZhao Nov 27, 2024
af75ef1
rocm-runtime: Update to v6.2.4
GZGavinZhao Nov 27, 2024
2e7600c
hsa-amd-aqlprofile: update to v6.2.0
GZGavinZhao Nov 27, 2024
452509c
rocm-core: Update to v6.2.4
GZGavinZhao Nov 27, 2024
a8752bc
rocprofiler-register: Add at v6.2.4
GZGavinZhao Nov 27, 2024
08e88d7
rocm-clr: Update to v6.2.4
GZGavinZhao Nov 27, 2024
8956c5a
rocm-hip: Remove after merge into rocm-clr
GZGavinZhao Nov 27, 2024
197fab2
rocm-opencl: Remove after merge into rocm-clr
GZGavinZhao Nov 27, 2024
b280990
rocprim: Update to v3.2.2 (ROCm v6.2.4)
GZGavinZhao Nov 27, 2024
69c7ed0
rocprofiler: Update to v6.2.4
GZGavinZhao Nov 27, 2024
db4e2f9
roctracer: Update to v6.2.4
GZGavinZhao Nov 28, 2024
7bbbb88
rocblas: Update to v4.2.4 (ROCm v6.2.4)
GZGavinZhao Nov 28, 2024
04d24fe
rocfft: Update to v1.0.30 (ROCm v6.2.4)
GZGavinZhao Nov 29, 2024
2346ee7
fixup! rocfft: Update to v1.0.30 (ROCm v6.2.4)
GZGavinZhao Nov 29, 2024
60607b4
rocsparse: Update to v3.2.1 (ROCm v6.2.4)
GZGavinZhao Nov 29, 2024
1d23b50
hipfft: Update to v1.0.16 (ROCm v6.2.4)
GZGavinZhao Nov 29, 2024
7d232e1
composable-kernel: Update to v6.2.4
GZGavinZhao Dec 1, 2024
95e0420
rocsolver: Update to v3.26.2 (ROCm v6.2.4)
GZGavinZhao Dec 1, 2024
7bbdbf7
hipsolver: Update to v2.2.0 (ROCm v6.2.4)
GZGavinZhao Dec 3, 2024
ad28bba
hipblas: Update to v2.2.0 (ROCm v6.2.4)
GZGavinZhao Dec 3, 2024
9543283
hipSPARSE: Update to v3.1.1 (ROCm v6.2.4)
GZGavinZhao Dec 3, 2024
f5cee65
hipcub: Update to v3.2.1 (ROCm v6.2.4)
GZGavinZhao Dec 3, 2024
7b0be3d
rocRAND: Update to v3.1.1 (ROCm v6.2.4)
GZGavinZhao Dec 4, 2024
4d47283
fixup! composable-kernel: Update to v6.2.4
GZGavinZhao Dec 4, 2024
fde1ece
rocMLIR: Update to v6.2.4
GZGavinZhao Dec 5, 2024
8ceae09
fixup! fixup! composable-kernel: Update to v6.2.4
GZGavinZhao Dec 5, 2024
668709c
fixup! fixup! fixup! composable-kernel: Update to v6.2.4
GZGavinZhao Dec 5, 2024
1fa4321
miopen: Update to v3.2.0 (ROCm v6.2.4)
GZGavinZhao Dec 5, 2024
8ae7fca
hiprand: Update to v2.11.1 (ROCm v6.2.4)
GZGavinZhao Dec 5, 2024
f2ab1d6
rocm-hipify: Update to v6.2.4
GZGavinZhao Dec 9, 2024
55bedcb
hipmagma: Update to v2.8.0 and rebuild against ROCm v6.2.4
GZGavinZhao Dec 9, 2024
f42d9d1
rccl: Update to v2.20.5 (ROCm v6.2.4)
GZGavinZhao Dec 9, 2024
c138ceb
rocm-info: Update to v6.2.4
GZGavinZhao Dec 9, 2024
90b8439
rocm-smi: Update to v6.2.4
GZGavinZhao Dec 9, 2024
5eb72b6
rocthrust: Update to v3.1.1 (ROCm v6.2.4)
GZGavinZhao Dec 9, 2024
9716589
hipblaslt: Add at v0.8.0 (ROCm v6.2.4)
GZGavinZhao Dec 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,496 changes: 1,355 additions & 141 deletions packages/c/composable-kernel/abi_symbols

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion packages/c/composable-kernel/abi_used_libs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
libamdhip64.so.6
libc.so.6
libgcc_s.so.1
libm.so.6
libstdc++.so.6
16 changes: 12 additions & 4 deletions packages/c/composable-kernel/abi_used_symbols
Original file line number Diff line number Diff line change
Expand Up @@ -22,30 +22,34 @@ libamdhip64.so.6:hipMemset
libamdhip64.so.6:hipMemsetAsync
libamdhip64.so.6:hipOccupancyMaxActiveBlocksPerMultiprocessor
libc.so.6:__cxa_atexit
libc.so.6:__cxa_finalize
libc.so.6:__errno_location
libc.so.6:__isoc23_strtol
libc.so.6:getenv
libc.so.6:isalpha
libc.so.6:memcmp
libc.so.6:memcpy
libc.so.6:memmove
libc.so.6:memset
libc.so.6:printf
libc.so.6:puts
libc.so.6:strlen
libc.so.6:tolower
libgcc_s.so.1:_Unwind_Resume
libgcc_s.so.1:__deregister_frame_info
libgcc_s.so.1:__register_frame_info
libstdc++.so.6:_ZNKSt5ctypeIcE13_M_widen_initEv
libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4findEcm
libstdc++.so.6:_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv
libstdc++.so.6:_ZNSo3putEc
libstdc++.so.6:_ZNSo5flushEv
libstdc++.so.6:_ZNSo9_M_insertIbEERSoT_
libstdc++.so.6:_ZNSo9_M_insertIdEERSoT_
libstdc++.so.6:_ZNSo9_M_insertImEERSoT_
libstdc++.so.6:_ZNSolsEi
libstdc++.so.6:_ZNSt13runtime_errorC1EPKc
libstdc++.so.6:_ZNSt13runtime_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
libstdc++.so.6:_ZNSt13runtime_errorD1Ev
libstdc++.so.6:_ZNSt6localeD1Ev
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructEmc
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7reserveEm
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_
libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm
Expand All @@ -57,7 +61,9 @@ libstdc++.so.6:_ZNSt8ios_baseD2Ev
libstdc++.so.6:_ZSt11_Hash_bytesPKvmm
libstdc++.so.6:_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
libstdc++.so.6:_ZSt16__throw_bad_castv
libstdc++.so.6:_ZSt18_Rb_tree_decrementPKSt18_Rb_tree_node_base
libstdc++.so.6:_ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
libstdc++.so.6:_ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base
libstdc++.so.6:_ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base
libstdc++.so.6:_ZSt19__throw_logic_errorPKc
libstdc++.so.6:_ZSt20__throw_length_errorPKc
Expand All @@ -67,7 +73,9 @@ libstdc++.so.6:_ZSt24__throw_invalid_argumentPKc
libstdc++.so.6:_ZSt24__throw_out_of_range_fmtPKcz
libstdc++.so.6:_ZSt28__throw_bad_array_new_lengthv
libstdc++.so.6:_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_
libstdc++.so.6:_ZSt4cerr
libstdc++.so.6:_ZSt4cout
libstdc++.so.6:_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_
libstdc++.so.6:_ZSt9terminatev
libstdc++.so.6:_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc
libstdc++.so.6:_ZTISt13runtime_error
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
From b5b20e472e7511be93773fb763f5f09e10884a89 Mon Sep 17 00:00:00 2001
From: Gavin Zhao <[email protected]>
Date: Thu, 28 Nov 2024 11:44:00 -0500
Subject: [PATCH 1/4] Add ck_ prefix to library names to prevent conflicts

Signed-off-by: Gavin Zhao <[email protected]>
---
library/src/tensor_operation_instance/gpu/CMakeLists.txt | 6 ++++++
library/src/utility/CMakeLists.txt | 2 ++
2 files changed, 8 insertions(+)

diff --git a/library/src/tensor_operation_instance/gpu/CMakeLists.txt b/library/src/tensor_operation_instance/gpu/CMakeLists.txt
index 05b8c035c..b700f5582 100644
--- a/library/src/tensor_operation_instance/gpu/CMakeLists.txt
+++ b/library/src/tensor_operation_instance/gpu/CMakeLists.txt
@@ -222,6 +222,7 @@ if(CK_DEVICE_OTHER_INSTANCES)
add_library(device_other_operations STATIC ${CK_DEVICE_OTHER_INSTANCES})
add_library(composablekernels::device_other_operations ALIAS device_other_operations)
set_target_properties(device_other_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
+ set_target_properties(device_other_operations PROPERTIES OUTPUT_NAME ck_device_other_operations)
target_include_directories(device_other_operations PUBLIC
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck/utility>
@@ -254,6 +255,7 @@ if(CK_DEVICE_GEMM_INSTANCES)
add_library(composablekernels::device_gemm_operations ALIAS device_gemm_operations)
target_compile_features(device_gemm_operations PUBLIC)
set_target_properties(device_gemm_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
+ set_target_properties(device_gemm_operations PROPERTIES OUTPUT_NAME ck_device_gemm_operations)
target_include_directories(device_gemm_operations PUBLIC
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck/library/tensor_operation_instance/gpu>
)
@@ -270,6 +272,7 @@ if(CK_DEVICE_CONV_INSTANCES)
add_library(composablekernels::device_conv_operations ALIAS device_conv_operations)
target_compile_features(device_conv_operations PUBLIC)
set_target_properties(device_conv_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
+ set_target_properties(device_conv_operations PROPERTIES OUTPUT_NAME ck_device_conv_operations)
target_include_directories(device_conv_operations PUBLIC
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck/library/tensor_operation_instance/gpu>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck/library/tensor_operation_instance/gpu/conv_tensor_rearrange>
@@ -290,6 +293,7 @@ if(CK_DEVICE_MHA_INSTANCES)
add_library(composablekernels::device_mha_operations ALIAS device_mha_operations)
target_compile_features(device_mha_operations PUBLIC)
set_target_properties(device_mha_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
+ set_target_properties(device_mha_operations PROPERTIES OUTPUT_NAME ck_device_mha_operations)
target_include_directories(device_mha_operations PUBLIC
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck/library/tensor_operation_instance/gpu/mha>
)
@@ -306,6 +310,7 @@ if(CK_DEVICE_CONTRACTION_INSTANCES)
add_library(composablekernels::device_contraction_operations ALIAS device_contraction_operations)
target_compile_features(device_contraction_operations PUBLIC)
set_target_properties(device_contraction_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
+ set_target_properties(device_contraction_operations PROPERTIES OUTPUT_NAME ck_device_contraction_operations)
target_include_directories(device_contraction_operations PUBLIC
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck/library/tensor_operation_instance/gpu>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck/library/tensor_operation_instance/gpu/contraction>
@@ -323,6 +328,7 @@ if(CK_DEVICE_REDUCTION_INSTANCES)
add_library(composablekernels::device_reduction_operations ALIAS device_reduction_operations)
target_compile_features(device_reduction_operations PUBLIC)
set_target_properties(device_reduction_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
+ set_target_properties(device_reduction_operations PROPERTIES OUTPUT_NAME ck_device_reduction_operations)
target_include_directories(device_reduction_operations PUBLIC
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck/library/tensor_operation_instance/gpu/reduce>
)
diff --git a/library/src/utility/CMakeLists.txt b/library/src/utility/CMakeLists.txt
index 296e6c993..e7a378b8d 100644
--- a/library/src/utility/CMakeLists.txt
+++ b/library/src/utility/CMakeLists.txt
@@ -15,6 +15,8 @@ if(WIN32)
target_compile_definitions(utility PUBLIC NOMINMAX)
endif()

+set_target_properties(utility PROPERTIES OUTPUT_NAME ck_utility)
+
rocm_install(
TARGETS utility
EXPORT utilityTargets
--
2.47.0

Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
From babae171c02af602fee06f396139e30ffed25985 Mon Sep 17 00:00:00 2001
From: Gavin Zhao <[email protected]>
Date: Thu, 28 Nov 2024 11:56:12 -0500
Subject: [PATCH 2/4] Allow compilation for RDNA1 (__gfx101__)

Signed-off-by: Gavin Zhao <[email protected]>
---
include/ck/ck.hpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/ck/ck.hpp b/include/ck/ck.hpp
index 32eea551f..947dfda32 100644
--- a/include/ck/ck.hpp
+++ b/include/ck/ck.hpp
@@ -75,7 +75,7 @@ CK_DECLARE_ENV_VAR_BOOL(CK_LOGGING)
#define CK_BUFFER_RESOURCE_3RD_DWORD -1
#elif defined(__gfx803__) || defined(__gfx900__) || defined(__gfx906__) || defined(__gfx9__)
#define CK_BUFFER_RESOURCE_3RD_DWORD 0x00020000
-#elif defined(__gfx103__)
+#elif defined(__gfx101__) || defined(__gfx103__)
#define CK_BUFFER_RESOURCE_3RD_DWORD 0x31014000
#elif defined(__gfx11__)
#define CK_BUFFER_RESOURCE_3RD_DWORD 0x31004000
@@ -83,12 +83,12 @@ CK_DECLARE_ENV_VAR_BOOL(CK_LOGGING)

// FMA instruction
#ifndef __HIP_DEVICE_COMPILE__ // for host code, define nothing
-#elif defined(__gfx803__) || defined(__gfx900__) // for GPU code
-#define CK_USE_AMD_V_MAC_F32
-#elif defined(__gfx906__) || defined(__gfx9__) || defined(__gfx103__) // for GPU code
+#elif defined(__gfx906__) || defined(__gfx9__) || defined(__gfx103__) || defined(__gfx1011__) || defined(__gfx1012__) // for GPU code
#define CK_USE_AMD_V_FMAC_F32
#define CK_USE_AMD_V_DOT2_F32_F16
#define CK_USE_AMD_V_DOT4_I32_I8
+#elif defined(__gfx803__) || defined(__gfx900__) || defined(__gfx101__) // for GPU code
+#define CK_USE_AMD_V_MAC_F32
#elif defined(__gfx11__)
#define CK_USE_AMD_V_FMAC_F32
#define CK_USE_AMD_V_DOT2_F32_F16
--
2.47.0

Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
From e42461b32936c76e171d57b28cea034085850367 Mon Sep 17 00:00:00 2001
From: Gavin Zhao <[email protected]>
Date: Thu, 28 Nov 2024 11:58:37 -0500
Subject: [PATCH 3/4] Allow building as shared libs

Signed-off-by: Gavin Zhao <[email protected]>
---
.../src/tensor_operation_instance/gpu/CMakeLists.txt | 12 ++++++------
library/src/utility/CMakeLists.txt | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/library/src/tensor_operation_instance/gpu/CMakeLists.txt b/library/src/tensor_operation_instance/gpu/CMakeLists.txt
index b700f5582..e1c26d12e 100644
--- a/library/src/tensor_operation_instance/gpu/CMakeLists.txt
+++ b/library/src/tensor_operation_instance/gpu/CMakeLists.txt
@@ -219,7 +219,7 @@ ENDFOREACH()


if(CK_DEVICE_OTHER_INSTANCES)
- add_library(device_other_operations STATIC ${CK_DEVICE_OTHER_INSTANCES})
+ add_library(device_other_operations ${CK_DEVICE_OTHER_INSTANCES})
add_library(composablekernels::device_other_operations ALIAS device_other_operations)
set_target_properties(device_other_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
set_target_properties(device_other_operations PROPERTIES OUTPUT_NAME ck_device_other_operations)
@@ -251,7 +251,7 @@ if(CK_DEVICE_OTHER_INSTANCES)
)
endif()
if(CK_DEVICE_GEMM_INSTANCES)
- add_library(device_gemm_operations STATIC ${CK_DEVICE_GEMM_INSTANCES})
+ add_library(device_gemm_operations ${CK_DEVICE_GEMM_INSTANCES})
add_library(composablekernels::device_gemm_operations ALIAS device_gemm_operations)
target_compile_features(device_gemm_operations PUBLIC)
set_target_properties(device_gemm_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
@@ -268,7 +268,7 @@ if(CK_DEVICE_GEMM_INSTANCES)
)
endif()
if(CK_DEVICE_CONV_INSTANCES)
- add_library(device_conv_operations STATIC ${CK_DEVICE_CONV_INSTANCES})
+ add_library(device_conv_operations ${CK_DEVICE_CONV_INSTANCES})
add_library(composablekernels::device_conv_operations ALIAS device_conv_operations)
target_compile_features(device_conv_operations PUBLIC)
set_target_properties(device_conv_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
@@ -289,7 +289,7 @@ if(CK_DEVICE_CONV_INSTANCES)
)
endif()
if(CK_DEVICE_MHA_INSTANCES)
- add_library(device_mha_operations STATIC ${CK_DEVICE_MHA_INSTANCES})
+ add_library(device_mha_operations ${CK_DEVICE_MHA_INSTANCES})
add_library(composablekernels::device_mha_operations ALIAS device_mha_operations)
target_compile_features(device_mha_operations PUBLIC)
set_target_properties(device_mha_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
@@ -306,7 +306,7 @@ if(CK_DEVICE_MHA_INSTANCES)
)
endif()
if(CK_DEVICE_CONTRACTION_INSTANCES)
- add_library(device_contraction_operations STATIC ${CK_DEVICE_CONTRACTION_INSTANCES})
+ add_library(device_contraction_operations ${CK_DEVICE_CONTRACTION_INSTANCES})
add_library(composablekernels::device_contraction_operations ALIAS device_contraction_operations)
target_compile_features(device_contraction_operations PUBLIC)
set_target_properties(device_contraction_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
@@ -324,7 +324,7 @@ if(CK_DEVICE_CONTRACTION_INSTANCES)
)
endif()
if(CK_DEVICE_REDUCTION_INSTANCES)
- add_library(device_reduction_operations STATIC ${CK_DEVICE_REDUCTION_INSTANCES})
+ add_library(device_reduction_operations ${CK_DEVICE_REDUCTION_INSTANCES})
add_library(composablekernels::device_reduction_operations ALIAS device_reduction_operations)
target_compile_features(device_reduction_operations PUBLIC)
set_target_properties(device_reduction_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
diff --git a/library/src/utility/CMakeLists.txt b/library/src/utility/CMakeLists.txt
index e7a378b8d..62fe1d224 100644
--- a/library/src/utility/CMakeLists.txt
+++ b/library/src/utility/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_library(utility STATIC
+add_library(utility
device_memory.cpp
host_tensor.cpp
convolution_parameter.cpp
--
2.47.0

Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
From 1e84a973b5df0d055547e99c37d78dc72c2be9f2 Mon Sep 17 00:00:00 2001
From: Gavin Zhao <[email protected]>
Date: Wed, 4 Dec 2024 22:56:54 -0500
Subject: [PATCH 4/4] Add SOVERSION to libraries

Signed-off-by: Gavin Zhao <[email protected]>
---
.../gpu/CMakeLists.txt | 24 +++++++++++++++++++
library/src/utility/CMakeLists.txt | 4 ++++
2 files changed, 28 insertions(+)

diff --git a/library/src/tensor_operation_instance/gpu/CMakeLists.txt b/library/src/tensor_operation_instance/gpu/CMakeLists.txt
index e1c26d12e..919cc8dc3 100644
--- a/library/src/tensor_operation_instance/gpu/CMakeLists.txt
+++ b/library/src/tensor_operation_instance/gpu/CMakeLists.txt
@@ -223,6 +223,10 @@ if(CK_DEVICE_OTHER_INSTANCES)
add_library(composablekernels::device_other_operations ALIAS device_other_operations)
set_target_properties(device_other_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
set_target_properties(device_other_operations PROPERTIES OUTPUT_NAME ck_device_other_operations)
+ set_target_properties(device_other_operations
+ PROPERTIES
+ VERSION ${CMAKE_PROJECT_VERSION}
+ SOVERSION ${CMAKE_PROJECT_VERSION_MAJOR})
target_include_directories(device_other_operations PUBLIC
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck/utility>
@@ -256,6 +260,10 @@ if(CK_DEVICE_GEMM_INSTANCES)
target_compile_features(device_gemm_operations PUBLIC)
set_target_properties(device_gemm_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
set_target_properties(device_gemm_operations PROPERTIES OUTPUT_NAME ck_device_gemm_operations)
+ set_target_properties(device_gemm_operations
+ PROPERTIES
+ VERSION ${CMAKE_PROJECT_VERSION}
+ SOVERSION ${CMAKE_PROJECT_VERSION_MAJOR})
target_include_directories(device_gemm_operations PUBLIC
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck/library/tensor_operation_instance/gpu>
)
@@ -273,6 +281,10 @@ if(CK_DEVICE_CONV_INSTANCES)
target_compile_features(device_conv_operations PUBLIC)
set_target_properties(device_conv_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
set_target_properties(device_conv_operations PROPERTIES OUTPUT_NAME ck_device_conv_operations)
+ set_target_properties(device_conv_operations
+ PROPERTIES
+ VERSION ${CMAKE_PROJECT_VERSION}
+ SOVERSION ${CMAKE_PROJECT_VERSION_MAJOR})
target_include_directories(device_conv_operations PUBLIC
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck/library/tensor_operation_instance/gpu>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck/library/tensor_operation_instance/gpu/conv_tensor_rearrange>
@@ -294,6 +306,10 @@ if(CK_DEVICE_MHA_INSTANCES)
target_compile_features(device_mha_operations PUBLIC)
set_target_properties(device_mha_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
set_target_properties(device_mha_operations PROPERTIES OUTPUT_NAME ck_device_mha_operations)
+ set_target_properties(device_mha_operations
+ PROPERTIES
+ VERSION ${CMAKE_PROJECT_VERSION}
+ SOVERSION ${CMAKE_PROJECT_VERSION_MAJOR})
target_include_directories(device_mha_operations PUBLIC
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck/library/tensor_operation_instance/gpu/mha>
)
@@ -311,6 +327,10 @@ if(CK_DEVICE_CONTRACTION_INSTANCES)
target_compile_features(device_contraction_operations PUBLIC)
set_target_properties(device_contraction_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
set_target_properties(device_contraction_operations PROPERTIES OUTPUT_NAME ck_device_contraction_operations)
+ set_target_properties(device_contraction_operations
+ PROPERTIES
+ VERSION ${CMAKE_PROJECT_VERSION}
+ SOVERSION ${CMAKE_PROJECT_VERSION_MAJOR})
target_include_directories(device_contraction_operations PUBLIC
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck/library/tensor_operation_instance/gpu>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck/library/tensor_operation_instance/gpu/contraction>
@@ -329,6 +349,10 @@ if(CK_DEVICE_REDUCTION_INSTANCES)
target_compile_features(device_reduction_operations PUBLIC)
set_target_properties(device_reduction_operations PROPERTIES POSITION_INDEPENDENT_CODE ON)
set_target_properties(device_reduction_operations PROPERTIES OUTPUT_NAME ck_device_reduction_operations)
+ set_target_properties(device_reduction_operations
+ PROPERTIES
+ VERSION ${CMAKE_PROJECT_VERSION}
+ SOVERSION ${CMAKE_PROJECT_VERSION_MAJOR})
target_include_directories(device_reduction_operations PUBLIC
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck/library/tensor_operation_instance/gpu/reduce>
)
diff --git a/library/src/utility/CMakeLists.txt b/library/src/utility/CMakeLists.txt
index 62fe1d224..5f87b44e3 100644
--- a/library/src/utility/CMakeLists.txt
+++ b/library/src/utility/CMakeLists.txt
@@ -6,6 +6,10 @@ add_library(utility

add_library(composable_kernel::utility ALIAS utility)
set_target_properties(utility PROPERTIES POSITION_INDEPENDENT_CODE ON)
+set_target_properties(utility
+ PROPERTIES
+ VERSION ${CMAKE_PROJECT_VERSION}
+ SOVERSION ${CMAKE_PROJECT_VERSION_MAJOR})
target_compile_options(utility PRIVATE ${CMAKE_COMPILER_WARNINGS})
target_include_directories(utility PUBLIC
"$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/ck>"
--
2.47.0

Loading
Loading