ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/OpenCL/OpenCL.pm
(Generate patch)

Comparing OpenCL/OpenCL.pm (file contents):
Revision 1.71 by root, Fri May 4 14:29:35 2012 UTC vs.
Revision 1.72 by root, Fri May 4 14:49:42 2012 UTC

1773=item $program->build_async (\@devices = undef, $options = "", $cb->($program) = undef) 1773=item $program->build_async (\@devices = undef, $options = "", $cb->($program) = undef)
1774 1774
1775Similar to C<< ->build >>, except it starts a thread, and never fails (you 1775Similar to C<< ->build >>, except it starts a thread, and never fails (you
1776need to check the compilation status form the callback, or by polling). 1776need to check the compilation status form the callback, or by polling).
1777 1777
1778build_status: OpenCL::BUILD_SUCCESS, OpenCL::BUILD_NONE,
1779OpenCL::BUILD_ERROR, OpenCL::BUILD_IN_PROGRESS.
1780
1778=item $packed_value = $program->build_info ($device, $name) 1781=item $packed_value = $program->build_info ($device, $name)
1779 1782
1780Similar to C<< $platform->info >>, but returns build info for a previous 1783Similar to C<< $platform->info >>, but returns build info for a previous
1781build attempt for the given device. 1784build attempt for the given device.
1782 1785
1798=for gengetinfo begin program_build 1801=for gengetinfo begin program_build
1799 1802
1800=item $build_status = $program->build_status ($device) 1803=item $build_status = $program->build_status ($device)
1801 1804
1802Calls C<clGetProgramBuildInfo> with C<OpenCL::PROGRAM_BUILD_STATUS> and returns the result. 1805Calls C<clGetProgramBuildInfo> with C<OpenCL::PROGRAM_BUILD_STATUS> and returns the result.
1803
1804build_status: OpenCL::BUILD_SUCCESS, OpenCL::BUILD_NONE,
1805OpenCL::BUILD_ERROR, OpenCL::BUILD_IN_PROGRESS.
1806 1806
1807=item $string = $program->build_options ($device) 1807=item $string = $program->build_options ($device)
1808 1808
1809Calls C<clGetProgramBuildInfo> with C<OpenCL::PROGRAM_BUILD_OPTIONS> and returns the result. 1809Calls C<clGetProgramBuildInfo> with C<OpenCL::PROGRAM_BUILD_OPTIONS> and returns the result.
1810 1810
1925=item $ulong = $kernel->private_mem_size ($device) 1925=item $ulong = $kernel->private_mem_size ($device)
1926 1926
1927Calls C<clGetKernelWorkGroupInfo> with C<OpenCL::KERNEL_PRIVATE_MEM_SIZE> and returns the result. 1927Calls C<clGetKernelWorkGroupInfo> with C<OpenCL::KERNEL_PRIVATE_MEM_SIZE> and returns the result.
1928 1928
1929=for gengetinfo end kernel_work_group 1929=for gengetinfo end kernel_work_group
1930
1931=for gengetinfo begin kernel_arg_info
1932
1933=for gengetinfo end kernel_arg_info
1930 1934
1931=item $kernel->setf ($format, ...) 1935=item $kernel->setf ($format, ...)
1932 1936
1933Sets the arguments of a kernel. Since OpenCL 1.1 doesn't have a generic 1937Sets the arguments of a kernel. Since OpenCL 1.1 doesn't have a generic
1934way to set arguments (and with OpenCL 1.2 it might be rather slow), you 1938way to set arguments (and with OpenCL 1.2 it might be rather slow), you

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines