Skip to content

Commit

Permalink
renaming the macro
Browse files Browse the repository at this point in the history
  • Loading branch information
carlushuang committed Oct 23, 2023
1 parent d75aace commit fa5a598
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/solver/gemm_bwd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
MIOPEN_DECLARE_ENV_VAR(MIOPEN_CONV_PRECISE_ROCBLAS_TIMING)

#define WORKAROUND_MIOPENGEMM_ISSUE_59 1
#define WORKAROUND_MIOPENGEMM_ISSUE_2474 1
#define WORKAROUND_ISSUE_2474 1

// copy from convolution.cpp
// Workaround for issue 1430.
Expand Down Expand Up @@ -246,7 +246,7 @@ size_t GemmBwd1x1_stride2::GetWorkspaceSize(const ExecutionContext& context,
bool GemmBwd1x1_stride2::IsApplicable(const ExecutionContext& context,
const conv::ProblemDescription& problem) const
{
#if MIOPEN_USE_GEMM && !WORKAROUND_MIOPENGEMM_ISSUE_2474
#if MIOPEN_USE_GEMM && !WORKAROUND_ISSUE_2474
if(!GemmBwdBase::IsApplicable(context, problem))
return false;

Expand Down Expand Up @@ -484,7 +484,7 @@ bool GemmBwd1x1_stride1::IsApplicable(const ExecutionContext& context,
const conv::ProblemDescription& problem) const
{
#if MIOPEN_USE_GEMM && (!MIOPEN_USE_MIOPENGEMM || !WORKAROUND_MIOPENGEMM_ISSUE_59) && \
!WORKAROUND_MIOPENGEMM_ISSUE_2474
!WORKAROUND_ISSUE_2474
return IsApplicableBeforeWorkaround(context, problem);
#else
std::ignore = context;
Expand Down Expand Up @@ -684,7 +684,7 @@ size_t GemmBwdRest::GetWorkspaceSize(const ExecutionContext& context,
bool GemmBwdRest::IsApplicable(const ExecutionContext& context,
const conv::ProblemDescription& problem) const
{
#if MIOPEN_USE_GEMM && !WORKAROUND_MIOPENGEMM_ISSUE_2474
#if MIOPEN_USE_GEMM && !WORKAROUND_ISSUE_2474
if(!GemmBwdBase::IsApplicable(context, problem))
return false;

Expand Down

0 comments on commit fa5a598

Please sign in to comment.