LCOV - code coverage report
Current view: top level - legacy/ascend950/service/collective/alg/coll_alg_factory/alg_ccu_context/all_gather - ccu_context_all_gather_v_mesh1d.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 HCCLV2_CCU_CONTEXT_ALL_GATHER_V_MESH_1D_H_
      12              : #define HCCLV2_CCU_CONTEXT_ALL_GATHER_V_MESH_1D_H_
      13              : 
      14              : #include <vector>
      15              : #include <ios>
      16              : #include "log.h"
      17              : #include "ccu_context_alg_base.h"
      18              : #include "ccu_datatype.h"
      19              : 
      20              : namespace Hccl {
      21              : 
      22              : class CcuContextAllGatherVMesh1D : public CcuContextAlgBase {
      23              : public:
      24              :     CcuContextAllGatherVMesh1D(
      25              :         const CcuCtxArg& arg, const std::vector<CcuTransport*>& transports, const CcuTransportGroup& group);
      26            0 :     ~CcuContextAllGatherVMesh1D() override {}
      27              : 
      28              :     void Algorithm() override;
      29              :     std::vector<uint64_t> GeneArgs(const CcuTaskArg& arg) override;
      30              :     void LoadArgs();
      31              :     void InitResources();
      32              :     void PreSync();
      33              :     void PostSync();
      34              :     void DoGroupBroadcast();
      35              : 
      36              : private:
      37              :     CcuRep::Variable input_;
      38              :     std::vector<CcuRep::Variable> output_;
      39              :     std::vector<CcuRep::Variable> token_;
      40              :     CcuRep::Variable mySliceOffset_;
      41              :     GroupOpSize groupOpSize_;
      42              : };
      43              : } // namespace Hccl
      44              : #endif // HCCLV2_CCU_CONTEXT_ALL_GATHER_V_MESH_1D_H_
        

Generated by: LCOV version 2.0-1