21 lines
510 B
C++
21 lines
510 B
C++
/*
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "CL/cl.h"
|
|
|
|
#include <cstdint>
|
|
namespace NEO {
|
|
struct HardwareInfo;
|
|
|
|
namespace DeviceHelper {
|
|
void getExtraDeviceInfo(const HardwareInfo &hwInfo, cl_device_info paramName, cl_uint ¶m, const void *&src, size_t &size, size_t &retSize);
|
|
uint32_t getSubDevicesCount(const HardwareInfo *pHwInfo);
|
|
uint32_t getEnginesCount(const HardwareInfo &hwInfo);
|
|
}; // namespace DeviceHelper
|
|
} // namespace NEO
|