Skip to content
Snippets Groups Projects
Commit a8403669 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

fix default block size for dynamic launch grids

parent 64ac6ebf
Branches
Tags
No related merge requests found
Pipeline #76716 failed
......@@ -186,13 +186,8 @@ class SfgGpuComposer(SfgComposerMixIn):
block_size_init_args: tuple[ExprLike, ...]
if user_block_size is None:
if launch_config.block_size is None:
raise ValueError(
"Neither a user-defined nor a default block size was defined."
)
block_size_init_args = tuple(
str(bs) for bs in launch_config.block_size
str(bs) for bs in launch_config.default_block_size
)
else:
block_size_init_args = (user_block_size,)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment