Files
compute-runtime/opencl/test/unit_test/fixtures/platform_fixture.h
kamdiedrich e8852a68c4 Reorganization directory structure [2/n]
Change-Id: I47962d17d755e80dcd9476e1ed75560f433f6115
2020-02-23 12:01:27 +01:00

30 lines
440 B
C++

/*
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "opencl/source/api/cl_types.h"
#include "opencl/source/platform/platform.h"
namespace NEO {
struct HardwareInfo;
class PlatformFixture {
public:
PlatformFixture();
protected:
void SetUp();
void TearDown();
Platform *pPlatform;
cl_uint num_devices;
cl_device_id *devices;
};
} // namespace NEO