Files
compute-runtime/opencl/test/unit_test/fixtures/context_fixture.h

22 lines
464 B
C
Raw Normal View History

/*
* Copyright (C) 2018-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "CL/cl.h"
namespace NEO {
class MockContext;
class ContextFixture {
protected:
void SetUp(cl_uint numDevices, cl_device_id *pDeviceList); // NOLINT(readability-identifier-naming)
void TearDown(); // NOLINT(readability-identifier-naming)
MockContext *pContext = nullptr;
};
} // namespace NEO