mirror of
https://github.com/smyalygames/FiniteVolumeGPU_HIP.git
synced 2025-05-18 06:24:11 +02:00
add hipDeviceSynchronize
This commit is contained in:
parent
b63412ff9c
commit
eeed754425
@ -180,9 +180,10 @@ class HLL (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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user