Skip to content

warp.sim and Multi-GPU #286

Answered by shi-eric
knauth asked this question in Q&A
Aug 6, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I think it's highly dependent on how you envision leveraging multiple GPUs in your application. You won't be able to set a few flags and have a previously single-GPU Warp application automatically decide how to best make use of two GPUs. Instead, you currently need to be explicit about which arrays are allocated on which devices (e.g. cuda:0, cuda:1, cuda:2, etc.), which devices are used for kernel launches, when streams from different devices need to be synchronized with each other, and when copies are needed between Warp arrays allocated on different devices.

Some examples:

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@knauth
Comment options

Answer selected by knauth
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