• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * Copyright 2020 Huawei Technologies Co., Ltd
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #include "runtime/device/ascend/tasksink/task_generator.h"
18 #ifndef ENABLE_SECURITY
19 #include "runtime/device/ascend/dump/data_dumper.h"
20 #endif
21 
22 namespace mindspore {
23 namespace device {
24 namespace ascend {
25 namespace tasksink {
GenTasks(const std::vector<CNodePtr> & anf_node_list,std::vector<TaskInfoPtr> * const task_info_list,uint32_t graph_id)26 bool TaskGenerator::GenTasks(const std::vector<CNodePtr> &anf_node_list, std::vector<TaskInfoPtr> *const task_info_list,
27                              uint32_t graph_id) {
28   return true;
29 }
30 }  // namespace tasksink
31 #ifndef ENABLE_SECURITY
LoadDumpInfo()32 void DataDumper::LoadDumpInfo() {}
UnloadDumpInfo()33 void DataDumper::UnloadDumpInfo() {}
OpDebugRegister()34 void DataDumper::OpDebugRegister() {}
OpDebugUnregister()35 void DataDumper::OpDebugUnregister() {}
~DataDumper()36 DataDumper::~DataDumper() {}
37 #endif
38 }  // namespace ascend
39 }  // namespace device
40 }  // namespace mindspore