Skip to content

Commit

Permalink
Disable FP16 in ConvHipImplicitGemmV4R1Fwd for MI100/200 and all new …
Browse files Browse the repository at this point in the history
…targets.
  • Loading branch information
junliume authored Mar 24, 2023
1 parent e84170c commit 9ee84e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/solver/conv_hip_implicit_gemm_fwd_v4r1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ bool ConvHipImplicitGemmV4R1Fwd::IsApplicable(const ConvolutionContext& ctx,

#if WORKAROUND_ISSUE_2038
if(!miopen::IsEnabled(MIOPEN_DEBUG_CONV_IMPLICIT_GEMM_HIP_FWD_V4R1{}))
if(problem.IsBfp16())
if(problem.IsBfp16() || problem.IsFp16())
// Explicitly enable all currently known GPUs except xDLOPs ones, which also means that
// all new GPUs will be disabled by default.
if(!(device_name == "gfx803" || device_name == "gfx900" || device_name == "gfx906" ||
Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2069,7 +2069,7 @@ add_custom_test(smoke_solver_ConvHipImplicitGemmBwdDataV1R1 GFX103X_ENABLED TEST

# MIOPEN_DEBUG_CONV_IMPLICIT_GEMM_HIP_FWD_V4R1=1 is necessary due to WORKAROUND_iGemm_936 in Jenkinsfile,
# which disables ConvHipImplicitGemmV4R1Fwd, but we still want to check that the solver is not broken.
add_custom_test(smoke_solver_ConvHipImplicitGemmV4R1Fwd_fp32_fp16 GFX103X_ENABLED HALF_ENABLED TEST_TUNING
add_custom_test(smoke_solver_ConvHipImplicitGemmV4R1Fwd_fp32 GFX103X_ENABLED TEST_TUNING
COMMAND MIOPEN_FIND_ENFORCE=SEARCH_DB_UPDATE MIOPEN_DEBUG_TUNING_ITERATIONS_MAX=5
MIOPEN_DEBUG_CONV_IMPLICIT_GEMM_HIP_FWD_V4R1=1
MIOPEN_DEBUG_CONVOLUTION_ATTRIB_FP16_ALT_IMPL=0
Expand Down

0 comments on commit 9ee84e0

Please sign in to comment.