Struct ov::threading::IStreamsExecutor::Config#
-
struct Config#
Defines IStreamsExecutor configuration.
Public Types
-
enum class StreamsMode#
This enum contains definition of each sub streams mode, indicating the main stream situation.
Values:
-
enumerator SUB_STREAMS_NULL#
Do not create sub streams.
-
enumerator SUB_STREAMS_FOR_SOCKET#
Create sub streams for multiple sockets in main stream.
-
enumerator LATENCY#
latency mode
-
enumerator THROUGHPUT#
throughput mode
-
enumerator SUB_STREAMS_NULL#
Public Functions
-
inline Config(std::string name = "StreamsExecutor", int streams = 1, int threads_per_stream = 0, ov::hint::SchedulingCoreType thread_preferred_core_type = ov::hint::SchedulingCoreType::ANY_CORE, bool cpu_reservation = false, bool cpu_pinning = false, std::vector<std::vector<int>> streams_info_table = {}, std::vector<int> rank = {})#
A constructor with arguments.
- Parameters:
name – [in] The executor name
streams – [in]
threads_per_stream – [in]
thread_preferred_core_type – [in]
cpu_reservation – [in]
cpu_pinning – [in]
streams_info_table – [in]
rank – [in]
-
void set_property(const ov::AnyMap &properties)#
Sets configuration.
- Parameters:
properties – map of properties
-
enum class StreamsMode#