Skip to content
Snippets Groups Projects
Commit df7f69df authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Bug fix!!!

parent 354877bb
No related branches found
No related tags found
1 merge request!98WIP: Graph datahandling
......@@ -7,13 +7,13 @@
"""
"""
from enum import Enum
import numpy as np
import pystencils.datahandling
import pystencils.kernel_wrapper
import pystencils.timeloop
from pystencils.field import FieldType
......@@ -181,7 +181,7 @@ class GraphDataHandling(pystencils.datahandling.SerialDataHandling):
def synchronization_function(self, names, stencil=None, target=None, **_):
for name in names:
gpu = target == 'cpu'
gpu = target == 'gpu'
self.call_queue.append(Communication(self._fields[name], stencil, gpu))
super().synchronization_function(names, stencil=None, target=None, **_)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment