mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-18 03:49:41 +00:00
Optimize docker file. (#1679)
* reduce the docker image size and layers
* clean up docker file
* fix linker error for client example 24
* install CK into the default /opt/rocm/ path
* restore installing CK to alternative path in CI
* add linking for utility lib
[ROCm/composable_kernel commit: d31e8249c1]
This commit is contained in:
@@ -54,7 +54,7 @@ target_link_libraries(client_conv3d_fwd_convscale_relu_amax_fp8
|
||||
PRIVATE composable_kernel::device_conv_operations
|
||||
composable_kernel::device_other_operations
|
||||
composable_kernel::device_reduction_operations
|
||||
utility)
|
||||
composable_kernel::utility)
|
||||
# Fwd convscale + AMAX
|
||||
add_executable(client_conv3d_fwd_convscale_amax_fp8
|
||||
grouped_convnd_fwd_convscale_reduce/conv3d_fwd_convscale_amax_fp8.cpp)
|
||||
@@ -62,7 +62,7 @@ target_link_libraries(client_conv3d_fwd_convscale_amax_fp8
|
||||
PRIVATE composable_kernel::device_conv_operations
|
||||
composable_kernel::device_other_operations
|
||||
composable_kernel::device_reduction_operations
|
||||
utility)
|
||||
composable_kernel::utility)
|
||||
# Fwd convscale
|
||||
add_executable(client_conv3d_fwd_convscale_fp8
|
||||
grouped_convnd_fwd_convscale/conv3d_fwd_convscale_fp8.cpp)
|
||||
|
||||
@@ -62,7 +62,7 @@ else()
|
||||
set(CK_USE_WMMA "ON")
|
||||
endif()
|
||||
|
||||
find_package(composable_kernel COMPONENTS device_other_operations device_gemm_operations device_conv_operations device_reduction_operations)
|
||||
find_package(composable_kernel COMPONENTS device_other_operations device_gemm_operations device_conv_operations device_reduction_operations utility)
|
||||
if(GPU_TARGETS MATCHES "gfx9")
|
||||
find_package(composable_kernel COMPONENTS device_contraction_operations)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user