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

Comparing OpenCL/OpenCL.xs (file contents):
Revision 1.72 by root, Sat May 5 12:54:04 2012 UTC vs.
Revision 1.73 by root, Sat May 5 13:30:07 2012 UTC

2510 NEED_SUCCESS (GetProgramBuildInfo, (self, device, ix, size, value, 0)); 2510 NEED_SUCCESS (GetProgramBuildInfo, (self, device, ix, size, value, 0));
2511 EXTEND (SP, 1); 2511 EXTEND (SP, 1);
2512 const int i = 0; 2512 const int i = 0;
2513 PUSHs (sv_2mortal (newSVpv (value, 0))); 2513 PUSHs (sv_2mortal (newSVpv (value, 0)));
2514 2514
2515void
2516binary_type (OpenCL::Program self, OpenCL::Device device)
2517 PPCODE:
2518 cl_program_binary_type value [1];
2519 NEED_SUCCESS (GetProgramBuildInfo, (self, device, CL_PROGRAM_BINARY_TYPE, sizeof (value), value, 0));
2520 EXTEND (SP, 1);
2521 const int i = 0;
2522 PUSHs (sv_2mortal (newSVuv (UV)value [i])));
2523
2515#END:program_build 2524#END:program_build
2516 2525
2517void 2526void
2518kernel (OpenCL::Program program, SV *function) 2527kernel (OpenCL::Program program, SV *function)
2519 PPCODE: 2528 PPCODE:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines