Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
This is a bug that has been going on for a while now (at least 3 months). It only occurs
with the apt version of julia. Everything works as expected with the
official tarball (with the same julia version).
How to reproduce
================
* Install julia and nvidia-cuda-toolkit
* Install the CUDA package using Pkg and run any broadcasting operation. For example: ```
using CUDA
CuArray(1:10) .+ 1
```
The error is "ERROR: LLVM error: Cannot cast between two non-generic address spaces".
The complete stacktrace can be found in the official repository issue
tracker with some discussion about the issue (https://github.com/JuliaGPU/CUDA.jl/issues/190).
It is suggested that this might have to do with a different LLVM patch?
But my knowledge on that subject is too limited so I cannot really tell more than that.
That's about it. Thank you!