Skip to content

Commit

Permalink
[Workaround] Issue 2496 - disabling the unit test case in wrw solver (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
carlushuang authored Nov 2, 2023
1 parent 454d0f8 commit 73a3710
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/solver/conv_asm_implicit_gemm_gtc_wrw_nhwc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ MIOPEN_DECLARE_ENV_VAR(MIOPEN_DEBUG_CONV_IMPLICIT_GEMM_ASM_WRW_GTC_XDLOPS_NHWC)
MIOPEN_DECLARE_ENV_VAR(MIOPEN_DEBUG_CONV_IMPLICIT_GEMM_ASM_PK_ATOMIC_ADD_FP16)

#define WRW_MAX_GEMM_K_SPLITS 10
#define WORKAROUND_ISSUE_2496 1

namespace miopen {
namespace solver {
Expand Down Expand Up @@ -852,6 +853,13 @@ bool ConvAsmImplicitGemmGTCDynamicWrwXdlopsNHWC::IsApplicable(
return false;
#endif

#if WORKAROUND_ISSUE_2496
if(problem.GetInChannels_() == 3 && problem.GetOutChannels_() == 1 &&
problem.GetInHeight_() == 3 && problem.GetInWidth_() == 3 &&
problem.GetWeightsHeight_() == 1 && problem.GetWeightsWidth_() == 1)
return false;
#endif

const auto device_name = ctx.GetStream().GetDeviceName();
if((device_name != "gfx908") && (device_name != "gfx90a") &&
(!StartsWith(device_name, "gfx94")))
Expand Down

0 comments on commit 73a3710

Please sign in to comment.