cuda::pipeline::quit
Defined in header <cuda/pipeline>
:
template <cuda::thread_scope Scope>
__host__ __device__
bool cuda::pipeline<Scope>::quit();
Quits the current thread’s participation in the collective ownership of the corresponding cuda::pipeline_shared_state. Ownership of cuda::pipeline_shared_state is released by the last invoking thread.
Return Value
true
if ownership of the shared state was released, otherwise false
.
Note
After the completion of a call to
cuda::pipeline::quit
, no other operations other than cuda::pipeline::~pipeline may called by the current thread.