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

Merge branch 'fix-ParallelDataHandling-bug!' into 'master'

Fix bug related to ParallelDataHandling

See merge request pycodegen/pystencils!130
parents 5d569c84 59e3861e
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,7 @@ class BoundaryHandling:
gpu_version = gpu_version.boundary_object_to_index_list
cpu_version = cpu_version.boundary_object_to_index_list
if isinstance(self.data_handling, ParallelDataHandling):
if ParallelDataHandling and isinstance(self.data_handling, ParallelDataHandling):
array_handler = PyCudaArrayHandler()
else:
array_handler = self.data_handling.array_handler
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment