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 "operator_preliminary.h"
11 :
12 : #include "log/adx_log.h"
13 :
14 : namespace Adx {
15 : const std::map<PlatformType, std::string> BIN_NAME_MAP = {};
16 :
17 1 : OperatorPreliminary::OperatorPreliminary(const DumpSetting &setting, const uint32_t deviceId)
18 1 : : deviceId_(deviceId), setting_(setting)
19 : {
20 1 : }
21 :
22 1 : OperatorPreliminary::~OperatorPreliminary()
23 : {
24 1 : }
25 :
26 1 : int32_t OperatorPreliminary::OperatorInit()
27 : {
28 1 : IDE_LOGW("Start to destroy rt api resources on device %u.", deviceId_);
29 1 : return ADUMP_SUCCESS;
30 : }
31 : }
|