forked from pyccel/psydac
-
Notifications
You must be signed in to change notification settings - Fork 0
Replace numpy with cunumpy #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
max-models
wants to merge
34
commits into
devel-tiny
Choose a base branch
from
add-xp-backend
base: devel-tiny
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
196cc1d
Added psydac/arrays.py
max-models e6d1fba
Replaced import numpy as np with from psydac.arrays import xp as np
max-models 32d5797
Bugfix
max-models 0a78b05
Fixes for running psydac with cupy arrays
max-models 721ff30
Merge branch 'devel-tiny' into add-xp-backend
max-models 367a7be
Remplaced numpy imports
max-models 6bb76a7
Set arguments to int in view.shape = (int(self._numrhs), int(self._di…
max-models 95faef0
Convert gridsizes tuple to array
max-models aa4ff3e
Always call _splu.solve with numpy array
max-models c262eb3
Convert to tuple of integers
max-models 9831134
Call self._solver_function with numpy arrays
max-models 6898e83
Convert self._perm components to int
max-models 39dd8e8
Merge branch 'devel-tiny' into add-xp-backend
max-models 6c5f003
Replaces arrays.py with cunumpy
max-models 46d30d3
Replaced np. with xp.
max-models 86498e3
Use if array_backend.backend == 'cupy' to check if cupy or numpy is used
max-models e1a1005
Use if array_backend.backend == 'cupy' to check if cupy or numpy is used
max-models 3bfc615
Merge branch 'devel-tiny' into add-xp-backend
max-models c322ee3
Merge remote-tracking branch 'origin/devel-tiny' into add-xp-backend
Copilot 316b080
Update petsc4py install
max-models e7cecca
Added oversubscribe flag
max-models 420d008
Only run PR - test Struphy in container with fortran
max-models a24495d
Merge branch '69-error-failed-building-wheel-for-petsc4py' into add-x…
max-models cc84bb7
np --> xp
max-models eb92044
Use np in kernels
max-models e79bde0
Merge branch 'devel-tiny' into add-xp-backend
max-models 4675106
int --> int64
max-models 8e45218
Update nonblocking_data_exchanger.py, cp --> np
max-models 4d33ad3
Update blocking_data_exchanger.py, cp --> np
max-models c926ed7
Update blocking_data_exchanger.py
max-models 61f90a9
Update nonblocking_data_exchanger.py
max-models b142a59
Use sim(M) since xp.sum(M) doesn't work for python lists
max-models 9e278b7
Use xp.max for xp array in splines.py
max-models b8ee897
Handle default case explicitly
max-models File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.