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 <cstdarg>
11 : #include "set_device_vxx.h"
12 : #include "acl_rt_impl.h"
13 :
14 198 : ACL_FUNC_MAP(ACL_RT_CPP)
15 :
16 1571 : ACL_RT_FUNC_MAP(ACL_RT_CPP)
17 :
18 101 : ACL_MDLRI_FUNC_MAP(ACL_RT_CPP)
19 :
20 36 : ACL_MDL_FUNC_MAP(ACL_RT_CPP)
21 :
22 29 : ACL_RT_ALLOCATOR_FUNC_MAP(ACL_RT_CPP)
23 :
24 9 : void aclAppLog(aclLogLevel logLevel, const char *func, const char *file, uint32_t line, const char *fmt, ...)
25 : {
26 : va_list args;
27 9 : va_start(args, fmt);
28 9 : aclAppLogImpl(logLevel, func, file, line, fmt, args);
29 9 : va_end(args);
30 9 : }
31 :
32 1 : extern "C" ACL_FUNC_VISIBILITY void aclAppLogWithArgs(aclLogLevel logLevel, const char *func, const char *file, uint32_t line, const char *fmt, va_list args)
33 : {
34 1 : aclAppLogImpl(logLevel, func, file, line, fmt, args);
35 1 : }
|