SWDEV-478929 - Benchmark ReallyQuickPureX Failed

Ensure the member function Alloc() and Free() of command_pool_ will not be
accessed after command_pool_ be destructed.

Signed-off-by: Chong Li <chongli2@amd.com>
Change-Id: Ic2d36423302518a030bd61fa399290ebe2ed8194


[ROCm/clr commit: e6a5c81221]
Этот коммит содержится в:
Chong Li
2024-09-04 20:38:53 +08:00
родитель a3dc515316
Коммит 4979c2f206
3 изменённых файлов: 11 добавлений и 5 удалений
+1
Просмотреть файл
@@ -97,6 +97,7 @@ void Runtime::tearDown() {
if (outFile != stderr && outFile != nullptr) {
fclose(outFile);
}
Command::ReleaseSysmemPool();
initialized_ = false;
}