# Performance issue with broadcasting of custom array wrapper wrapping a CuArray

**URL:** <https://discourse.julialang.org/t/performance-issue-with-broadcasting-of-custom-array-wrapper-wrapping-a-cuarray/32818>\
**Category:** GPU\
**Tags:** question, performance, broadcast\
**Created:** [December 31, 2019, 7:43am UTC](https://discourse.julialang.org/t/performance-issue-with-broadcasting-of-custom-array-wrapper-wrapping-a-cuarray/32818 "2019-12-31T07:43:13Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [December 31, 2019, 6:41pm UTC](https://discourse.julialang.org/t/performance-issue-with-broadcasting-of-custom-array-wrapper-wrapping-a-cuarray/32818/6 "2019-12-31T18:41:39Z")

</div>

There’s been some developments, [Code using Flux slow on GPU - #10 by maleadt](https://discourse.julialang.org/t/code-using-flux-slow-on-gpu/30696/10), but I’m not sure if anybody’s actively working on it. For now, Adapt.jl plus some quirks in CuArrays.jl/GPUArrays.jl covers most uses (except for custom wrappers, and using multiple wrappers).

---

_[View the full topic](https://discourse.julialang.org/t/performance-issue-with-broadcasting-of-custom-array-wrapper-wrapping-a-cuarray/32818)._
