Files
compute-runtime/opencl/test/unit_test/fixtures/platform_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

25 lines
409 B
C++

/*
* Copyright (C) 2018-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "opencl/source/api/cl_types.h"
#include "opencl/source/platform/platform.h"
namespace NEO {
class PlatformFixture {
protected:
void setUp();
void tearDown();
Platform *pPlatform = nullptr;
cl_uint num_devices = 0u;
cl_device_id *devices = nullptr;
};
} // namespace NEO