Skip to content
Snippets Groups Projects

WIP: Graph datahandling

Closed Stephan Seitz requested to merge seitz/pystencils:graph-datahandling into master
Viewing commit 23bb748f
Show latest version
1 file
+ 2
0
Preferences
Compare changes
@@ -272,6 +272,8 @@ class SerialDataHandling(DataHandling):
def synchronization_function(self, names, stencil=None, target=None, **_):
if target is None:
target = self.default_target
if target == 'opencl':
target = 'gpu'
assert target in ('cpu', 'gpu')
if not hasattr(names, '__len__') or type(names) is str:
names = [names]