LCOV - code coverage report
Current view: top level - legacy/ascend910/platform/resource/rma_buffer - remote_rdma_rma_buffer_impl.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) 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 REMOTE_RDMA_RMA_BUFFER_IMPL_H
      12              : #define REMOTE_RDMA_RMA_BUFFER_IMPL_H
      13              : 
      14              : #include "hccl_common.h"
      15              : #include "hccl_network_pub.h"
      16              : #include "rma_buffer.h"
      17              : #include "mem_name_repository_pub.h"
      18              : 
      19              : namespace hccl {
      20              : class RemoteRdmaRmaBufferImpl : public RmaBuffer {
      21              : public:
      22              :     RemoteRdmaRmaBufferImpl();
      23              : 
      24              :     HcclResult Deserialize(const std::string& msg);
      25              : 
      26              :     ~RemoteRdmaRmaBufferImpl() override;
      27              : 
      28              :     RemoteRdmaRmaBufferImpl(const RemoteRdmaRmaBufferImpl& that) = delete;
      29              :     RemoteRdmaRmaBufferImpl& operator=(const RemoteRdmaRmaBufferImpl& that) = delete;
      30              : 
      31            0 :     inline u32 GetKey() const { return rkey; }
      32              : 
      33              : private:
      34              :     u32 rkey{0};
      35              : };
      36              : } // namespace hccl
      37              : #endif //  REMOTE_RDMA_RMA_BUFFER_IMPL_H
        

Generated by: LCOV version 2.0-1