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
ef185b4e
Commit
ef185b4e
authored
3 months ago
by
Richard Angersbach
Browse files
Options
Downloads
Patches
Plain Diff
Fix ImportError for cupy
parent
d1489837
No related branches found
No related tags found
1 merge request
!438
Reduction Support
Pipeline
#74174
failed
3 months ago
Stage: Code Quality
Stage: Unit Tests
Stage: legacy_test
Stage: docs
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/kernelcreation/test_reduction.py
+5
-1
5 additions, 1 deletion
tests/kernelcreation/test_reduction.py
with
5 additions
and
1 deletion
tests/kernelcreation/test_reduction.py
+
5
−
1
View file @
ef185b4e
import
pytest
import
pytest
import
numpy
as
np
import
numpy
as
np
import
cupy
as
cp
try
:
import
cupy
as
cp
except
ImportError
:
pass
import
pystencils
as
ps
import
pystencils
as
ps
from
pystencils.sympyextensions
import
reduction_assignment_from_str
from
pystencils.sympyextensions
import
reduction_assignment_from_str
...
...
This diff is collapsed.
Click to expand it.
Frederik Hennig
@da15siwa
mentioned in commit
4e688b86
·
1 month 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