Files
compute-runtime/opencl/test/unit_test/fixtures/platform_fixture.h
Mateusz Hoppe 71fb9c176b test: disable context group in ocl ULTs where it is not needed
Related-To: NEO-13789

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-01-24 19:59:42 +01:00

28 lines
516 B
C++

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