To support cross platform compatibility across a large combination of OpenCL devices, every OpenCL device should be compliant to a standard. OpenCL C language specification is based out of the C99 standard (ISO/IEC 9899:1999). Besides this there are certain restrictions, which are applicable to all the OpenCL C kernels. A compliant C kernel code is compiled by the OpenCL runtime compiler using the clBuildProgram
function. In this chapter we will discuss the specifications and restrictions for writing an OpenCL compliant C kernel code. The following bullet list states the topics which will be discussed in this chapter:
No credit card required