2019-02-27 18:17:17 +08:00
|
|
|
/*
|
2020-01-13 21:47:05 +08:00
|
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
2019-02-27 18:17:17 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/os_interface/os_context.h"
|
2019-02-27 18:17:17 +08:00
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2019-02-27 18:17:17 +08:00
|
|
|
class MockOsContext : public OsContext {
|
|
|
|
public:
|
2019-03-18 20:57:59 +08:00
|
|
|
MockOsContext(uint32_t contextId, DeviceBitfield deviceBitfield,
|
2020-03-04 06:33:31 +08:00
|
|
|
aub_stream::EngineType engineType, PreemptionMode preemptionMode,
|
|
|
|
bool lowPriority, bool internalEngine, bool rootDevice)
|
|
|
|
: OsContext(contextId, deviceBitfield, engineType, preemptionMode,
|
|
|
|
lowPriority, internalEngine, rootDevice) {}
|
2019-02-27 18:17:17 +08:00
|
|
|
};
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|