Skip to navigation

holoscan::synchronize_cuda_stream_for_host

Beta
View as Markdown
HOLOSCAN_CORE_EXPORT expected<void, Error> holoscan::synchronize_cuda_stream_for_host(
cudaStream_t producer_stream
)

Block the host until producer_stream completes prior Tensor-producing work.

Returns: Empty on success, or an Error describing the failed CUDA call.

Parameters

producer_stream
cudaStream_t

The stream to synchronize against.