Functions | |
dnnl_status_t DNNL_API | dnnl_stream_create (dnnl_stream_t *stream, dnnl_engine_t engine, unsigned flags) |
Creates an execution stream for engine and with flags . | |
dnnl_status_t DNNL_API | dnnl_stream_create_ocl (dnnl_stream_t *stream, dnnl_engine_t engine, cl_command_queue queue) |
Creates an execution stream for a given engine associated with an OpenCL command queue . More... | |
dnnl_status_t DNNL_API | dnnl_stream_get_ocl_command_queue (dnnl_stream_t stream, cl_command_queue *queue) |
Returns the OpenCL command queue associated with an execution stream . More... | |
dnnl_status_t DNNL_API | dnnl_stream_wait (dnnl_stream_t stream) |
Waits for all primitives in the execution stream to finish. | |
dnnl_status_t DNNL_API | dnnl_stream_destroy (dnnl_stream_t stream) |
Destroys an execution stream . | |
dnnl_status_t DNNL_API dnnl_stream_create_ocl | ( | dnnl_stream_t * | stream, |
dnnl_engine_t | engine, | ||
cl_command_queue | queue | ||
) |
Creates an execution stream
for a given engine
associated with an OpenCL command queue
.
dnnl_status_t DNNL_API dnnl_stream_get_ocl_command_queue | ( | dnnl_stream_t | stream, |
cl_command_queue * | queue | ||
) |
Returns the OpenCL command queue
associated with an execution stream
.