forked from huawei/mindspore2022
Change profiler parallel strategy file mode to 600, keep same with the
other files
This commit is contained in:
parent
7b971c0d0e
commit
744e291982
|
|
@ -144,7 +144,7 @@ void DumpProfileParallelStrategy(const FuncGraphPtr &func_graph) {
|
|||
}
|
||||
ofs << GetProfilingParallelString(func_graph);
|
||||
ofs.close();
|
||||
ChangeFileMode(file_path, S_IRUSR);
|
||||
ChangeFileMode(file_path, S_IRUSR | S_IWUSR);
|
||||
MS_LOG(INFO) << "Save profile parallel strategy success.";
|
||||
}
|
||||
} // namespace ascend
|
||||
|
|
|
|||
Loading…
Reference in New Issue