Skip to content
Snippets Groups Projects
Commit 31bd0e0a authored by Markus Holzer's avatar Markus Holzer
Browse files

Fix small mistake

parent 22580333
No related branches found
No related tags found
2 merge requests!353Draft: Generalise usage of Structs for nested array access,!341Refactor gpu indexing
......@@ -143,7 +143,7 @@ class BlockIndexing(AbstractIndexing):
maximum_block_size=(1024, 1024, 64), device_number=None):
super(BlockIndexing, self).__init__(iteration_space, data_layout)
if self._dim < 4:
if self._dim > 4:
raise NotImplementedError("This indexing scheme supports at most 4 spatial dimensions")
if permute_block_size_dependent_on_layout and self._dim < 4:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment