# device_cgemm_instance
set(DEVICE_CGEMM_INSTANCE_SOURCE
   device_cgemm_4gemm_xdl_c_shuffle_bf16_bf16_bf16_mk_kn_mn_instance.cpp;
   device_cgemm_4gemm_xdl_c_shuffle_bf16_bf16_bf16_mk_nk_mn_instance.cpp;
   device_cgemm_4gemm_xdl_c_shuffle_bf16_bf16_bf16_km_kn_mn_instance.cpp;
   device_cgemm_4gemm_xdl_c_shuffle_bf16_bf16_bf16_km_nk_mn_instance.cpp;
   device_cgemm_4gemm_xdl_c_shuffle_f16_f16_f16_mk_kn_mn_instance.cpp;
   device_cgemm_4gemm_xdl_c_shuffle_f16_f16_f16_mk_nk_mn_instance.cpp;
   device_cgemm_4gemm_xdl_c_shuffle_f16_f16_f16_km_kn_mn_instance.cpp;
   device_cgemm_4gemm_xdl_c_shuffle_f16_f16_f16_km_nk_mn_instance.cpp;
   device_cgemm_4gemm_xdl_c_shuffle_f32_f32_f32_mk_kn_mn_instance.cpp;
   device_cgemm_4gemm_xdl_c_shuffle_f32_f32_f32_mk_nk_mn_instance.cpp;
   device_cgemm_4gemm_xdl_c_shuffle_f32_f32_f32_km_kn_mn_instance.cpp;
   device_cgemm_4gemm_xdl_c_shuffle_f32_f32_f32_km_nk_mn_instance.cpp;
)

add_library(device_cgemm_instance SHARED ${DEVICE_CGEMM_INSTANCE_SOURCE})

target_compile_features(device_cgemm_instance PUBLIC)
set_target_properties(device_cgemm_instance PROPERTIES POSITION_INDEPENDENT_CODE ON)
install(TARGETS device_cgemm_instance LIBRARY DESTINATION lib)

clang_tidy_check(device_cgemm_instance)
