2018-09-20 12:18:19 +00:00
|
|
|
/*
|
2019-02-27 11:39:32 +01:00
|
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
2018-09-20 12:18:19 +00:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
#include "CL/cl.h"
|
2019-02-27 11:39:32 +01:00
|
|
|
|
2018-09-20 12:18:19 +00:00
|
|
|
#include <cstdint>
|
|
|
|
|
namespace OCLRT {
|
2019-03-19 12:10:01 +01:00
|
|
|
struct HardwareInfo;
|
|
|
|
|
|
|
|
|
|
namespace DeviceHelper {
|
2018-09-20 12:18:19 +00:00
|
|
|
void getExtraDeviceInfo(cl_device_info paramName, cl_uint ¶m, const void *&src, size_t &size, size_t &retSize);
|
2019-03-19 12:10:01 +01:00
|
|
|
uint32_t getDevicesCount(const HardwareInfo *pHwInfo);
|
|
|
|
|
}; // namespace DeviceHelper
|
|
|
|
|
} // namespace OCLRT
|