mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Create new OsContext per CSR Change-Id: I8dad7fc1ab450e560f78eba3152b5913791e59a3 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
23 lines
506 B
C++
23 lines
506 B
C++
/*
|
|
* Copyright (C) 2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace OCLRT {
|
|
class CommandStreamReceiver;
|
|
class OsContext;
|
|
|
|
struct EngineControl {
|
|
EngineControl() = default;
|
|
EngineControl(CommandStreamReceiver *commandStreamReceiver, OsContext *osContext)
|
|
: commandStreamReceiver(commandStreamReceiver), osContext(osContext){};
|
|
|
|
CommandStreamReceiver *commandStreamReceiver = nullptr;
|
|
OsContext *osContext = nullptr;
|
|
};
|
|
} // namespace OCLRT
|