LCOV - code coverage report
Current view: top level - acl/aclrt_c/runtime - host_func.c (source / functions) Hit Total Coverage
Test: coverage.info Lines: 6 6 100.0 %
Date: 2026-08-27 13:24:42 Functions: 3 3 100.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             : #include "acl/acl_rt.h"
      11             : #include "runtime/kernel.h"
      12             : 
      13             : #ifdef __cplusplus
      14             : extern "C" {
      15             : #endif
      16             : 
      17           2 : aclError aclrtSubscribeHostFunc(uint64_t hostFuncThreadId, aclrtStream exeStream) {
      18           2 :   return rtSubscribeHostFunc(hostFuncThreadId, (rtStream_t)exeStream);
      19             : }
      20             : 
      21           2 : aclError aclrtProcessHostFunc(int32_t timeout) {
      22           2 :   return rtProcessHostFunc(timeout);
      23             : }
      24             : 
      25           2 : aclError aclrtUnSubscribeHostFunc(uint64_t hostFuncThreadId, aclrtStream exeStream) {
      26           2 :   return rtUnSubscribeHostFunc(hostFuncThreadId, (rtStream_t)(exeStream));
      27             : }
      28             : 
      29             : #if defined(__cplusplus)
      30             : }
      31             : #endif

Generated by: LCOV version 1.14