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 10 got a different path for libdevice #143
Comments
But after modifying
I am using CUDA 10.0 on Windows 10 and building the example project shape from shading. |
Windows 10 is not currently a supported platform for CUDA I think. Also you will need the latest Terra compiled from source. |
I see, I think if I use a CUDA version other than 7.5, I should compile terra from source. But CUDA 10.0 actually supports Windows 10. |
s/for CUDA/for Terra CUDA support/g :) |
@ProfFan What version of LLVM are you using? |
I followed the commit on https://marc.info/?l=llvm-commits&m=153783073315460&w=2 and add some enums to my LLVM 6.0.1 source code. Now it works, but this warning |
The warning can be safely ignored. |
Please tell me your LLVM version @ProfFan, cause I am still encountering a strange problem with modified LLVM 6.0.1. The shape from shading example compiles and runs, but the OptGN method does not converge and final cost rises to 3000 (initial cost is 128), while OptLM method reverts every iteration. |
I think there are some problems with cuda's math library, maybe just adding new enums to LLVM cannot get it to produce right PTX (CUDA 10 requires PTX 6.3 while LLVM 6.0.1 still generates PTX 6.0). |
Are you using the latest Terra compiled from source? Mine is CUDA 10 and LLVM 7. LLVM 5 is super buggy itself and is not recommended even not for Terra. |
Also if you are referring to the SfS example, it does not work for me either. |
I wonder if the SfS example error is related to #136. I will be testing in the coming days. |
I got the same error on win10 and CUDA 10.1, have you fixed it and how? |
patch at util.t:
After it works fine.
The text was updated successfully, but these errors were encountered: