LCOV - code coverage report
Current view: top level - base_comm/resources/endpoint_pairs/channels/aicpu/device - dev_aicpu_ts_roce_channel_v2.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 % 1 0

            Line data    Source code
       1              : /**
       2              :  * Copyright (c) 2026 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 DEV_AICPU_TS_ROCE_CHANNEL_V2_H
      12              : #define DEV_AICPU_TS_ROCE_CHANNEL_V2_H
      13              : 
      14              : #include <vector>
      15              : #include <memory>
      16              : #include "dev_aicpu_ts_channel.h"
      17              : #include "roce_transport_lite_impl.h"
      18              : 
      19              : namespace Hccl {
      20              : 
      21              : MAKE_ENUM(RDMA_NOTIFY_TYPE, DATA_NOTIFY_MEM, ACK_NOTIFY_MEM, DATA_ACK_NOTIFY_MEM, NOTIFY_TYPE_RESERVED);
      22              : 
      23              : class DevAicpuTsRoceChannelV2 : public ::DevAicpuTsChannel {
      24              : public:
      25              :     explicit DevAicpuTsRoceChannelV2(std::vector<char>& uniqueId);
      26            0 :     DevAicpuTsRoceChannelV2() = default;
      27              :     ~DevAicpuTsRoceChannelV2() override;
      28              : 
      29              :     HcclResult
      30              :     Create(const void* blob, u64 blobBytes, const HcommDeviceInfo& deviceInfo, ChannelHandle& outHandle) override;
      31              :     bool Destroy(ChannelHandle handle) override;
      32              : 
      33              :     std::string Describe() const;
      34              : 
      35              : private:
      36              :     std::unique_ptr<RoceTransportLiteImpl> transport_{};
      37              : };
      38              : 
      39              : } // namespace Hccl
      40              : #endif
        

Generated by: LCOV version 2.0-1