From 7d4b1719d39fe6be028681930b594d9b5028474a Mon Sep 17 00:00:00 2001 From: turneram <71655887+turneram@users.noreply.github.com> Date: Tue, 5 Dec 2023 19:23:16 -0600 Subject: [PATCH] Set MIGRAPHX_USE_COMPOSABLEKERNEL=1 in cmake (#2518) --- src/targets/gpu/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/targets/gpu/CMakeLists.txt b/src/targets/gpu/CMakeLists.txt index 74037ca00db..04a736791c9 100644 --- a/src/targets/gpu/CMakeLists.txt +++ b/src/targets/gpu/CMakeLists.txt @@ -301,6 +301,7 @@ target_link_libraries(migraphx_gpu PUBLIC migraphx MIOpen roc::rocblas) target_link_libraries(migraphx_gpu PRIVATE migraphx_device migraphx_kernels) if(MIGRAPHX_USE_COMPOSABLEKERNEL) target_link_libraries(migraphx_gpu PRIVATE composable_kernel::jit_library) + target_compile_definitions(migraphx_gpu PRIVATE MIGRAPHX_USE_COMPOSABLEKERNEL=1) endif() add_subdirectory(driver)