FEniCS on GPU takes advantage of CUDA cores to solve SPARSE matrix using cuPy and SciPy libraries.
Here we first obtain assembled matrix from bilinear and linear form.
Assembled Bilinear Matrix is convetred into SPARSE Matrix by using SciPy subroutines.
SPARSE Matrix is transfered to cuPyx Multidimensional array.
Here we have used lsqr (Least Square) to solve.
(You can use any of the available solver from here https://docs.scipy.org/doc/scipy/reference/sparse.linalg.html
Results = We got arround 38X speed up using Least Square (For 63000 Grid Points). (Speed will vary depending upon solver types and configuration of Machine).
You can also use multiple GPU's see documentation here https://docs.cupy.dev/en/stable/
-
Notifications
You must be signed in to change notification settings - Fork 4
FEniCS on GPU takes advantage of CUDA cores to solve SPARSE matrix using cuPy and SciPy libraries.
License
gsc74/FEniCS-on-GPU
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
FEniCS on GPU takes advantage of CUDA cores to solve SPARSE matrix using cuPy and SciPy libraries.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published