# Dynamic parallelism slow in CUDA.jl

**URL:** <https://discourse.julialang.org/t/dynamic-parallelism-slow-in-cuda-jl/117463>\
**Category:** GPU\
**Created:** [July 25, 2024, 10:39am UTC](https://discourse.julialang.org/t/dynamic-parallelism-slow-in-cuda-jl/117463 "2024-07-25T10:39:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [July 25, 2024, 6:09pm UTC](https://discourse.julialang.org/t/dynamic-parallelism-slow-in-cuda-jl/117463/2 "2024-07-25T18:09:50Z")

</div>

> **[CUDA Dynamic Parallelism API and Principles | NVIDIA Technical Blog](https://developer.nvidia.com/blog/cuda-dynamic-parallelism-api-principles/)**
>
> This post is the second in a series on CUDA Dynamic Parallelism. In my first post, I introduced Dynamic Parallelism by using it to compute images of the Mandelbrot set using recursive subdivision…

> By default, space is reserved for 2048 pending child grids; this can be extended by setting the appropriate device limit, as in the following code.  
> …  
> The runtime first tries to add the newly launched grid to the fixed-size pool, and if it is full, uses the virtualized pool. While this means that grids are queued successfully, the costs of using the virtualized pool are higher than those of the fixed-size pool.

---

_[View the full topic](https://discourse.julialang.org/t/dynamic-parallelism-slow-in-cuda-jl/117463)._
