Skip to content

GPU utilization #271

Answered by mloubout
NikoYura asked this question in Q&A
Sep 15, 2024 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

Is it possible to set environment parameters in the notebook instead of exporting?

There is a utility function set_devito_config that allows you to modify the devito configuration from a script or notebook. For example you can do set_devito_config("log-level", "DEBUG")

does splitting the algorithm into workers with distributed.jl package work similarly with GPU?

Yes it does, you might need to look at the CUDA.jl documentation to make sure each worker is pinned to its own GPU.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@NikoYura
Comment options

@mloubout
Comment options

@NikoYura
Comment options

@mloubout
Comment options

Answer selected by NikoYura
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants