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

fix default arg

parent 95907f7b
No related branches found
No related tags found
1 merge request!384Fundamental GPU Support
Pipeline #67160 passed
......@@ -37,7 +37,7 @@ GRID_DIM = [
class CudaPlatform(GenericGpu):
def __init__(
self, ctx: KernelCreationContext, indexing_cfg: GpuIndexingConfig | None
self, ctx: KernelCreationContext, indexing_cfg: GpuIndexingConfig | None = None
) -> None:
super().__init__(ctx)
self._cfg = indexing_cfg if indexing_cfg is not None else GpuIndexingConfig()
......
......@@ -25,4 +25,4 @@ def test_loop_nest(layout):
archetype_field = Field.create_generic("fzyx_field", spatial_dimensions=3, layout=layout)
ispace = FullIterationSpace.create_with_ghost_layers(ctx, 0, archetype_field)
condition = platform.materialize_iteration_space(body, ispace)
_ = platform.materialize_iteration_space(body, ispace)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment