# How to use CLArray with OpenCL 0.10

**URL:** <https://discourse.julialang.org/t/how-to-use-clarray-with-opencl-0-10/125757>\
**Category:** GPU\
**Created:** [February 10, 2025, 5:21pm UTC](https://discourse.julialang.org/t/how-to-use-clarray-with-opencl-0-10/125757 "2025-02-10T17:21:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jheinen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jheinen/32/2787_2.png) [@jheinen](https://discourse.julialang.org/u/jheinen)\
**Post date:** [February 10, 2025, 5:21pm UTC](https://discourse.julialang.org/t/how-to-use-clarray-with-opencl-0-10/125757/1 "2025-02-10T17:21:17Z")

</div>

I migrated the [GR Mandelbrot example](https://github.com/jheinen/GR.jl/blob/master/examples/mandel_ocl.jl) to OpenCL 0.10 (based on [this](https://github.com/JuliaGPU/OpenCL.jl/blob/master/examples/notebooks/mandelbrot_fractal.ipynb) notebook).  
Unfortunately I could not use the `access` parameter in `CLArray()`. Does this feature require special package versions?

---

<div class="post-metadata">

**Author:** ![maleadt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maleadt/32/10097_2.png) [@maleadt](https://discourse.julialang.org/u/maleadt)\
**Post date:** [February 10, 2025, 7:47pm UTC](https://discourse.julialang.org/t/how-to-use-clarray-with-opencl-0-10/125757/2 "2025-02-10T19:47:44Z")

</div>

CLArray doesn’t currently expose an `access` parameter from the underlying buffer. I’m not sure if we should add this; SVM buffers support it, but USM buffers don’t AFAICT.
