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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pycodegen
pystencils
Merge requests
!263
Fixed wrong type hints. Updated setup.py
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Fixed wrong type hints. Updated setup.py
hoenig/pystencils:master
into
master
Overview
0
Commits
1
Pipelines
1
Changes
2
Merged
Fixed wrong type hints. Updated setup.py
Jan Hönig
requested to merge
hoenig/pystencils:master
into
master
Sep 16, 2021
Overview
0
Commits
1
Pipelines
1
Changes
2
Added authors and changed the package's email to a more general solution.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
7f7c4cf7
1 commit,
Sep 16, 2021
2 files
+
7
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
pystencils/kernelcreation.py
+
4
−
4
View file @ 7f7c4cf7
Edit in single-file editor
Open in Web IDE
Show full file
@@ -3,7 +3,7 @@ import itertools
import
warnings
from
dataclasses
import
dataclass
,
field
from
types
import
MappingProxyType
from
typing
import
Callable
,
Union
,
List
,
Dict
,
Tuple
from
typing
import
Callable
,
Union
,
List
,
Dict
,
Tuple
,
Any
import
sympy
as
sp
@@ -68,10 +68,10 @@ class CreateKernelConfig:
use_textures_for_interpolation
:
bool
=
True
cpu_prepend_optimizations
:
List
[
Callable
]
=
field
(
default_factory
=
list
)
use_auto_for_assignments
:
bool
=
False
opencl_queue
:
...
=
None
opencl_ctx
:
...
=
None
opencl_queue
:
Any
=
None
opencl_ctx
:
Any
=
None
index_fields
:
List
[
Field
]
=
None
coordinate_names
:
Tuple
[
str
,
...
]
=
(
'
x
'
,
'
y
'
,
'
z
'
)
coordinate_names
:
Tuple
[
str
,
Any
]
=
(
'
x
'
,
'
y
'
,
'
z
'
)
def
__post_init__
(
self
):
# ---- Legacy parameters
Loading