Chapter 5. OpenCL C Built-In Functions
The OpenCL C programming language provides a rich set of built-in functions for scalar and vector argument types. These can be categorized as
• Async copy and prefetch functions
• Vector data load and store functions
• Miscellaneous vector functions
• Image functions
Many of these built-in functions are similar to the functions available in common C libraries (such as the functions defined in math.h
). The OpenCL C functions support scalar and vector argument types. It is recommended that you use these functions for your applications instead ...
Get OpenCL Programming Guide 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.