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
LLVM error: Cannot cast between two non-generic address spaces #190
Comments
I get the exact same error. It was working fine until I uninstalled some older versions of GCC I think (unless it's a coincidence). I haven't been able to fix it, removing the artifact, creating new environments, nothing works. Native CUDA tests run fine though. I do not get this error when using the deprecated |
I'm not seeing this, but instead:
with Julia 1.3, 1,4 and both CUDA#master and released v0.1. |
Hmm, I just ran it in a clean environment and now I get
so that looks like it's my fault. |
Although I don't see anything in the code that looks suspicious. |
That one is fixed on CUDA#master. I guess it also includes the |
Just tested with CuArrays/CUDAnative, and also get these compilation failures (not the LLVM error). @TommyXR do you have another reproducer? |
So with CuArrays, I get no problem. I can install the package, use functions like With CUDA, on 0.1.0, I can create arrays, modify them with scalar indexing, but as soon as I try to make any broadcasting operation on them (like adding them with I am on Julia 1.4.1. I tried using the CUDA master branch, but I get an unsatisfiable requirement, even with a clean environment.
I tried installing |
You need to use the Manifest.
That's strange, as we have CI for Julia 1.4 so that ought to work just fine. Please provide more details: platform, exact Julia version (where you got it from), a minimal reproducer, other package versions, etc. |
Sorry for the reply delay, I didn't have access to a computer yesterday. Here are the specs of my machine:
Using the CUDA#master manifest, you can just pull it and run
|
Try with a binary Julia from https://julialang.org/downloads/ |
So everything works fine with the Looks like either Thank you a lot for the help! |
Our LLVM is heavily patched, and distributions often do not use exactly the same patchset, which might explain this error. Glad it got resolved! |
The following works:
The text was updated successfully, but these errors were encountered: