add hipDeviceSynchronize

This commit is contained in:
Hicham Agueny 2024-02-20 15:08:34 +01:00 committed by GitHub
parent eeed754425
commit ffb0707c26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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