mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-06-29 19:28:33 +00:00
[CK] add composable kernel support on gfx1250 (#6978) ## Motivation Add composable kernel support on gfx1250. ## Technical Details <!-- Explain the changes along with any relevant GitHub links. --> ## Test Plan <!-- Explain any relevant testing done to verify this PR. --> ## Test Result <!-- Briefly summarize test outcomes. --> ## Submission Checklist - [ ] Look over the contributing guidelines at https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests. --------- Co-authored-by: Qun Lin <qlin@amd.com> Co-authored-by: jialuo12_amdeng <jia.luo@amd.com> Co-authored-by: Andriy Roshchenko <andriy.roshchenko@amd.com> Co-authored-by: hsivasun_amdeng <haresh.sivasuntharampillai@amd.com>
38 lines
1.5 KiB
CMake
38 lines
1.5 KiB
CMake
# Copyright (c) Advanced Micro Devices, Inc., or its affiliates.
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
add_test_executable(test_gemm_fp32 gemm_fp32.cpp)
|
|
if(result EQUAL 0)
|
|
target_link_libraries(test_gemm_fp32 PRIVATE utility device_gemm_instance)
|
|
endif()
|
|
add_test_executable(test_gemm_fp16 gemm_fp16.cpp)
|
|
if(result EQUAL 0)
|
|
target_link_libraries(test_gemm_fp16 PRIVATE utility device_gemm_instance)
|
|
add_library(gemm_standalone_xdl_fp16_instances STATIC
|
|
instance/gemm_f16_nn_instance.cpp
|
|
instance/gemm_f16_nt_instance.cpp
|
|
instance/gemm_f16_tn_instance.cpp
|
|
instance/gemm_wavelet_f16_tn_instance.cpp
|
|
instance/gemm_f16_tt_instance.cpp
|
|
)
|
|
endif()
|
|
add_test_executable(test_gemm_standalone_xdl_fp16 gemm_standalone_xdl_fp16.cpp)
|
|
if(result EQUAL 0)
|
|
target_link_libraries(test_gemm_standalone_xdl_fp16 PRIVATE gemm_standalone_xdl_fp16_instances utility)
|
|
target_include_directories(test_gemm_standalone_xdl_fp16 PRIVATE instance/)
|
|
endif()
|
|
add_test_executable(test_gemm_bf16 gemm_bf16.cpp)
|
|
if(result EQUAL 0)
|
|
target_link_libraries(test_gemm_bf16 PRIVATE utility device_gemm_instance)
|
|
endif()
|
|
add_test_executable(test_gemm_int8 gemm_int8.cpp)
|
|
if(result EQUAL 0)
|
|
target_link_libraries(test_gemm_int8 PRIVATE utility device_gemm_instance)
|
|
endif()
|
|
|
|
add_gtest_executable(test_gemm_vgpr test_gemm_vgpr.cpp)
|
|
if(result EQUAL 0)
|
|
target_link_libraries(test_gemm_vgpr PRIVATE utility)
|
|
target_compile_options(test_gemm_vgpr PRIVATE "SHELL: -Rpass-analysis=kernel-resource-usage ")
|
|
endif()
|