Summary

In this chapter we have learned about the various synchronization models, which can be used by an OpenCL programmer. We discussed everything about the OpenCL cl_event objects. These events can be clEnqueue* generated or user-created events. These synchronization models may be fine-grained or coarse-grained. An OpenCL developer can make use of these in his application.

In previous chapters we have seen all the OpenCL objects, and its creation and deletion. We discussed about the host side objects in the form of contexts, queues, programs, kernels, buffers, and events. In the next chapter we will see the device side kernel code, and the OpenCL C language specification in detail.

Get OpenCL Programming by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.