Files
compute-runtime/runtime/helpers/device_helpers.h
Mateusz Jablonski 472b1627a2 Rename DeviceHelper's method getDevicesCount- > getSubDevicesCount
Related-To: NEO-3691

Change-Id: Ifc7956aa284f88647fab1423f9d5ebc4f5183d07
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-23 15:21:28 +02:00

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 &param, 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