SWDEV-515519 - Synchronize after mem pool trim (#89)

此提交包含在:
Brzak, Branislav
2025-04-30 16:09:15 +02:00
提交者 GitHub
父節點 1b60d60f5a
當前提交 3f30d6d8ea
共有 3 個檔案被更改,包括 6 行新增4 行删除
-2
查看文件
@@ -732,8 +732,6 @@
"=== SWDEV-511679 : Below tests fail in stress test ===",
"Unit_hipIpcOpenMemHandle_Negative_Open_In_Two_Contexts_Same_Device",
"Unit_hipIpcCloseMemHandle_Positive_Reference_Counting",
"=== SWDEV-508023 Below tests are temporarily disabled - Linux PSDB failed",
"Unit_hipDeviceGetGraphMemAttribute_Positive_DoubleMemory",
"=== SWDEV-517063 Below tests are temporarily disabled due to PSDB failure",
"Unit_hipGraphInstantiateWithFlags_FlagAutoFreeOnLaunch_check",
"Unit_hipGraphInstantiateWithFlags_AutoFreeOnLaunchInLoop",
-2
查看文件
@@ -990,8 +990,6 @@
"Test Unit_hipGraphUserObj_ClonedGraph disabled due to SWDEV-483112",
"Unit_hipGraphUserObj_ClonedGraph",
"====================================================",
"=== SWDEV-508023 Below tests are temporarily disabled - windows PSDB failed",
"Unit_hipDeviceGetGraphMemAttribute_Positive_DoubleMemory",
"=== SWDEV-517063 Below tests are temporarily disabled due to PSDB failure",
"Unit_hipGraphInstantiateWithFlags_AutoFreeOnLaunchInLoop",
"Unit_hipGraphInstantiateWithFlags_AutoFreeOnLaunchFillKernel",
+6
查看文件
@@ -132,7 +132,10 @@ TEST_CASE("Unit_hipDeviceGetGraphMemAttribute_Positive_DoubleMemory") {
HIP_CHECK(hipGraphExecDestroy(graph_exec1));
HIP_CHECK(hipGraphExecDestroy(graph_exec2));
HIP_CHECK(hipDeviceGraphMemTrim(0));
HIP_CHECK(hipStreamSynchronize(0));
checkGraphMemAttribute(0, 2 * element_count * sizeof(int));
ResetGraphMemAttribute();
}
@@ -170,7 +173,10 @@ TEST_CASE("Unit_hipDeviceGetGraphMemAttribute_Positive_ReuseMemory") {
HIP_CHECK(hipGraphExecDestroy(graph_exec1));
HIP_CHECK(hipGraphExecDestroy(graph_exec2));
HIP_CHECK(hipDeviceGraphMemTrim(0));
HIP_CHECK(hipStreamSynchronize(0));
checkGraphMemAttribute(0, element_count * sizeof(int));
ResetGraphMemAttribute();
#endif