-
Notifications
You must be signed in to change notification settings - Fork 137
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
Asserting even if CUDA is installed #3
Comments
Hi, CMake probably failed to find nvcc in your case. I slightly modified the building process to make it less confusing. Can you try again? If it still doesn't work, can you show me where is your nvcc, and the CUDA-related variables in your CMakeCache.txt? Maybe also show the log of make VERBOSE=1 |
Sweet! It works now but I'm getting a bus error when I run the tests
|
Interesting. What is the compute capability of your GPU? Do you know which line the code crashed? |
I have a K40 (3.5) and TitanX (5.2) and it's failing on both of them. My guess is it's crashing on the CPU. I'll find out at what line it's crashing |
It's crashing on line 64
|
Can you maybe run a debugger on python (e.g. gdb python, run test_shadow_light.py), and find out which line in the C++ that crashes? |
Here's the line:
|
I supposed it's because I didn't synchronize the kernel. I pushed some fix. Let me know if it fixes the problem. |
The test runs fine on the CPU with your latest push. But I get this on either GPUs
|
Probably the same issue. I pushed another fix that adds more synchronizations. Let me know if there's more issues. |
All tests are running fine now. Awesome! Thanks! |
I started to have this assertion error after using the Redner a while , scene.cpp , line 125, when using calling path tracing functions from Jupyter notebook , but not from .py files so far. |
You probably did |
I actually initially installed GPU version and then after awhile had issues, however that is probably an issue happened in my system, oddly py files were running smoothly still, and they were using the same environment. Reinstalling redner-gpu seems to be working now. |
I'm getting this assert for all tests. I have CUDA installed and enabled during CMake.
Here's the snippet from
scene.cpp
. I'm guessing nvcc is not being used to compilescene.cpp
The text was updated successfully, but these errors were encountered: