cub::SyncStream

Defined in cub/util_device.cuh

inline cudaError_t cub::SyncStream([[maybe_unused]] cudaStream_t stream)

Synchronize the specified stream when called in host code. Otherwise, does nothing.