An execution stream.
More...
#include <dnnl.hpp>
An execution stream.
- Examples:
- cnn_inference_f32.cpp, cnn_inference_int8.cpp, cnn_training_f32.cpp, cpu_cnn_training_bf16.cpp, cpu_rnn_inference_f32.cpp, cpu_rnn_inference_int8.cpp, cross_engine_reorder.cpp, getting_started.cpp, gpu_opencl_interop.cpp, memory_format_propagation.cpp, performance_profiling.cpp, rnn_training_f32.cpp, and sycl_interop.cpp.
◆ flags
Stream flags.
Enumerator |
---|
default_order | Default order execution.
Either in-order or out-of-order depending on the engine runtime
|
in_order | In-order execution.
|
out_of_order | Out-of-order execution.
|
default_flags | Default stream configuration.
|
◆ stream() [1/2]
dnnl::stream::stream |
( |
const engine & |
eng, |
|
|
cl_command_queue |
queue |
|
) |
| |
|
inline |
Constructs a stream associated with the engine eng
and with the OpenCL command queue queue
.
◆ stream() [2/2]
DNNL_API dnnl::stream::stream |
( |
const engine & |
eng, |
|
|
cl::sycl::queue & |
aqueue |
|
) |
| |
Constructs a stream for the specified engine and the SYCL queue.
- Parameters
-
eng | Engine object to use for the stream. |
aqueue | SYCL queue to use for the stream. |
The documentation for this struct was generated from the following file: