You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
naturally /opt/rocm/lib/cmake/composable_kernel/composable_kerneldevice_mha_operationsTargets.cmak is *NOT generated because the platform does not yet fully support MHA operations.
However, when we try to build other libraries which depends on CK, e.g. MIOpen, we will observe the following error:
CMake Error at /opt/rocm/lib/cmake/composable_kernel/composable_kernelConfig.cmake:24 (include):
include could not find requested file:
/opt/rocm/lib/cmake/composable_kernel/composable_kerneldevice_mha_operationsTargets.cmake
Call Stack (most recent call first):
CMakeLists.txt:330 (find_package)
[Reproduce Steps]: listed above
[Analysis]:
when building CK for specific platforms such as gfx1100:
The problem with not only in _composable_kernel_supported_components. Sometimes some generic component is supported, but depending on GPU arch set some functions (namely, xdl functions on offload targets != gfx9xx) are missing in static library.
Given that, I don't see a solution purely on composable_kernel side. So for now I added 2 patches:
[Observations]:
when building CK for specific platforms such as
gfx1100
:naturally
/opt/rocm/lib/cmake/composable_kernel/composable_kerneldevice_mha_operationsTargets.cmak
is *NOT generated because the platform does not yet fully support MHA operations.However, when we try to build other libraries which depends on CK, e.g. MIOpen, we will observe the following error:
[Reproduce Steps]: listed above
[Analysis]:
when building CK for specific platforms such as
gfx1100
:this generated file
build/composable_kernelConfig.cmake
Apparently, the
_composable_kernel_supported_components
needs to be adjusted according to build parameters.The text was updated successfully, but these errors were encountered: