-
Notifications
You must be signed in to change notification settings - Fork 407
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
Only one GPU usable on multi-GPU system #63
Comments
Verbose log: pbrt_2gpu_verbose.txt |
Setting the CUDA_VISIBLE_DEVICES environment variable to 1 allows pbrt to use the second GPU. Perhaps some piece of the GPU initialization code has GPU 0 hardcoded? |
Sorry for not looking at this sooner (and thanks for all of that information and that tidbit about CUDA_VISIBLE_DEVICES.) I've pushed a fix that might fix this, but am not sure since I can't repro it locally. When you have a chance, can you let me know if that helps? If it doesn't, then if you could try a run with a debug build, that'd be fantastic. It would also be interesting to know if it reproduces if you run with |
Yep, that fixed it! |
Yaay! |
Possible fix for mmp#63.
When attempting to use the second GPU on a multi-GPU system with current git version (f6c0495), I get:
Setup is CUDA 11.1 on Linux:
And, of course, support for using multiple GPUs at once would be great as well :)
The text was updated successfully, but these errors were encountered: