-
Book Overview & Buying
-
Table Of Contents
OpenCL Programming by Example
By :
In OpenCL, the command queues are used to submit work to a device and each work or task can be associated with an event object. The queuing of the command takes place in-order or as the program flow occurs. But when the commands are dequeued the tasks can execute in-order or out-of-order. In ordered execution one does not need an explicit synchronization that means the next command is executed only when the previous one has completed its execution. But in the case of out-of-order execution, there is a need for synchronization. The OpenCL provides this framework for synchronization. Synchronization is needed in the case of multiple command queues also. The user might want to divide his work load across multiple devices, and the running dynamics of each device may be different. So it becomes necessary to do synchronization. Let us discuss some models for queuing commands in OpenCL.
This is the simplest form of OpenCL programming....
Change the font size
Change margin width
Change background colour