Skip to content
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

PETSc.jl and GPUs #102

Open
thomasgibson opened this issue Sep 2, 2020 · 3 comments
Open

PETSc.jl and GPUs #102

thomasgibson opened this issue Sep 2, 2020 · 3 comments

Comments

@thomasgibson
Copy link
Member

In order to use PETSc on GPUs, we'll also need to wrap the necessary data types for CUDA and OpenCL. We'll need to provide the compiled binaries as well; https://www.mcs.anl.gov/petsc/features/gpus.html

@ViralBShah
Copy link
Member

@boriskaus I believe we do not build PETSc_jll with GPU support right? Is it something that users expect nowadays? Again, a first step towards getting this eventually is having support in the JLL.

@boriskaus
Copy link
Collaborator

boriskaus commented Oct 16, 2024

No we don't build it with GPU support (I imagine that doing that with BinaryBuilder is a nightmare).

If people are interested in this (which more and more are), they should perhaps build the correct version of PETSc themselves and link that one to PETSc.jl, instead of PETSc_jll. A crucial factor here is that we must ensure that the correct version of PETSc is being linked

@ViralBShah
Copy link
Member

ViralBShah commented Oct 16, 2024

We do it increasingly in BinaryBuilder, but it definitely increases complexity. I agree that for now, this is a future feature, and people who need it should use their own PETSc build.

Of course, contributions to do this are welcome (there are several Yggdrasil examples with GPU enabled packages now).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants