# With ParallelStencil, is it possible to launch multiple kernels and sync later?

**URL:** <https://discourse.julialang.org/t/with-parallelstencil-is-it-possible-to-launch-multiple-kernels-and-sync-later/127843>\
**Category:** GPU\
**Created:** [April 8, 2025, 1:04pm UTC](https://discourse.julialang.org/t/with-parallelstencil-is-it-possible-to-launch-multiple-kernels-and-sync-later/127843 "2025-04-08T13:04:39Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![samo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/samo/32/35398_2.png) [@samo](https://discourse.julialang.org/u/samo)\
**Post date:** [April 8, 2025, 4:50pm UTC](https://discourse.julialang.org/t/with-parallelstencil-is-it-possible-to-launch-multiple-kernels-and-sync-later/127843/6 "2025-04-08T16:50:34Z")

</div>

Check out the following: [CUDA streams do not overlap](https://discourse.julialang.org/t/cuda-streams-do-not-overlap/24879)

… and note that you can also use `ParallelStencil.ParallelKernel.@get_priority_stream(i)`.

However, you might rather want to create one or a few larger kernel instead of all these small kernels…

---

_[View the full topic](https://discourse.julialang.org/t/with-parallelstencil-is-it-possible-to-launch-multiple-kernels-and-sync-later/127843)._
