mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
Update winml to use #cores - #soc cores by Default as the number of intraopthreads --------- Co-authored-by: Sheil Kumar <sheilk@microsoft.com>
11 lines
274 B
C++
11 lines
274 B
C++
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
#pragma once
|
|
|
|
namespace WINMLP {
|
|
struct HardwareCoreEnumerator {
|
|
HardwareCoreEnumerator() = delete;
|
|
static uint32_t DefaultIntraOpNumThreads();
|
|
};
|
|
} // namespace WINMLP
|