123 #include "detail/Device.h"
124 #include "detail/DeviceID.h"
125 #include "detail/DeviceProperties.h"
126 #include "detail/Macros.h"
127 #include "detail/PlatformID.h"
128 #include "detail/Types.h"
129 #include "detail/skelclDll.h"
144 SKELCL_DLL detail::DeviceProperties
allDevices();
153 SKELCL_DLL detail::DeviceProperties
nDevices(
size_t n);
161 SKELCL_DLL detail::PlatformID
platform(
size_t pID);
169 SKELCL_DLL detail::DeviceID
device(
size_t dID);
184 SKELCL_DLL
void init(detail::DeviceProperties properties =
allDevices());
197 SKELCL_DLL
void init(detail::PlatformID pID, detail::DeviceID dID);
SKELCL_DLL detail::DeviceProperties allDevices()
Creates a detail::DeviceProperties object representing all devices in the system. This object should ...
detail::Device::Type device_type
Public name for a type representing different types of device. E.g. CPU or GPU.
SKELCL_DLL void init(detail::DeviceProperties properties=allDevices())
Initializes the SkelCL library. This function (or another init function) has to be called prior to ev...
SKELCL_DLL detail::DeviceID device(size_t dID)
Creates an OpenCL device ID to be used as parameter of the init(detail::PlatformID, detail::DeviceID) function.
SKELCL_DLL detail::DeviceProperties nDevices(size_t n)
Creates a detail::DeviceProperties object representing n devices. This object should be used as param...
SKELCL_DLL void terminate()
Frees all resources allocated internally by SkelCL.
SKELCL_DLL detail::PlatformID platform(size_t pID)
Creates an OpenCL platform ID to be used as parameter of the init(detail::PlatformID, detail::DeviceID) function.