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

            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_RING_FOR_910_93_EXECUTOR_H
      12              : #define COLL_ALIGNED_ALLGATHER_RING_FOR_910_93_EXECUTOR_H
      13              : #include "coll_all_gather_ring_for_910_93_executor.h"
      14              : namespace hccl {
      15              : class CollAlignedAllGatherDoubleRingFor91093Executor : public CollAllGatherRingFor91093Executor {
      16              : public:
      17              :     explicit CollAlignedAllGatherDoubleRingFor91093Executor(
      18              :         const HcclDispatcher dispatcher, std::unique_ptr<TopoMatcher>& topoMatcher);
      19            4 :     ~CollAlignedAllGatherDoubleRingFor91093Executor() override = default;
      20              : 
      21              : private:
      22              :     /* *************** 算法编排 *************** */
      23              :     HcclResult DoubleRingAllGather(
      24              :         const std::string& tag, DeviceMem inputMem, DeviceMem outputMem, const u64 count, const HcclDataType dataType,
      25              :         const std::vector<std::vector<Slice>> multRingsSliceZero, Stream stream, s32 profStage,
      26              :         const u64 baseOffset = 0, const HcomCollOpInfo* opInfo = nullptr,
      27              :         const std::vector<std::vector<Slice>> multRingsUserMemSlice = std::vector<std::vector<Slice>>(0));
      28              :     HcclResult RunIntraSeverAllGather(
      29              :         const std::string& tag, DeviceMem& inputMem, DeviceMem& outputMem, const u64 count,
      30              :         const HcclDataType& dataType, const std::vector<std::vector<Slice>>& multRingsSliceZero, const Stream& stream,
      31              :         s32 profStage, const u64 baseOffset = 0, const HcomCollOpInfo* opInfo = nullptr,
      32              :         const std::vector<std::vector<Slice>>& multRingsUserMemSlice = std::vector<std::vector<Slice>>(0)) override;
      33              : };
      34              : 
      35              : } // namespace hccl
      36              : 
      37              : #endif
        

Generated by: LCOV version 2.0-1