add hipDeviceSynchronize

This commit is contained in:
Hicham Agueny
2024-02-20 15:07:58 +01:00
committed by GitHub
parent b63412ff9c
commit eeed754425

View File

@@ -180,9 +180,10 @@ class HLL (Simulator.BaseSimulator):
) )
) )
hip_check(hip.hipDeviceSynchronize())
self.u0, self.u1 = self.u1, self.u0 self.u0, self.u1 = self.u1, self.u0
hip_check(hip.hipDeviceSynchronize())
hip_check(hip.hipModuleUnload(module)) hip_check(hip.hipModuleUnload(module))
hip_check(hip.hipFree(cfl_data)) hip_check(hip.hipFree(cfl_data))