Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / src / mkldnn_plugin / config.h
1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4
5 #pragma once
6
7 #include <string>
8 #include <map>
9
10 namespace MKLDNNPlugin {
11
12 struct Config {
13     bool useThreadBinding = true;
14     bool collectPerfCounters = false;
15     bool exclusiveAsyncRequests = false;
16     bool enableDynamicBatch = false;
17     std::string dumpToDot = "";
18     int batchLimit = 0;
19     int throughputStreams = 1;
20     int threadsNum = 0;
21
22     void readProperties(const std::map<std::string, std::string> &config);
23 };
24
25 }  // namespace MKLDNNPlugin
26