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

[ROCm/hip-tests commit: 3f30d6d8ea]
Este commit está contenido en:
Brzak, Branislav
2025-04-30 16:09:15 +02:00
cometido por GitHub
padre 7e8e711087
commit f63e3e9c0a
Se han modificado 3 ficheros con 6 adiciones y 4 borrados
@@ -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",
@@ -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",
@@ -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