Files
compute-runtime/runtime/os_interface/os_interface.h
Mateusz Jablonski 495f0e8530 Remove not needed header inclusions
use full path when include header

Change-Id: I0cae6300b86173aea0f4267282e68aa5107fc1e2
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-12-11 16:44:12 +01:00

35 lines
698 B
C++

/*
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <cstdint>
namespace NEO {
class OSInterface {
public:
class OSInterfaceImpl;
OSInterface();
virtual ~OSInterface();
OSInterface(const OSInterface &) = delete;
OSInterface &operator=(const OSInterface &) = delete;
OSInterfaceImpl *get() const {
return osInterfaceImpl;
};
static bool osEnabled64kbPages;
static bool osEnableLocalMemory;
static bool are64kbPagesEnabled();
uint32_t getDeviceHandle() const;
void setGmmInputArgs(void *args);
protected:
OSInterfaceImpl *osInterfaceImpl = nullptr;
};
} // namespace NEO