Change profiler parallel strategy file mode to 600, keep same with the

other files
This commit is contained in:
ougongchang 2021-11-18 09:44:07 +08:00
parent 7b971c0d0e
commit 744e291982
1 changed files with 1 additions and 1 deletions

View File

@ -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