--- OpenCL/OpenCL.pm 2012/05/05 13:55:59 1.80 +++ OpenCL/OpenCL.pm 2012/05/05 14:17:39 1.81 @@ -215,8 +215,8 @@ =head2 Use the OpenGL module to share a texture between OpenCL and OpenGL and draw some julia set flight effect. -This is quite a long example to get you going - you can download it from -L. +This is quite a long example to get you going - you can also download it +from L. use OpenGL ":all"; use OpenCL; @@ -400,9 +400,12 @@ All C constants that this module supports are always available in the C namespace as C (i.e. without the C -prefix). Constants which are not defined in the heaer files used during +prefix). Constants which are not defined in the header files used during compilation, or otherwise are not available, will have the value C<-1>. +The latest version of this module knows and exports the constants +listed in L. + =head2 OPENCL 1.1 VS. OPENCL 1.2 This module supports both OpenCL version 1.1 and 1.2, although the OpenCL @@ -415,7 +418,7 @@ If the link contains a F<1.1>, then this function is an OpenCL 1.1 function. Most but not all also exist in OpenCL 1.2, and this module tries to emulate the missing ones for you, when told to do so at -compiletime. You cna check whether a function was removed in OpenCL 1.2 by +compiletime. You can check whether a function was removed in OpenCL 1.2 by replacing the F<1.1> component in the URL by F<1.2>. If the link contains a F<1.2>, then this is a OpenCL 1.2-only @@ -640,9 +643,12 @@ =item $str = OpenCL::err2str [$errval] -Converts an error value into a human readable string. IF no error value is +Converts an error value into a human readable string. If no error value is given, then the last error will be used (as returned by OpenCL::errno). +The latest version of this module knows the error constants +listed in L. + =item $str = OpenCL::enum2str $enum Converts most enum values (of parameter names, image format constants, @@ -651,6 +657,9 @@ very helpful to pass it through this function to maybe get some readable string out of it. +The latest version of this module knows the enumaration constants +listed in L. + =item @platforms = OpenCL::platforms Returns all available OpenCL::Platform objects.