From e1992ca416814e09fbdf0b4bff5691b23ed88cc1 Mon Sep 17 00:00:00 2001 From: Hicham Agueny <95568317+HichamAgueny@users.noreply.github.com> Date: Tue, 20 Feb 2024 14:36:19 +0100 Subject: [PATCH] missing 'tab' --- GPUSimulators/FORCE.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/GPUSimulators/FORCE.py b/GPUSimulators/FORCE.py index ce42285..ebf4416 100644 --- a/GPUSimulators/FORCE.py +++ b/GPUSimulators/FORCE.py @@ -187,15 +187,14 @@ class FORCE (Simulator.BaseSimulator): ) ) ) - - 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.hipDeviceSynchronize()) + hip_check(hip.hipModuleUnload(module)) + + hip_check(hip.hipFree(cfl_data)) - hip_check(hip.hipFree(cfl_data)) - - print("--Launching Kernel .FORCEKernel. is ok") + print("--Launching Kernel .FORCEKernel. is ok") def getOutput(self): return self.u0