Skip to content
Snippets Groups Projects

Enable iterative initialization for target='opencl'

Merged Stephan Seitz requested to merge seitz/lbmpy:opencl-iterative-initialization into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -334,7 +334,7 @@ class LatticeBoltzmannStep:
@@ -334,7 +334,7 @@ class LatticeBoltzmannStep:
tuple (residuum, steps_run) if successful or raises ValueError if not converged
tuple (residuum, steps_run) if successful or raises ValueError if not converged
"""
"""
dh = self.data_handling
dh = self.data_handling
gpu = self._optimization['target'] == 'gpu'
gpu = self._gpu
def on_first_call():
def on_first_call():
self._velocity_init_vel_backup = 'velocity_init_vel_backup'
self._velocity_init_vel_backup = 'velocity_init_vel_backup'
Loading