[HotFix] pass XDL and WMMA macros to libs that use CK (#1234)

[ROCm/composable_kernel commit: d7f05fb996]
This commit is contained in:
Illia Silin
2024-04-11 16:40:45 -07:00
committed by GitHub
parent 36e4675cc5
commit 7b8026faa9

View File

@@ -104,6 +104,20 @@
#cmakedefine CK_ENABLE_INSTANCES_ONLY @CK_ENABLE_INSTANCES_ONLY@
#endif
//
// CK kernels which support XDL (MI series)
//
#ifndef CK_USE_XDL
#cmakedefine CK_USE_XDL @CK_USE_XDL@
#endif
//
// CK Kernels which support WMMA (recent Navi series)
//
#ifndef CK_USE_WMMA
#cmakedefine CK_USE_WMMA @CK_USE_WMMA@
#endif
// clang-format on
#endif // CK_CONFIG_H_IN