mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 20:13:04 +08:00
devices.m separation for Linux
Change-Id: Ia8e430db4dfcefc1b19e23e9cd7113bf87f0a7af
This commit is contained in:
committed by
sys_ocldev
parent
6ef0581a02
commit
bdee42ca16
@@ -30,6 +30,8 @@
|
||||
#include <cerrno>
|
||||
#include <string>
|
||||
|
||||
struct GT_SYSTEM_INFO;
|
||||
|
||||
namespace OCLRT {
|
||||
|
||||
#define I915_PRIVATE_PARAM_HAS_EXEC_FORCE_NON_COHERENT (-1)
|
||||
@@ -38,6 +40,16 @@ namespace OCLRT {
|
||||
#define I915_CONTEXT_PRIVATE_PARAM_BOOST 0x80000000
|
||||
|
||||
class DeviceFactory;
|
||||
struct HardwareInfo;
|
||||
|
||||
struct DeviceDescriptor {
|
||||
unsigned short deviceId;
|
||||
const HardwareInfo *pHwInfo;
|
||||
void (*setupGtSystemInfo)(GT_SYSTEM_INFO *);
|
||||
GTTYPE eGtType;
|
||||
};
|
||||
|
||||
extern const DeviceDescriptor deviceDescriptorTable[];
|
||||
|
||||
class Drm {
|
||||
friend DeviceFactory;
|
||||
|
||||
Reference in New Issue
Block a user