mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Change-Id: Id7aa7b7e490c5ae87a517b3e0be16292a7de9a93 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
20 lines
429 B
C++
20 lines
429 B
C++
/*
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "CL/cl.h"
|
|
|
|
#include <cstdint>
|
|
namespace OCLRT {
|
|
struct HardwareInfo;
|
|
|
|
namespace DeviceHelper {
|
|
void getExtraDeviceInfo(cl_device_info paramName, cl_uint ¶m, const void *&src, size_t &size, size_t &retSize);
|
|
uint32_t getDevicesCount(const HardwareInfo *pHwInfo);
|
|
}; // namespace DeviceHelper
|
|
} // namespace OCLRT
|