# CuArrays deprecated?

**URL:** <https://discourse.julialang.org/t/cuarrays-deprecated/43064>\
**Category:** GPU\
**Created:** [July 14, 2020, 4:48pm UTC](https://discourse.julialang.org/t/cuarrays-deprecated/43064 "2020-07-14T16:48:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ToucheSir](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/touchesir/32/14411_2.png) [@ToucheSir](https://discourse.julialang.org/u/ToucheSir)\
**Post date:** [July 14, 2020, 5:42pm UTC](https://discourse.julialang.org/t/cuarrays-deprecated/43064/2 "2020-07-14T17:42:51Z")

</div>

`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](https://discourse.julialang.org/t/psa-cuda-jl-replacing-cuarrays-jl-cudanative-jl-cudadrv-jl-cudaapi-jl-call-for-testing/40205).

---

_[View the full topic](https://discourse.julialang.org/t/cuarrays-deprecated/43064)._
