thrust / dependencies /libcudacxx /docs /extended_api /synchronization_primitives /pipeline /producer_commit.md
metadata
grand_parent: Pipelines
parent: cuda::pipeline
cuda::pipeline::producer_commit
Defined in header <cuda/pipeline>:
template <cuda::thread_scope Scope>
__host__ __device__
void cuda::pipeline<Scope>::producer_commit();
Commits operations previously issued by the current thread to the current pipeline stage.
Expects
If the calling thread is a consumer thread, the behavior is undefined.
The pipeline is in a quitted state (see cuda::pipeline::quit), the
behavior is undefined.