… | |
… | |
859 | reference to an array of local work sizes, with the same number of |
859 | reference to an array of local work sizes, with the same number of |
860 | elements as @$global_work_size. |
860 | elements as @$global_work_size. |
861 | |
861 | |
862 | L<http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueNDRangeKernel.html> |
862 | L<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 | |
866 | L<http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueMarker.html> |
866 | L<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 | |
|
|
870 | Enqueues a list (an array-ref of OpenCL::Memory objects) to be acquired |
|
|
871 | for subsequent OpenCL usage. |
|
|
872 | |
|
|
873 | L<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 | |
|
|
877 | Enqueues a list (an array-ref of OpenCL::Memory objects) to be released |
|
|
878 | for subsequent OpenGL usage. |
|
|
879 | |
|
|
880 | L<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 | |
870 | L<http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueWaitForEvents.html> |
884 | L<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 | |
961 | Calls C<clGetMemObjectInfo> with C<CL_MEM_OFFSET> and returns the result. |
975 | Calls 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 | |
|
|
981 | Returns the OpenGL object type (e.g. OpenCL::GL_OBJECT_TEXTURE2D) and the |
|
|
982 | object "name" (e.g. the texture name) used to create this memory object. |
|
|
983 | |
|
|
984 | L<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 | |
1029 | Calls C<clGetImageInfo> with C<CL_IMAGE_DEPTH> and returns the result. |
1050 | Calls 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 | |
|
|
1058 | Calls C<clGetGlTextureInfo> with C<CL_GL_TEXTURE_TARGET> and returns the result. |
|
|
1059 | |
|
|
1060 | =item $GLint = $gl_texture->gl_mipmap_level |
|
|
1061 | |
|
|
1062 | Calls 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 | |