mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-06-28 18:56:59 +00:00
17 lines
771 B
CMake
17 lines
771 B
CMake
@PACKAGE_INIT@
|
|
|
|
set(_composable_kernel_supported_components device_other_operations device_gemm_operations device_conv_operations device_mha_operations device_contraction_operations device_reduction_operations utility jit_library)
|
|
|
|
foreach(_comp ${composable_kernel_FIND_COMPONENTS})
|
|
if(NOT _comp IN_LIST _composable_kernel_supported_components)
|
|
set(composable_kernel_FOUND False)
|
|
set(composable_kernel_NOT_FOUND_MESSAGE "Unsupported component: ${_comp}")
|
|
endif()
|
|
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/composable_kernel${_comp}Targets.cmake")
|
|
include("${CMAKE_CURRENT_LIST_DIR}/composable_kernel${_comp}Targets.cmake")
|
|
else()
|
|
set(composable_kernel_FOUND False)
|
|
set(composable_kernel_NOT_FOUND_MESSAGE "Unsupported component: ${_comp}")
|
|
endif()
|
|
endforeach()
|