From 3e9b398dc18e1b6a62cf785022d22a7d6e7129d5 Mon Sep 17 00:00:00 2001 From: atamazov Date: Thu, 21 Dec 2023 02:57:43 +0300 Subject: [PATCH] [HOTFIX] Fix build with -DMIOPEN_USE_COMPOSABLEKERNEL=Off after #2517. --- src/solver/conv_ck_igemm_fwd_bias_res_add_activ_fused.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/solver/conv_ck_igemm_fwd_bias_res_add_activ_fused.cpp b/src/solver/conv_ck_igemm_fwd_bias_res_add_activ_fused.cpp index 59700e9858..0f9c373b46 100644 --- a/src/solver/conv_ck_igemm_fwd_bias_res_add_activ_fused.cpp +++ b/src/solver/conv_ck_igemm_fwd_bias_res_add_activ_fused.cpp @@ -46,6 +46,8 @@ namespace miopen { namespace solver { namespace fusion { +#if MIOPEN_BACKEND_HIP && MIOPEN_USE_COMPOSABLEKERNEL + using CK_OutLayout = ck::tensor_layout::convolution::NDHWGK; // DataType also applies to weights @@ -67,7 +69,6 @@ using DeviceOp = ck::tensor_operation::device::instance::DeviceOperationInstance ck::tensor_operation::element_wise:: ScaleAddScaleAddRelu>>; // end DeviceOperationInstanceFactory -#if MIOPEN_BACKEND_HIP && MIOPEN_USE_COMPOSABLEKERNEL namespace { struct CKArgs