An execution stream.
More...
#include <mkldnn.hpp>
An execution stream.
- Examples:
- cpu_cnn_inference_f32.cpp, cpu_cnn_inference_int8.cpp, cpu_cnn_training_bf16.cpp, cpu_cnn_training_f32.cpp, cpu_getting_started.cpp, cpu_memory_format_propagation.cpp, cpu_performance_profiling.cpp, cpu_rnn_inference_f32.cpp, cpu_rnn_inference_int8.cpp, cpu_rnn_training_f32.cpp, gpu_getting_started.cpp, and gpu_opencl_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.
|
◆ handle() [1/2]
Constructs a C handle wrapper.
- Parameters
-
t | The C handle to wrap. |
weak | A flag to specify whether to construct a weak wrapper. |
◆ handle() [2/2]
Empty constructor.
Allows declaring an object before actual initialization (mostly for convenience).
- Warning
- Uninitialized object cannot be used in any library calls. Any attempt to use its methods or passing it to the other library function will lead to a thrown exception.
The documentation for this struct was generated from the following file: