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

Comparing OpenCL/OpenCL.pm (file contents):
Revision 1.6 by root, Wed Nov 16 00:36:40 2011 UTC vs.
Revision 1.8 by root, Wed Nov 16 06:22:20 2011 UTC

6 6
7 use OpenCL; 7 use OpenCL;
8 8
9=head1 DESCRIPTION 9=head1 DESCRIPTION
10 10
11This is an early release which might be useful, but hasn't seen any testing. 11This is an early release which might be useful, but hasn't seen much testing.
12 12
13=head1 HELPFUL RESOURCES 13=head1 HELPFUL RESOURCES
14 14
15The OpenCL spec used to develop this module (1.2 spec was available, but 15The OpenCL spec used to develop this module (1.2 spec was available, but
16no implementation was available to me :). 16no implementation was available to me :).
165other status is returned the function will throw an exception, so you 165other status is returned the function will throw an exception, so you
166don't normally have to to any error checking. 166don't normally have to to any error checking.
167 167
168=back 168=back
169 169
170=head2 PERL AND OPENCL TYPES
171
172This handy(?) table lists OpenCL types and their perl, PDL and pack/unpack
173format equivalents:
174
175 OpenCL perl PDL pack/unpack
176 char IV - c
177 uchar IV byte C
178 short IV short s
179 ushort IV ushort S
180 int IV long? l
181 uint IV - L
182 long IV longlong q
183 ulong IV - Q
184 float NV float f
185 half IV ushort S
186 double NV double d
187
170=head2 THE OpenCL PACKAGE 188=head2 THE OpenCL PACKAGE
171 189
172=over 4 190=over 4
173 191
174=item $int = OpenCL::errno 192=item $int = OpenCL::errno

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines