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

Comparing OpenCL/OpenCL.pm (file contents):
Revision 1.33 by root, Thu Apr 19 12:55:30 2012 UTC vs.
Revision 1.35 by root, Thu Apr 19 13:18:31 2012 UTC

859reference to an array of local work sizes, with the same number of 859reference to an array of local work sizes, with the same number of
860elements as @$global_work_size. 860elements as @$global_work_size.
861 861
862L<http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueNDRangeKernel.html> 862L<http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueNDRangeKernel.html>
863 863
864=item $ev = $queue->enqueue_marker 864=item $ev = $queue->enqueue_marker ($wait_events...)
865 865
866L<http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueMarker.html> 866L<http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueMarker.html>
867
868=item $ev = $queue->enqueue_acquire_gl_objects ([object, ...], $wait_events...)
869
870Enqueues a list (an array-ref of OpenCL::Memory objects) to be acquired
871for subsequent OpenCL usage.
872
873L<http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueAcquireGLObjects.html>
874
875=item $ev = $queue->enqueue_release_gl_objects ([object, ...], $wait_events...)
876
877Enqueues a list (an array-ref of OpenCL::Memory objects) to be released
878for subsequent OpenGL usage.
879
880L<http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueReleaseGLObjects.html>
867 881
868=item $ev = $queue->enqueue_wait_for_events ($wait_events...) 882=item $ev = $queue->enqueue_wait_for_events ($wait_events...)
869 883
870L<http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueWaitForEvents.html> 884L<http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueWaitForEvents.html>
871 885
959=item $int = $mem->offset 973=item $int = $mem->offset
960 974
961Calls C<clGetMemObjectInfo> with C<CL_MEM_OFFSET> and returns the result. 975Calls C<clGetMemObjectInfo> with C<CL_MEM_OFFSET> and returns the result.
962 976
963=for gengetinfo end mem 977=for gengetinfo end mem
978
979=item ($type, $name) = $mem->gl_object_info
980
981Returns the OpenGL object type (e.g. OpenCL::GL_OBJECT_TEXTURE2D) and the
982object "name" (e.g. the texture name) used to create this memory object.
983
984L<http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clGetGLObjectInfo.html>
964 985
965=back 986=back
966 987
967=head2 THE OpenCL::Buffer CLASS 988=head2 THE OpenCL::Buffer CLASS
968 989
1027=item $int = $image->depth 1048=item $int = $image->depth
1028 1049
1029Calls C<clGetImageInfo> with C<CL_IMAGE_DEPTH> and returns the result. 1050Calls C<clGetImageInfo> with C<CL_IMAGE_DEPTH> and returns the result.
1030 1051
1031=for gengetinfo end image 1052=for gengetinfo end image
1053
1054=for gengetinfo begin gl_texture
1055
1056=item $GLenum = $gl_texture->target
1057
1058Calls C<clGetGlTextureInfo> with C<CL_GL_TEXTURE_TARGET> and returns the result.
1059
1060=item $GLint = $gl_texture->gl_mipmap_level
1061
1062Calls C<clGetGlTextureInfo> with C<CL_GL_MIPMAP_LEVEL> and returns the result.
1063
1064=for gengetinfo end gl_texture
1032 1065
1033=back 1066=back
1034 1067
1035=head2 THE OpenCL::Sampler CLASS 1068=head2 THE OpenCL::Sampler CLASS
1036 1069

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines