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 fhennig/devel
No related merge requests found
Pipeline #76716 failed with stages
in 6 minutes and 38 seconds
...@@ -186,13 +186,8 @@ class SfgGpuComposer(SfgComposerMixIn): ...@@ -186,13 +186,8 @@ class SfgGpuComposer(SfgComposerMixIn):
block_size_init_args: tuple[ExprLike, ...] block_size_init_args: tuple[ExprLike, ...]
if user_block_size is None: 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( 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: else:
block_size_init_args = (user_block_size,) block_size_init_args = (user_block_size,)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment