30 lines
432 B
C++
30 lines
432 B
C++
/*
|
|
* Copyright (C) 2017-2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "runtime/api/cl_types.h"
|
|
#include "runtime/platform/platform.h"
|
|
|
|
namespace OCLRT {
|
|
|
|
struct HardwareInfo;
|
|
|
|
class PlatformFixture {
|
|
public:
|
|
PlatformFixture();
|
|
|
|
protected:
|
|
void SetUp();
|
|
void TearDown();
|
|
|
|
Platform *pPlatform;
|
|
|
|
cl_uint num_devices;
|
|
cl_device_id *devices;
|
|
};
|
|
} // namespace OCLRT
|