blob: 0484bb571ffb674dc7050203040f8111d8ec30ff (
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
25
26
27
28
29
30
31
32
|
// Copyright (C) 2018 Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0
//
/**
* @brief WINAPI based code
* @file win_omp_manager.h
*/
#pragma once
#include <thread>
#include <vector>
namespace MKLDNNPlugin {
namespace cpu {
class OpenMpManager {
public:
static int getOpenMpThreadNumber() {
return getCoreNumber();
}
static int getCoreNumber() {
return 4;
}
};
} // namespace cpu
} // namespace MKLDNNPlugin
|