mirror of
https://github.com/intel/compute-runtime.git
synced 2025-06-28 17:58:30 +08:00

Related-To: NEO-4645 Change-Id: I5fe52cd9ffefea4f131a5b79b292175106a082c0 Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
23 lines
652 B
C++
23 lines
652 B
C++
/*
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/os_interface/os_context.h"
|
|
|
|
namespace NEO {
|
|
class MockOsContext : public OsContext {
|
|
public:
|
|
using OsContext::getDeviceBitfield;
|
|
|
|
MockOsContext(uint32_t contextId, DeviceBitfield deviceBitfield,
|
|
aub_stream::EngineType engineType, PreemptionMode preemptionMode,
|
|
bool lowPriority, bool internalEngine, bool rootDevice)
|
|
: OsContext(contextId, deviceBitfield, engineType, preemptionMode,
|
|
lowPriority, internalEngine, rootDevice) {}
|
|
};
|
|
} // namespace NEO
|