Capsule API Example

Loading...
Searching...
No Matches
CDeviceInfoList.h
Go to the documentation of this file.
1// Copyright. 2019 - 2024 PSBD. All rights reserved.
2
3#pragma once
4
5#include "CDefinesPrivate.h"
6#include "CDeviceInfo.h"
7#include "CError.h"
8
9#ifdef __cplusplus
10 extern "C" {
11#endif
12
18 CLC_STRUCT_WNN(DeviceInfo, clCDeviceInfoList, deviceInfoList);
19
27 CL_DLL int32_t clCDeviceInfoList_GetCount(clCDeviceInfoList devices, clCError* error) NOEXCEPT;
35 CL_DLL clCDeviceInfo clCDeviceInfoList_GetDeviceInfo(clCDeviceInfoList devices, int32_t index, clCError* error) NOEXCEPT;
36
37#ifdef __cplusplus
38}
39#endif
CDefinesPrivate.h
NOEXCEPT
#define NOEXCEPT
Definition CDefinesPrivate.h:82
CL_DLL
#define CL_DLL
Definition CDefinesPrivate.h:51
CDeviceInfo.h
clCDeviceInfoList_GetDeviceInfo
CL_DLL clCDeviceInfo clCDeviceInfoList_GetDeviceInfo(clCDeviceInfoList devices, int32_t index, clCError *error) NOEXCEPT
CLC_STRUCT_WNN
CLC_STRUCT_WNN(DeviceInfo, clCDeviceInfoList, deviceInfoList)
List of devices found by device locator.
clCDeviceInfoList_GetCount
CL_DLL int32_t clCDeviceInfoList_GetCount(clCDeviceInfoList devices, clCError *error) NOEXCEPT
CError.h
clCError
Definition CError.h:28