| 242 | } |
| 243 | |
| 244 | std::string PSGPUTrainer::GetDumpPath(int tid) { |
| 245 | if (user_define_dump_filename_ != "") { |
| 246 | return string::format_string("%s/part-%s-%05d", |
| 247 | dump_fields_path_.c_str(), |
| 248 | user_define_dump_filename_.c_str(), |
| 249 | tid); |
| 250 | } |
| 251 | return string::format_string( |
| 252 | "%s/part-%03d-%05d", dump_fields_path_.c_str(), mpi_rank_, tid); |
| 253 | } |
| 254 | |
| 255 | void PSGPUTrainer::RegisterHeterCallback() { |
| 256 | /* |
nothing calls this directly
no test coverage detected