2018-09-20 20:18:19 +08:00
|
|
|
/*
|
2021-05-17 02:51:16 +08:00
|
|
|
* Copyright (C) 2020-2021 Intel Corporation
|
2018-09-20 20:18:19 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2021-04-24 00:43:48 +08:00
|
|
|
#include "opencl/extensions/public/cl_ext_private.h"
|
|
|
|
|
2018-09-20 20:18:19 +08:00
|
|
|
#include "CL/cl.h"
|
2019-02-27 18:39:32 +08:00
|
|
|
|
2018-09-20 20:18:19 +08:00
|
|
|
#include <cstdint>
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2020-01-20 21:11:28 +08:00
|
|
|
class ClDevice;
|
2021-04-22 00:38:00 +08:00
|
|
|
struct ClDeviceInfoParam;
|
2019-03-19 19:10:01 +08:00
|
|
|
|
2020-01-31 23:38:34 +08:00
|
|
|
namespace ClDeviceHelper {
|
2021-04-22 00:38:00 +08:00
|
|
|
void getExtraDeviceInfo(const ClDevice &clDevice, cl_device_info paramName, ClDeviceInfoParam ¶m, const void *&src, size_t &size, size_t &retSize);
|
2021-04-24 00:43:48 +08:00
|
|
|
cl_device_feature_capabilities_intel getExtraCapabilities();
|
2020-01-31 23:38:34 +08:00
|
|
|
}; // namespace ClDeviceHelper
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|