-
Notifications
You must be signed in to change notification settings - Fork 205
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
9 cuda tests failed #586
Comments
the commands used to build from source
|
Hi @yys123456, I don't have a Windows dev box, so I'm going to need you to take the lead on fixing this. There may be a couple of other users hanging around the issue tracker who use Windows, but I don't know how many of them use CUDA on Windows. What I can tell you is that CUDA on Linux is tested regularly. So whatever is going on here is specific to either (a) Windows, (b) GTX1050ti, or (c) something particular to your dev machine. The parts of the build you've shown so far look fine. I think the next thing would be to look at the specific tests as see how they're failing. P.S. If you don't mind, it would be nice to copy-and-paste the screenshots as text instead of images. Thanks. |
Hi @elliottslaughter, I've run into a similar situation on Ubuntu 20.04 with CUDA 11.7 except that I don't have
I've compiled llvm from github release 16.0.4 along with Running some of the test files alone gives this:
Could it be a problem with compiling llvm? I tried a pre-compiled release of llvm 13 from its repo and I remember the tests all passed. But I was having problem with some old optimization code so I'm compiling everything altogether |
Where is your CUDA installed to? It's probably just missing the correct path. E.g., if your CUDA is installed to
|
Thanks for the reply! I followed the instructions on NVIDIA's website, and |
Try setting |
Thanks for the help! Now all tests have passed. I'm wondering if I missed any steps while compiling from code. Or should I set up the environment variables when using terra? |
No, it is not expected that you should need to set these variables. Something is going wrong. Please got to print("CUDA_HOME", os.getenv("CUDA_HOME"))
print("terra.cudahome", terra.cudahome)
for k,v in pairs(terra.cudalibpaths) do
print("terra.cudalibpaths", k, v)
end Note that due to build glitches, you may need to |
Hi @elliottslaughter, somehow I couldn't reproduce the problem anymore. I've been uninstalling and reinstalling CUDA and I've tried multiple versions and reverted to 11.7. Maybe it has something to do with how CUDA was installed?
|
I tried to build the terra from the source using CMake, and it was all good until running the terra test, 9 tests starting with
cuda
couldn't pass, but some other tests beginning with cuda likecudaprintf
passed.the environment on my computer:
CUDA11.7
,Visual Studio 17 2022
,GTX1050ti
,clang+llvm-11.1.0-x86_64-windows-msvc17
The text was updated successfully, but these errors were encountered: