From 305107fa862d630bb204146e7ff787ff7eda7e90 Mon Sep 17 00:00:00 2001 From: Martin Bauer <martin.bauer@fau.de> Date: Mon, 15 Jul 2019 16:36:41 +0200 Subject: [PATCH] Bugfix: GPU boundary kernels --- pystencils/gpucuda/kernelcreation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pystencils/gpucuda/kernelcreation.py b/pystencils/gpucuda/kernelcreation.py index bc6de8d..ff82107 100644 --- a/pystencils/gpucuda/kernelcreation.py +++ b/pystencils/gpucuda/kernelcreation.py @@ -122,7 +122,7 @@ def created_indexed_cuda_kernel(assignments, index_fields, function_name="kernel function_body = Block(coordinate_symbol_assignments + assignments) function_body = indexing.guard(function_body, get_common_shape(index_fields)) - ast = KernelFunction(function_body, 'gpu', 'gpucuda', make_python_function, function_name) + ast = KernelFunction(function_body, 'gpu', 'gpucuda', make_python_function, None, function_name) ast.global_variables.update(indexing.index_variables) coord_mapping = indexing.coordinates -- GitLab