summaryrefslogtreecommitdiff
path: root/inference-engine/src/mkldnn_plugin/config.h
blob: 0bb390c51e3f179b4530ed21eb3525499d2962d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (C) 2018 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0
//

#pragma once

#include <string>
#include <map>

namespace MKLDNNPlugin {

struct Config {
    bool useThreadBinding = true;
    bool collectPerfCounters = false;
    bool exclusiveAsyncRequests = false;
    bool enableDynamicBatch = false;
    int batchLimit = 0;

    void readProperties(const std::map<std::string, std::string> &config);
};

}  // namespace MKLDNNPlugin