The Khronos Group - a non-profit industry consortium to develop, publish and promote open standard, royalty-free media authoring and acceleration standards for desktop and handheld devices, combined with conformance qualification programs for platform and device interoperability.

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Why does OpenCL define 'bool' but does not define '_Bool'?

Hi,

Standard C99 defines '_Bool' type.
But '_Bool' is not listed on 'Table 6.1' of opencl-1.0.43.pdf.
Instead, 'bool' type is listed on Table 6.1.
According to description of 'bool' at Table6.1,
behavior of standard C99's '_Bool' and OpenCL's 'bool' are same.