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

Expose GPU kernels for Pytorch #2

Open
loliverhennigh opened this issue Jan 24, 2024 · 1 comment
Open

Expose GPU kernels for Pytorch #2

loliverhennigh opened this issue Jan 24, 2024 · 1 comment

Comments

@loliverhennigh
Copy link

This is an interesting application of Devito. Was wondering if you know of a way to expose GPU computing in devito. I see all the examples go pytorch GPU -> numpy cpu -> Devito -> numpy cpu -> pytorch GPU.

@mloubout
Copy link
Member

DeVito supports GPU through openacc offloading (or openmp offloading) but will need to go through numpy in-between still as there is currently no api to directly use GPU tensors

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

2 participants