Can OpenPNM and Porespy use GPU? #645
Answered
by
jgostick
javierpagalo
asked this question in
Q&A
-
Is there any way to use GPU in OpenPNM or Porespy? |
Beta Was this translation helpful? Give feedback.
Answered by
jgostick
Feb 17, 2022
Replies: 1 comment
-
Using the GPU is not as simple as it seems. Each function needs to be coded to specifically leverage it, and only certain functions can actually benefit from it. So the answer is no, not really. If you urgently need it, you can always inspect our source code and translate it to GPU. Libraries like numba and pycuda offer support for many numpy functions, and the list is always growing. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jgostick
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using the GPU is not as simple as it seems. Each function needs to be coded to specifically leverage it, and only certain functions can actually benefit from it. So the answer is no, not really. If you urgently need it, you can always inspect our source code and translate it to GPU. Libraries like numba and pycuda offer support for many numpy functions, and the list is always growing.