* Copyright (c) 2026 Huawei Technologies Co., Ltd.
* This program is free software, you can redistribute it and/or modify it under the terms and conditions of
* CANN Open Software License Agreement Version 2.0 (the "License").
* Please refer to the License for details. You may not use this file except in compliance with the License.
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
* INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
* See LICENSE in the root of the software repository for the full text of the License.
*/
* \file tile_copy_policy.h
* \brief
*/
#ifndef MATMUL_TILE_TILE_COPY_POLICY_H
#define MATMUL_TILE_TILE_COPY_POLICY_H
#include "../utils/arch.h"
namespace Cgmct {
namespace Gemm {
namespace Tile {
struct CopyWithParams {};
struct CopyOutSplitMWithParams {};
struct CopyOutSplitNWithParams {};
struct CopyWithLayout {};
struct CopyEnUnitFlagWithLayout {};
struct CopySparseWithLayout {};
struct CopyNoGmIn {};
struct CopyBasedBaseK {};
struct CopyInAndCopyOutSplitMWithParams {};
* @struct Copy
* @brief Primary template class for copy policies
* @param [in] ArchTag: architecture tag
* @param [in] DispatchPolicy: dispatch policy
* @param [in] DataType: data type
* @param [in] DstTrait: trait of destination tensor
* @param [in] SrcTrait: trait of source tensor
* @param [in] Enable: additional template parameter, default is void
* @param [in] cfg: configuration settings, default is CFG_NORM
*/
template <class ArchTag, class DispatchPolicy, class DataType, class DstTrait, class SrcTrait, typename Enable = void,
const auto& cfg = CFG_NORM>
struct Copy {};
}
}
}
#endif