# CUDAnative: examples using CUDA streams?

**URL:** <https://discourse.julialang.org/t/cudanative-examples-using-cuda-streams/24702>\
**Category:** GPU\
**Tags:** question\
**Created:** [May 28, 2019, 4:55pm UTC](https://discourse.julialang.org/t/cudanative-examples-using-cuda-streams/24702 "2019-05-28T16:55:01Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [June 4, 2019, 8:24am UTC](https://discourse.julialang.org/t/cudanative-examples-using-cuda-streams/24702/4 "2019-06-04T08:24:06Z")

</div>

@maleadt, to my understanding, these tests only check that `CuStream` creates a new, distinct stream at every invocation, but they do not test that these streams do overlap at execution, i.e. that the kernels on these streams run concurrently (or do I get it wrong?). Is there any test that checks this functionality?  
I am asking, because I cannot get streams to overlap as reported in [this topic](https://discourse.julialang.org/t/cuda-streams-do-not-overlap/24879). This is fundamental to overlap communication and computation in my application…

---

_[View the full topic](https://discourse.julialang.org/t/cudanative-examples-using-cuda-streams/24702)._
