H2Lib  3.0
Data Fields
_ocl Struct Reference

Structure that contains basic OpenCL objects for arbitrary computations. More...

#include <opencl.h>

Data Fields

cl_uint num_platforms
 Number of OpenCL platforms that will be used for computations.
 
cl_platform_id * platforms
 This array contains all OpenCL platform-ids that will be used.
 
cl_platform_id * devplatforms
 Just a temporary array of OpenCL platform-ids that is used in between the calls of get_opencl_devices and set_opencl_devices.
 
cl_uint num_devices
 Number of OpenCL devices the will be used.
 
cl_device_id * devices
 Array of OpenCl devices that will be used.
 
cl_uint num_contexts
 Number of OpenCL contexts that will be used.
 
cl_context * contexts
 Array of OpenCL contexts that will be used.
 
cl_uint queues_per_device
 This values determines the number of queues that will be created per device.
 
cl_command_queue * queues
 Array of all queues for all devices that will be used.
 
size_t max_package_size
 

Detailed Description

Structure that contains basic OpenCL objects for arbitrary computations.

When this object is set up OpenCL platforms, devices, contexts and queues, that will be used for subsequent computations, are determined.

Field Documentation

size_t max_package_size

Determines the maximal size of each processing chunk.


The documentation for this struct was generated from the following file: