Skip to content
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion projects/miopen/docs/how-to/debug-log.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ Some of the solutions have individual controls, which affect both find and immed
* ``MIOPEN_DEBUG_CONV_DIRECT_OCL_FWD11X11`` -- ``ConvOclDirectFwd11x11``
* ``MIOPEN_DEBUG_CONV_DIRECT_OCL_FWDGEN`` -- ``ConvOclDirectFwdGen``
* ``MIOPEN_DEBUG_CONV_DIRECT_OCL_FWD`` -- ``ConvOclDirectFwd``
* ``MIOPEN_DEBUG_CONV_DIRECT_OCL_FWD1X1`` -- ``ConvOclDirectFwd1x1``
* ``MIOPEN_DEBUG_CONV_DIRECT_HIP_FWD1X1`` -- ``ConvHipDirectFwd1x1``
* ``MIOPEN_DEBUG_CONV_DIRECT_OCL_WRW2`` -- ``ConvOclBwdWrW2<n>`` (where n =
``{1,2,4,8,16}``) and ``ConvOclBwdWrW2NonTunable``
* ``MIOPEN_DEBUG_CONV_DIRECT_OCL_WRW53`` -- ``ConvOclBwdWrW53``
Expand Down
4 changes: 2 additions & 2 deletions projects/miopen/docs/reference/env_variables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ For more information, see :doc:`Logging and debugging <../how-to/debug-log>`.
- | 0: Disable
| 1: Enable

* - | ``MIOPEN_DEBUG_CONV_DIRECT_OCL_FWD1X1``
| Controls ConvOclDirectFwd1x1 direct solution.
* - | ``MIOPEN_DEBUG_CONV_DIRECT_HIP_FWD1X1``
| Controls ConvHipDirectFwd1x1 direct solution.
- | 0: Disable
| 1: Enable

Expand Down
6 changes: 2 additions & 4 deletions projects/miopen/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ set( MIOpen_Source
solver/conv/conv_direct_naive_conv_bwd.cpp
solver/conv/conv_direct_naive_conv_fwd.cpp
solver/conv/conv_direct_naive_conv_wrw.cpp
solver/conv/conv_hip_dir2Dfwd1x1.cpp
solver/conv/conv_hip_implicit_gemm_bwd_v1r1.cpp
solver/conv/conv_hip_implicit_gemm_bwd_v1r1_xdlops.cpp
solver/conv/conv_hip_implicit_gemm_bwd_v4r1.cpp
Expand Down Expand Up @@ -238,7 +239,6 @@ set( MIOpen_Source
solver/conv/conv_ocl_dir2D11x11.cpp
solver/conv/conv_ocl_dir2Dfwd.cpp
solver/conv/conv_ocl_dir2Dfwd_exhaustive_search.cpp
solver/conv/conv_ocl_dir2Dfwd1x1.cpp
solver/conv/conv_ocl_dir2Dfwdgen.cpp
solver/conv/conv_wino_fury_RxS.cpp
solver/conv/conv_wino_rage_RxS.cpp
Expand Down Expand Up @@ -566,9 +566,7 @@ if( MIOPEN_BACKEND MATCHES "OpenCL" OR MIOPEN_BACKEND STREQUAL "HIPOC" OR MIOPEN
kernels/MIOpenPoolingBwdND.cpp
kernels/MIOpenPoolingForwardNaive.cpp
kernels/MIOpenPoolingND.cpp
kernels/MIOpenConv1x1S.cl
kernels/MIOpenConv1x1J1.cl
kernels/MIOpenConv1x1J1_stride.cl

kernels/MIOpenReduceCalculation.cpp
kernels/MIOpenReduceExtreme.cpp
kernels/MIOpenReduceSum.cpp
Expand Down
28 changes: 2 additions & 26 deletions projects/miopen/src/fin/fin_interface.cpp
Original file line number Diff line number Diff line change
@@ -1,28 +1,5 @@
/*******************************************************************************
*
* MIT License
*
* Copyright (c) 2024 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*******************************************************************************/
// Copyright © Advanced Micro Devices, Inc., or its affiliates.
// SPDX-License-Identifier: MIT

#include <miopen/config.h>

Expand Down Expand Up @@ -286,7 +263,6 @@ AnySolver<miopen::ExecutionContext, miopen::conv::ProblemDescription>::AnySolver
case 2: SetObject<miopen::solver::conv::ConvAsm1x1U>(); break;
case 3: SetObject<miopen::solver::conv::ConvAsm1x1UV2>(); break;
case 11: SetObject<miopen::solver::conv::ConvOclDirectFwd>(); break;
case 13: SetObject<miopen::solver::conv::ConvOclDirectFwd1x1>(); break;
case 16: SetObject<miopen::solver::conv::ConvAsmBwdWrW3x3>(); break;
case 17: SetObject<miopen::solver::conv::ConvAsmBwdWrW1x1>(); break;
case 18: SetObject<miopen::solver::conv::ConvOclBwdWrW2<1>>(); break;
Expand Down
42 changes: 6 additions & 36 deletions projects/miopen/src/include/miopen/conv/solvers.hpp
Original file line number Diff line number Diff line change
@@ -1,28 +1,5 @@
/*******************************************************************************
*
* MIT License
*
* Copyright (c) 2026 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*******************************************************************************/
// Copyright © Advanced Micro Devices, Inc., or its affiliates.
// SPDX-License-Identifier: MIT

#pragma once

Expand Down Expand Up @@ -1719,22 +1696,15 @@ struct MIOPEN_INTERNALS_EXPORT ConvOclDirectFwd final : ConvOclDirectFwdLegacyEx
const LegacyPerformanceConfig&) const override;
};

struct MIOPEN_INTERNALS_EXPORT ConvOclDirectFwd1x1 final : ConvOclDirectFwdLegacyExhaustiveSearch
struct MIOPEN_INTERNALS_EXPORT ConvHipDirectFwd1x1 final : ConvSolver
{
const std::string& SolverDbId() const override { return GetSolverDbId<ConvOclDirectFwd1x1>(); }
const std::string& SolverDbId() const override { return GetSolverDbId<ConvHipDirectFwd1x1>(); }

bool IsApplicable(const ExecutionContext&,
const miopen::conv::ProblemDescription&) const override;
bool IsDynamic() const override { return true; }
ConvSolution GetSolution(const ExecutionContext&,
const miopen::conv::ProblemDescription&,
const LegacyPerformanceConfig&) const override;

bool IsValidPerformanceConfig(const ExecutionContext&,
const miopen::conv::ProblemDescription&,
const LegacyPerformanceConfig&) const override
{
return true;
}
const miopen::conv::ProblemDescription&) const override;
};

struct MIOPEN_INTERNALS_EXPORT ConvBinWinograd3x3U final : ConvSolver
Expand Down
Loading
Loading