-
Notifications
You must be signed in to change notification settings - Fork 9
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
Why can't I run this on any CUDA device except cuda:0? #10
Comments
I'm curious if our original code can run on different cuda devices on your server? If you do not add CUDV_VISIBLE_DEVICE, you need to revise this code: Line 28 in f06988c
|
In my codebase, I am just using the I assumed it could be because the cuda code is running on cuda:0 by default (for rendering). So I added |
I tried to modify the codebase a little to allow me to run it on different cuda device but I always end up with an "illegal memory access was encountered" error if I use anything other than cuda:0. Any idea why this is happening and how I can fix it?
I believe the error originates in the project_gaussians_2d function. If I use cuda:1 device and try to print
xys
(or any other output from this function), I get the cuda illegal memory access error. However, if I use cuda:0, they print out just fine.The text was updated successfully, but these errors were encountered: