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
b8718cb1
Commit
b8718cb1
authored
4 months ago
by
Richard Angersbach
Browse files
Options
Downloads
Patches
Plain Diff
Try fixing circular module import
parent
53fc7ca4
No related branches found
No related tags found
1 merge request
!438
Reduction Support
Pipeline
#72024
failed
4 months ago
Stage: Code Quality
Stage: Unit Tests
Stage: legacy_test
Stage: docs
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/pystencils/backend/kernelcreation/context.py
+2
-0
2 additions, 0 deletions
src/pystencils/backend/kernelcreation/context.py
src/pystencils/codegen/properties.py
+2
-4
2 additions, 4 deletions
src/pystencils/codegen/properties.py
with
4 additions
and
4 deletions
src/pystencils/backend/kernelcreation/context.py
+
2
−
0
View file @
b8718cb1
...
...
@@ -9,6 +9,8 @@ from ...defaults import DEFAULTS
from
...field
import
Field
,
FieldType
from
...sympyextensions.typed_sympy
import
TypedSymbol
,
DynamicType
from
...codegen.properties
import
ReductionSymbolProperty
from
..memory
import
PsSymbol
,
PsBuffer
from
..constants
import
PsConstant
from
...types
import
(
...
...
This diff is collapsed.
Click to expand it.
src/pystencils/codegen/properties.py
+
2
−
4
View file @
b8718cb1
...
...
@@ -2,9 +2,7 @@ from __future__ import annotations
from
dataclasses
import
dataclass
from
..field
import
Field
from
..backend.ast.expressions
import
PsExpression
from
typing
import
Any
@dataclass
(
frozen
=
True
)
class
PsSymbolProperty
:
...
...
@@ -21,7 +19,7 @@ class ReductionSymbolProperty(UniqueSymbolProperty):
"""
Symbol acts as a base pointer to a field.
"""
op
:
str
init_val
:
PsExpression
init_val
:
Any
# TODO: type?
@dataclass
(
frozen
=
True
)
...
...
This diff is collapsed.
Click to expand it.
Frederik Hennig
@da15siwa
mentioned in commit
4e688b86
·
4 weeks ago
mentioned in commit
4e688b86
mentioned in commit 4e688b867339c90a6fba3ad12c383d1e59211ed9
Toggle commit list
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