mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00

Signed-off-by: Piotr Maciejewski <piotr.maciejewski@intel.com> Change-Id: I0f00dca1892f4857baaebc75ba2208a4f33db1bf
30 lines
479 B
C++
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
|