mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 17:00:59 +08:00
Change-Id: Ie708a944130884248499091854ebc483953fa828 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
33 lines
554 B
C++
33 lines
554 B
C++
/*
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "core/os_interface/linux/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;
|
|
}
|
|
|
|
void OSInterface::setGmmInputArgs(void *args) {}
|
|
|
|
} // namespace NEO
|