Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pycodegen
pystencils_autodiff
Commits
0e367089
Commit
0e367089
authored
Dec 16, 2019
by
Stephan Seitz
Browse files
Add TODO
parent
ae1ea301
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pystencils_autodiff/framework_integration/printer.py
View file @
0e367089
...
...
@@ -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'
])
+
'}'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment