Stream#

template<class native_stream_type, class = typename std::enable_if<is_stream_supported<native_stream_type>()>::type> stream CCL_API create_stream (native_stream_type &native_stream)

Creates a new stream from @native_stream_type.

Parameters

native_stream – the existing handle of stream

Returns

stream object

stream CCL_API create_stream ()