-
Notifications
You must be signed in to change notification settings - Fork 11
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
Linker fails on Windows #17
Comments
Unfortunately, it's known limitation of The problem originates in rustc-llvm-proxy and I created a ticket there: denzp/rustc-llvm-proxy#1 |
Tried using
|
Sorry, it took me a while to fix this and pass all test without access to the real Windows environment. I published |
It would be nice if this was listed in the README, the issue is hidden and you have to search for the error message to find it. |
also @bheisler how did you handle the error "note: ld: cannot find -lcuda" for windows? |
@TuckerBMorgan I'm using git-bash(/MinGW) as my shell, so I just used |
@bheisler Thanks!, I am trying to run your code and I will get "LaunchFailure", or "LaunchTimeout" after it runs for a little bit, and I never get a output image. |
That sounds like the watchdog timer killing the CUDA kernel. If you're running a kernel on the same GPU as your display, most operating systems will reset the card and kill the kernel if it runs longer than a few seconds. The screen can't update while the kernel is running, so this helps ensure that a long-running (or infinite-looping) kernel doesn't lock up the machine. If you're using my path tracer code, you might have to play around with the complexity of the scene or the ROUND_COUNT/RAY_COUNT constants in the kernel to find a workload that your card can complete without hitting the timeout. |
I tried to compile some of the code from rust-inline-cuda-tutorial on Windows, and encountered this error:
I think this is the important bit:
Unable to find symbol 'LLVMContextCreate' in the LLVM shared lib
The text was updated successfully, but these errors were encountered: