2019-02-27 18:17:17 +08:00
|
|
|
/*
|
2021-02-10 23:13:50 +08:00
|
|
|
* Copyright (C) 2019-2021 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:
|
2021-02-10 23:13:50 +08:00
|
|
|
using OsContext::checkDirectSubmissionSupportsEngine;
|
|
|
|
using OsContext::engineType;
|
2020-06-03 18:31:33 +08:00
|
|
|
using OsContext::getDeviceBitfield;
|
|
|
|
|
2021-08-12 01:36:00 +08:00
|
|
|
MockOsContext(uint32_t contextId, const EngineDescriptor &engineDescriptorHelper)
|
|
|
|
: OsContext(contextId, engineDescriptorHelper) {}
|
2019-02-27 18:17:17 +08:00
|
|
|
};
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|