diff --git a/src/solver/conv_hip_implicit_gemm_f16f8f16_fwd_xdlops.cpp b/src/solver/conv_hip_implicit_gemm_f16f8f16_fwd_xdlops.cpp index dcbf668d80..8c8757e1d0 100644 --- a/src/solver/conv_hip_implicit_gemm_f16f8f16_fwd_xdlops.cpp +++ b/src/solver/conv_hip_implicit_gemm_f16f8f16_fwd_xdlops.cpp @@ -44,11 +44,12 @@ namespace miopen { namespace solver { namespace conv { -using d_type = ck::half_t; -using c_type = ck::f8_t; using ProblemDescription = miopen::conv::ProblemDescription; #if MIOPEN_USE_COMPOSABLEKERNEL +using d_type = ck::half_t; +using c_type = ck::f8_t; + template using DeviceOpF8Fwd = ck::tensor_operation::device::DeviceGroupedConvFwdMultipleABD< 3, diff --git a/src/solver/conv_hip_implicit_gemm_grouped_fwd_xdlops.cpp b/src/solver/conv_hip_implicit_gemm_grouped_fwd_xdlops.cpp index e0a5f3921f..af8274db7b 100644 --- a/src/solver/conv_hip_implicit_gemm_grouped_fwd_xdlops.cpp +++ b/src/solver/conv_hip_implicit_gemm_grouped_fwd_xdlops.cpp @@ -191,7 +191,6 @@ bool ConvHipImplicitGemmGroupFwdXdlops::CheckCKApplicability( { return IsCKApplicable, CKArgs>(problem); } -#endif #if MIOPEN_ENABLE_AI_KERNEL_TUNING static std::vector GetKernelAsTokens(const std::string& kernel) @@ -285,7 +284,8 @@ bool PerformanceConfigHipImplicitGemmGroupFwdXdlops::RunParameterPredictionModel } return false; } -#endif +#endif // MIOPEN_ENABLE_AI_KERNEL_TUNING +#endif // MIOPEN_BACKEND_HIP && MIOPEN_USE_COMPOSABLEKERNEL bool PerformanceConfigHipImplicitGemmGroupFwdXdlops::IsModelApplicable( const ExecutionContext& ctx, const ProblemDescription& problem) const @@ -339,6 +339,7 @@ void PerformanceConfigHipImplicitGemmGroupFwdXdlops::HeuristicInit( bool PerformanceConfigHipImplicitGemmGroupFwdXdlops::SetNextValue(const ProblemDescription& problem) { +#if MIOPEN_USE_COMPOSABLEKERNEL if(valid_kernels.empty()) { switch(problem.GetInDataType()) @@ -362,6 +363,7 @@ bool PerformanceConfigHipImplicitGemmGroupFwdXdlops::SetNextValue(const ProblemD return true; } else +#endif return false; }