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

Added fixed arg again

parent 93e0133a
No related branches found
No related tags found
No related merge requests found
Pipeline #55588 passed with warnings
...@@ -133,6 +133,11 @@ def created_indexed_cuda_kernel(assignments: NodeCollection, config: CreateKerne ...@@ -133,6 +133,11 @@ def created_indexed_cuda_kernel(assignments: NodeCollection, config: CreateKerne
assignments = assignments.all_assignments assignments = assignments.all_assignments
assignments = add_types(assignments, config) assignments = add_types(assignments, config)
for index_field in index_fields:
index_field.field_type = FieldType.INDEXED
assert FieldType.is_indexed(index_field)
assert index_field.spatial_dimensions == 1, "Index fields have to be 1D"
def get_coordinate_symbol_assignment(name): def get_coordinate_symbol_assignment(name):
for ind_f in index_fields: for ind_f in index_fields:
assert isinstance(ind_f.dtype, StructType), "Index fields have to have a struct data type" assert isinstance(ind_f.dtype, StructType), "Index fields have to have a struct data type"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment