Skip to content
Snippets Groups Projects
Commit 97b94aaf authored by Martin Bauer's avatar Martin Bauer
Browse files

Merge branch 'opencl-iterative-initialization' into 'master'

Enable iterative initialization for target='opencl'

See merge request pycodegen/lbmpy!24
parents e586475c 2466d110
No related branches found
No related tags found
1 merge request!24Enable iterative initialization for target='opencl'
Pipeline #22112 failed
......@@ -334,7 +334,7 @@ class LatticeBoltzmannStep:
tuple (residuum, steps_run) if successful or raises ValueError if not converged
"""
dh = self.data_handling
gpu = self._optimization['target'] == 'gpu'
gpu = self._gpu
def on_first_call():
self._velocity_init_vel_backup = 'velocity_init_vel_backup'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment