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

CUDA device selection support #449

Merged
merged 1 commit into from
Jun 9, 2020
Merged

Conversation

erikwijmans
Copy link
Contributor

Add support for CUDA device selection to Magnum's EGL context. When using WindowlessEglApplication, this can be specified via --magnum-cuda-device. Otherwise, whether or not a device is a CUDA device is specified by setDeviceIsCuda().

@mosra Does the CI have an NV gpu to test this with?

Copy link
Owner

@mosra mosra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is great -- saves me a lot of time.

src/Magnum/Platform/WindowlessEglApplication.h Outdated Show resolved Hide resolved
src/Magnum/Platform/WindowlessEglApplication.h Outdated Show resolved Hide resolved
src/Magnum/Platform/WindowlessEglApplication.h Outdated Show resolved Hide resolved
src/Magnum/Platform/WindowlessEglApplication.cpp Outdated Show resolved Hide resolved
src/Magnum/Platform/WindowlessEglApplication.cpp Outdated Show resolved Hide resolved
src/Magnum/Platform/WindowlessEglApplication.cpp Outdated Show resolved Hide resolved
src/Magnum/Platform/WindowlessEglApplication.cpp Outdated Show resolved Hide resolved
src/Magnum/Platform/WindowlessEglApplication.cpp Outdated Show resolved Hide resolved
src/Magnum/Platform/WindowlessEglApplication.cpp Outdated Show resolved Hide resolved
@mosra mosra added this to TODO in GL via automation Jun 9, 2020
@mosra mosra added this to the 2020.0a milestone Jun 9, 2020
@mosra mosra merged commit 7514716 into mosra:master Jun 9, 2020
GL automation moved this from TODO to Done Jun 9, 2020
@mosra
Copy link
Owner

mosra commented Jun 9, 2020

🎉

@mosra mosra mentioned this pull request Jun 9, 2020
87 tasks
@erikwijmans erikwijmans deleted the cuda-device-egl branch June 9, 2020 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
GL
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants