Files
compute-runtime/runtime/helpers/device_helpers.h
Dunajski, Bartosz a25cca2099 Move Device helpers to namespace
Change-Id: Id7aa7b7e490c5ae87a517b3e0be16292a7de9a93
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-03-19 15:01:34 +01:00

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 &param, const void *&src, size_t &size, size_t &retSize);
uint32_t getDevicesCount(const HardwareInfo *pHwInfo);
}; // namespace DeviceHelper
} // namespace OCLRT