Hi,
I’ve just realized that CuArrays seems to be deprecated in favour of CUDA.jl.
Now I tried
add CUDA
and failed, but did work
add CUDA.jl
why the .jl? Anyway it is not critical… Still I have lots of code lines written
with CuArrays, and was wondering if sentences like
CuArrays.zeros(100)
will cease to work. If that was the case I’ll be in big trouble…
Hopefully somebody can explain the status of things now?
Thanks in advance,
Ferran.
add CUDA
should work, just tried it locally. I would try it in a fresh project and post any errors here/on GitHub if you still run into them.
Still I have lots of code lines written
with CuArrays, and was wondering if sentences like…
I believe most all of the CuArrays interface should be exported under the CUDA namespace now. Porting should be a simple find-and-replace (e.g. just tested CuArrays.zeros
→ CUDA.zeros
)
Hopefully somebody can explain the status of things now?
You can safely get rid of CuArrays, CUDAnative, CUDAdrv and CUDAapi now! See this announcement.
4 Likes