Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pystencils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Markus Holzer
pystencils
Commits
7bd1171a
Commit
7bd1171a
authored
1 year ago
by
Markus Holzer
Browse files
Options
Downloads
Patches
Plain Diff
Added fixed arg again
parent
93e0133a
No related branches found
No related tags found
No related merge requests found
Pipeline
#55588
passed with warnings
1 year ago
Stage: pretest
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pystencils/gpu/kernelcreation.py
+5
-0
5 additions, 0 deletions
pystencils/gpu/kernelcreation.py
with
5 additions
and
0 deletions
pystencils/gpu/kernelcreation.py
+
5
−
0
View file @
7bd1171a
...
@@ -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
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment