mirror of
https://github.com/intel/compute-runtime.git
synced 2025-11-10 05:49:51 +08:00
device directory is renamed to cl_device. Related-To: NEO-3938 Change-Id: I96794c82632d042da6814550597d805df7bb6436 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
22 lines
516 B
C++
22 lines
516 B
C++
/*
|
|
* Copyright (C) 2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "opencl/source/cl_device/cl_device.h"
|
|
#include "opencl/source/cl_device/cl_device_info_map.h"
|
|
|
|
namespace NEO {
|
|
|
|
template <cl_device_info Param>
|
|
inline void ClDevice::getCap(const void *&src,
|
|
size_t &size,
|
|
size_t &retSize) {
|
|
src = &ClDeviceInfoTable::Map<Param>::getValue(*this);
|
|
retSize = size = ClDeviceInfoTable::Map<Param>::size;
|
|
}
|
|
|
|
} // namespace NEO
|