Skip to content

Support for multi-GPU machines (sort devices by performance) #246

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

Closed
1 of 2 tasks
PokhodenkoSA opened this issue Jan 22, 2021 · 1 comment
Closed
1 of 2 tasks

Support for multi-GPU machines (sort devices by performance) #246

PokhodenkoSA opened this issue Jan 22, 2021 · 1 comment

Comments

@PokhodenkoSA
Copy link
Contributor

PokhodenkoSA commented Jan 22, 2021

Features:

  • select which GPU to use
  • sort GPUs for selecting fastest as default
@diptorupd
Copy link
Contributor

The first feature request "select which GPU to use" was implemented recently and will be part of 0.7. We can use DPC++'s SYCL_DEVICE_FILTER environment variable to control what SYCL devices are not rejected by the runtime.

The second feature about selecting fasted device is outside the scope of dpctl. In CUDA, the CUDA runtime provides the functionality to select fastest device and limits which devices are visible. If a similar feature is needed, DPC++ will have to provide the functionality. However, using device enumeration and device properties a user can potentially design such a device selection logic in dpctl.

Closing the issue. Please reopen if needed.

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