mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 18:06:32 +08:00
19 lines
492 B
C++
19 lines
492 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "runtime/os_interface/os_context.h"
|
|
|
|
namespace OCLRT {
|
|
class MockOsContext : public OsContext {
|
|
public:
|
|
MockOsContext(OSInterface *osInterface, uint32_t contextId, uint32_t numDevicesSupported,
|
|
EngineInstanceT engineType, PreemptionMode preemptionMode)
|
|
: OsContext(contextId, numDevicesSupported, engineType, preemptionMode) {}
|
|
};
|
|
} // namespace OCLRT
|