LCOV - code coverage report
Current view: top level - legacy/ascend950/framework/ccu/ccu_ins - ccu_ins_group.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 % 1 1

            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 CCU_INSTRUCTION_GROUP_H
      12              : #define CCU_INSTRUCTION_GROUP_H
      13              : 
      14              : #include "ccu_ins.h"
      15              : #include "types.h"
      16              : #include "instruction.h"
      17              : 
      18              : namespace Hccl {
      19              : 
      20              : class CcuInsGroup : public CcuInstruction {
      21              : public:
      22           18 :     CcuInsGroup() : CcuInstruction() {}
      23              : 
      24              :     void SetExecId(u64 id) override;
      25              :     void Append(std::unique_ptr<CcuInstruction> ins);
      26              :     const std::vector<std::unique_ptr<CcuInstruction>>& GetCcuInstructions() const;
      27              :     CcuCtxSignature GetCtxSignature() const override;
      28              :     u64 GetExecId() const override;
      29              :     std::string Describe() const override;
      30              :     CcuInstType GetInstType() const override;
      31              :     std::unique_ptr<CcuCtxArg> GetCtxArg() const override;
      32              :     std::unique_ptr<CcuTaskArg> GetTaskArg() const override;
      33              :     std::vector<LinkData> GetLinks() const override;
      34              :     RankGroup GetRankGroup() const override;
      35              : 
      36              : private:
      37              :     std::vector<std::unique_ptr<CcuInstruction>> ccuInstructions;
      38              : };
      39              : 
      40              : } // namespace Hccl
      41              : 
      42              : #endif // CCU_INSTRUCTION_GROUP_H
        

Generated by: LCOV version 2.0-1