Files
compute-runtime/runtime/os_interface/linux/os_interface.cpp
Piotr Maciejewski d1d794c658 Metrics Library Performance Counters implementation.
Signed-off-by: Piotr Maciejewski <piotr.maciejewski@intel.com>
Change-Id: I0f00dca1892f4857baaebc75ba2208a4f33db1bf
2019-07-04 15:56:47 +02:00

30 lines
479 B
C++

/*
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "os_interface.h"
namespace NEO {
bool OSInterface::osEnabled64kbPages = false;
OSInterface::OSInterface() {
osInterfaceImpl = new OSInterfaceImpl();
}
OSInterface::~OSInterface() {
delete osInterfaceImpl;
}
bool OSInterface::are64kbPagesEnabled() {
return osEnabled64kbPages;
}
uint32_t OSInterface::getDeviceHandle() const {
return 0;
}
} // namespace NEO