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

Add TODO

parent ae1ea301
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,7 @@ class FrameworkIntegrationPrinter(pystencils.backends.cbackend.CBackend): ...@@ -49,6 +49,7 @@ class FrameworkIntegrationPrinter(pystencils.backends.cbackend.CBackend):
shape = list(written_fields)[0].spatial_shape shape = list(written_fields)[0].spatial_shape
# assert all(shape == f.shape for f in written_fields) # 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) block_and_thread_numbers = function.indexing.call_parameters(shape)
launch_blocks = 'dim3{' + ', '.join(self.sympy_printer.doprint(i) launch_blocks = 'dim3{' + ', '.join(self.sympy_printer.doprint(i)
for i in block_and_thread_numbers['block']) + '}' for i in block_and_thread_numbers['block']) + '}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment