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
pycodegen
pystencils
Commits
381c3e09
Commit
381c3e09
authored
2 years ago
by
Markus Holzer
Browse files
Options
Downloads
Plain Diff
Merge branch 'python-11.1' into 'master'
Fix execution for Python 3.11 See merge request
pycodegen/pystencils!315
parents
67abd7a1
bbcefe16
No related branches found
No related tags found
1 merge request
!315
Fix execution for Python 3.11
Pipeline
#51710
passed with warnings
2 years ago
Stage: pretest
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pystencils/config.py
+3
-3
3 additions, 3 deletions
pystencils/config.py
with
3 additions
and
3 deletions
pystencils/config.py
+
3
−
3
View file @
381c3e09
...
...
@@ -82,7 +82,7 @@ class CreateKernelConfig:
"""
Either
'
block
'
or
'
line
'
, or custom indexing class, see `pystencils.gpucuda.AbstractIndexing`
"""
gpu_indexing_params
:
MappingProxyType
=
field
(
default
=
MappingProxyType
({}))
gpu_indexing_params
:
MappingProxyType
=
field
(
default
_factory
=
lambda
:
MappingProxyType
({}))
"""
Dict with indexing parameters (constructor parameters of indexing class)
e.g. for
'
block
'
one can specify
'
{
'
block_size
'
: (20, 20, 10) }
'
.
...
...
@@ -121,12 +121,12 @@ class CreateKernelConfig:
allow_double_writes
:
bool
=
False
"""
If True, don
'
t check if every field is only written at a single location. This is required
for example for kernels that are compiled with loop step sizes > 1, that handle multiple
for example for kernels that are compiled with loop step sizes > 1, that handle multiple
cells at once. Use with care!
"""
skip_independence_check
:
bool
=
False
"""
Don
'
t check that loop iterations are independent. This is needed e.g. for
Don
'
t check that loop iterations are independent. This is needed e.g. for
periodicity kernel, that access the field outside the iteration bounds. Use with care!
"""
...
...
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