2018-11-08 20:05:46 +08:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2018 Intel Corporation
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "runtime/os_interface/os_context.h"
|
|
|
|
|
|
|
|
namespace OCLRT {
|
|
|
|
class Drm;
|
|
|
|
using OsContextLinux = OsContext::OsContextImpl;
|
|
|
|
|
|
|
|
class OsContext::OsContextImpl {
|
|
|
|
public:
|
2018-11-26 21:04:52 +08:00
|
|
|
OsContextImpl(Drm &drm, EngineInstanceT engineType);
|
|
|
|
unsigned int getEngineFlag() const { return engineFlag; }
|
2018-11-08 20:05:46 +08:00
|
|
|
|
|
|
|
protected:
|
2018-11-26 21:04:52 +08:00
|
|
|
unsigned int engineFlag = 0;
|
2018-11-08 20:05:46 +08:00
|
|
|
Drm &drm;
|
|
|
|
};
|
|
|
|
} // namespace OCLRT
|