diff --git a/src/pystencils_autodiff/framework_integration/printer.py b/src/pystencils_autodiff/framework_integration/printer.py index 2b5a413604be8887e46158ac49fb02f6ba4d6b69..173104e1e6ddf3090faabb071c72ae6e07f68d8a 100644 --- a/src/pystencils_autodiff/framework_integration/printer.py +++ b/src/pystencils_autodiff/framework_integration/printer.py @@ -49,6 +49,7 @@ class FrameworkIntegrationPrinter(pystencils.backends.cbackend.CBackend): shape = list(written_fields)[0].spatial_shape # assert all(shape == f.shape for f in written_fields) + # TODO(seitz): this is not correct for indexed kernels! block_and_thread_numbers = function.indexing.call_parameters(shape) launch_blocks = 'dim3{' + ', '.join(self.sympy_printer.doprint(i) for i in block_and_thread_numbers['block']) + '}'