compute-runtime/opencl/source/helpers/cl_device_helpers.h

24 lines
593 B
C++

/*
* Copyright (C) 2020-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "opencl/extensions/public/cl_ext_private.h"
#include "CL/cl.h"
#include <cstdint>
namespace NEO {
class ClDevice;
struct ClDeviceInfoParam;
struct HardwareInfo;
namespace ClDeviceHelper {
void getExtraDeviceInfo(const ClDevice &clDevice, cl_device_info paramName, ClDeviceInfoParam &param, const void *&src, size_t &size, size_t &retSize);
cl_device_feature_capabilities_intel getExtraCapabilities(const HardwareInfo &hwInfo);
}; // namespace ClDeviceHelper
} // namespace NEO