streamSynchronize

external fun streamSynchronize(hStream: Long): Int

Wait until a stream's tasks are completed. (cuStreamSynchronize)