# Enzyme Cuda dynamic memory

**URL:** <https://discourse.julialang.org/t/enzyme-cuda-dynamic-memory/111063>\
**Category:** GPU\
**Created:** [March 2, 2024, 3:46pm UTC](https://discourse.julialang.org/t/enzyme-cuda-dynamic-memory/111063 "2024-03-02T15:46:31Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Jakub\_Mitura](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jakub_mitura/32/19496_2.png) [@Jakub\_Mitura](https://discourse.julialang.org/u/Jakub_Mitura)\
**Post date:** [June 13, 2024, 6:37am UTC](https://discourse.julialang.org/t/enzyme-cuda-dynamic-memory/111063/11 "2024-06-13T06:37:40Z")

</div>

Yes it was an issue, However when I added Enzyme.Reverse, now compilation hangs for couple hours. Still the issue is low priority for me at the moment, and I do not want to take you from other tasks to look into this.

```julia
Enzyme.autodiff_deferred(Enzyme.Reverse,mul_kernel, Const, Duplicated(A, dA))

```

---

_[View the full topic](https://discourse.julialang.org/t/enzyme-cuda-dynamic-memory/111063)._
