Files
compute-runtime/opencl/test/unit_test/fixtures/context_fixture.h
Mateusz Jablonski bca852617c Remove usage of TestLegacy from opencl tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-16 22:16:48 +02:00

22 lines
340 B
C++

/*
* 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);
void tearDown();
MockContext *pContext = nullptr;
};
} // namespace NEO