Fix cl source dump file name not to be overwritten (#15035)

This commit is contained in:
Taylor Yeonbok Lee authored and GitHub committed 2023-01-12 09:27:57 -08:00
1 parent ee58a7aa38
commit 33b2e72048
1 file changed
+1 -1
@@ -213,7 +213,7 @@ void kernels_cache::build_batch(const engine& build_engine, const batch_program&
current_dump_file_name += '/';
current_dump_file_name += "clDNN_program_" + std::to_string(_prog_id) + "_bucket_" + std::to_string(batch.bucket_id)
+ "_part_" + std::to_string(batch.batch_id) + ".cl";
+ "_part_" + std::to_string(batch.batch_id) + "_" + std::to_string(batch.hash_value) + ".cl";
}
std::ofstream dump_file;