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 01:46:50 +08:00
|
|
|
#include "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,
|
2019-03-27 17:06:29 +08:00
|
|
|
aub_stream::EngineType engineType, PreemptionMode preemptionMode, bool lowPriority)
|
2019-03-18 20:57:59 +08:00
|
|
|
: OsContext(contextId, deviceBitfield, engineType, preemptionMode, lowPriority) {}
|
2019-02-27 18:17:17 +08:00
|
|
|
};
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|