Files
compute-runtime/runtime/helpers/device_helpers.h
Filip Hazubski 807a52f3cf Pass ClDevice in DeviceHelper::getExtraDeviceInfo
Change-Id: I2e7395b86f6c281d976928d9afd2fedf1e1ef4c9
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-01-21 16:26:09 +01:00

20 lines
412 B
C++

/*
* Copyright (C) 2018-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "CL/cl.h"
#include <cstdint>
namespace NEO {
class ClDevice;
struct HardwareInfo;
namespace DeviceHelper {
void getExtraDeviceInfo(const ClDevice &clDevice, cl_device_info paramName, cl_uint &param, const void *&src, size_t &size, size_t &retSize);
}; // namespace DeviceHelper
} // namespace NEO