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

Comparing OpenCL/gengetinfo (file contents):
Revision 1.13 by root, Fri May 4 14:29:35 2012 UTC vs.
Revision 1.14 by root, Fri May 4 14:46:02 2012 UTC

123 $extra_args = ', device'; 123 $extra_args = ', device';
124 $extra_perl_args = ' ($device)'; 124 $extra_perl_args = ' ($device)';
125 $extra_xs_args = ', OpenCL::Device device'; 125 $extra_xs_args = ', OpenCL::Device device';
126 } 126 }
127 127
128 if ($CLASS eq "kernel_arg") {
129 $extra_args = ', idx';
130 $extra_perl_args = ' ($idx)';
131 $extra_xs_args = ', cl_uint idx';
132 }
133
128 my $dynamic; 134 my $dynamic;
129 my $nelem = "size / sizeof (*value)"; 135 my $nelem = "size / sizeof (*value)";
130 136
131 if ($ctype eq "STRING_CLASS") { 137 if ($ctype eq "STRING_CLASS") {
132 $ctype = "VECTOR_CLASS<char>"; 138 $ctype = "VECTOR_CLASS<char>";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines