Skip to content

Commit

Permalink
fix: switch to maybe_unused for unused context
Browse files Browse the repository at this point in the history
  • Loading branch information
o2buzzle committed Apr 16, 2024
1 parent 99a9a43 commit 4871cfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/solver/pad_constant/pad_constant_fwd_contiguous.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace miopen {
namespace solver {
namespace pad_constant_fwd_contiguous {
bool PadConstantFwdContiguous::IsApplicable(
const ExecutionContext& /*context*/,
[[maybe_unused]] const ExecutionContext& context,
const miopen::pad_constant_fwd_contiguous::ProblemDescription& problem) const
{
if(!problem.IsSameType())
Expand All @@ -49,7 +49,7 @@ bool PadConstantFwdContiguous::IsApplicable(
}

ConvSolution PadConstantFwdContiguous::GetSolution(
const ExecutionContext& /*context*/,
[[maybe_unused]] const ExecutionContext& context,
const miopen::pad_constant_fwd_contiguous::ProblemDescription& problem) const
{
auto result = ConvSolution{miopenStatusSuccess};
Expand Down

0 comments on commit 4871cfd

Please sign in to comment.