mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-20 21:09:08 +00:00
Change all device operations to use add_instance_library (#338)
* Change all device operations to use add_instance_library to avoid duplicated cmake configuration.
* update DeviceMem
Co-authored-by: Chao Liu <chao.liu2@amd.com>
[ROCm/composable_kernel commit: fb1cbf025b]
This commit is contained in:
@@ -1,10 +1,3 @@
|
||||
set(DEVICE_ELEMENTWISE_INSTANCE_SOURCE
|
||||
add_instance_library(device_elementwise_instance
|
||||
device_normalize_instance.cpp
|
||||
)
|
||||
|
||||
add_instance_library(device_elementwise_instance ${DEVICE_ELEMENTWISE_INSTANCE_SOURCE})
|
||||
|
||||
target_compile_features(device_elementwise_instance PUBLIC)
|
||||
set_target_properties(device_elementwise_instance PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
clang_tidy_check(device_elementwise_instance)
|
||||
|
||||
Reference in New Issue
Block a user