Browse Source

算子白名单

tags/v1.6.0
lby 4 years ago
parent
commit
63bc0ae7ff
2 changed files with 3 additions and 2 deletions
  1. +2
    -1
      mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_kernel_compile.cc
  2. +1
    -1
      mindspore/ccsrc/runtime/device/ascend/kernel_select_ascend.cc

+ 2
- 1
mindspore/ccsrc/backend/kernel_compiler/tbe/tbe_kernel_compile.cc View File

@@ -232,7 +232,8 @@ std::string GetTbePath() {
} else if (realpath(kBkPath, real_path)) {
save_path = real_path;
} else {
MS_LOG(WARNING) << "Can not get access to [" << kDefPath << "] or [" << kBkPath << "]";
MS_LOG(WARNING) << "Can not get access to [" << kDefPath << "] or [" << kBkPath
<< "]. Check if the path exist, or use 'chmod {level} xxx' to change the path's access.";
}
}
return save_path;


+ 1
- 1
mindspore/ccsrc/runtime/device/ascend/kernel_select_ascend.cc View File

@@ -281,7 +281,7 @@ bool TagRaiseReduce(const std::shared_ptr<kernel::KernelBuildInfo> &kernel_build
}
if (flag) {
auto node_name = AnfAlgo::GetCNodeName(cnode);
MS_LOG(WARNING) << "Node:[" << node_name << "] reduce precision from int64 to int32";
MS_LOG(WARNING) << "Node:[" << node_name << "] don't support int64, reduce precision from int64 to int32.";
}
return true;
}


Loading…
Cancel
Save