cuda::pipeline::consumer_release

cuda::pipeline::consumer_release#

2026-10-01

2 min read time

Applies to Linux and Windows

This page documents cuda::pipeline::consumer_release, which releases the current pipeline stage for reuse by producer threads.

Defined in header <cuda/pipeline>:

template <cuda::thread_scope Scope>
__host__ __device__
void cuda::pipeline<Scope>::consumer_release();

Releases the current pipeline stage.

Note

  • If the calling thread is a producer thread, the behavior is undefined.

  • If the pipeline is in a quitted state, the behavior is undefined.