LCOV - code coverage report
Current view: top level - legacy/ascend910/algorithm/impl/coll_executor/coll_all_gather_v - coll_aligned_all_gather_v_double_ring_for_910_93_executor.h (source / functions) Coverage Total Hit
Test: coverage.info Lines: 0.0 % 1 0
Test Date: 2026-08-18 17:47:01 Functions: 0.0 % 2 0

            Line data    Source code
       1              : /**
       2              :  * Copyright (c) 2025 Huawei Technologies Co., Ltd.
       3              :  * This program is free software, you can redistribute it and/or modify it under the terms and conditions of
       4              :  * CANN Open Software License Agreement Version 2.0 (the "License").
       5              :  * Please refer to the License for details. You may not use this file except in compliance with the License.
       6              :  * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
       7              :  * INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
       8              :  * See LICENSE in the root of the software repository for the full text of the License.
       9              :  */
      10              : 
      11              : #ifndef COLL_ALIGNED_ALLGATHER_V_RING_FOR_910_93_EXECUTOR_H
      12              : #define COLL_ALIGNED_ALLGATHER_V_RING_FOR_910_93_EXECUTOR_H
      13              : #include "coll_aligned_all_gather_double_ring_for_910_93_executor.h"
      14              : namespace hccl {
      15              : class CollAlignedAllGatherVDoubleRingFor91093Executor : public CollAlignedAllGatherDoubleRingFor91093Executor {
      16              : public:
      17              :     CollAlignedAllGatherVDoubleRingFor91093Executor(
      18              :         const HcclDispatcher dispatcher, std::unique_ptr<TopoMatcher>& topoMatcher);
      19            0 :     ~CollAlignedAllGatherVDoubleRingFor91093Executor() override = default;
      20              : 
      21              : private:
      22              :     bool IsSmallData(const u64 size) override;
      23              : 
      24              :     u64 CalcDstMemOffset(const OpParam& param, u32 perDataSize, u64 inputMemSize) const override;
      25              :     HcomCollOpInfo GetHcomCollOpInfo(const OpParam& param, const ExecMem& execMem) const override;
      26              :     std::vector<Slice> PrepareSlicesL2(
      27              :         const OpParam& param, const SubCommInfo& level2CommInfo, const SubCommInfo& level1CommInfo,
      28              :         const SubCommInfo& level0CommInfo, u32 perDataSize, u64 inputMemSize) const override;
      29              :     std::vector<Slice> PrepareSlicesL1(
      30              :         const OpParam& param, const SubCommInfo& level2CommInfo, const SubCommInfo& level1CommInfo,
      31              :         const SubCommInfo& level0CommInfo, u32 perDataSize, u64 inputMemSize) const override;
      32              :     HcclResult PrepareSlicesL0(
      33              :         std::vector<std::vector<Slice>>& multRingsSlice, const OpParam& param, const SubCommInfo& level2CommInfo,
      34              :         const SubCommInfo& level1CommInfo, const SubCommInfo& level0CommInfo, u32 perDataSize,
      35              :         u64 inputMemSize) override;
      36              :     HcclResult PrepareUserMemSlices(
      37              :         std::vector<std::vector<Slice>>& userMemSlices, const std::vector<std::vector<Slice>>& multRingsSlice,
      38              :         const OpParam& param, const SubCommInfo& level2CommInfo, const SubCommInfo& level1CommInfo,
      39              :         const SubCommInfo& level0CommInfo, u32 perDataSize, u64 inputMemSize) override;
      40              : };
      41              : 
      42              : } // namespace hccl
      43              : 
      44              : #endif
        

Generated by: LCOV version 2.0-1