mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 16:48:45 +08:00
- Move Engine type to OsContext - Move OsContext to CSR - Improve EngineMapper logic - CompletionStamp cleanup Change-Id: I935cb7169c8c48cd09837e20e3da06f6dd3437b9 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
24 lines
458 B
C++
24 lines
458 B
C++
/*
|
|
* 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:
|
|
OsContextImpl(Drm &drm, EngineInstanceT engineType);
|
|
unsigned int getEngineFlag() const { return engineFlag; }
|
|
|
|
protected:
|
|
unsigned int engineFlag = 0;
|
|
Drm &drm;
|
|
};
|
|
} // namespace OCLRT
|