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

Comparing OpenCL/OpenCL.xs (file contents):
Revision 1.19 by root, Thu Nov 24 03:02:57 2011 UTC vs.
Revision 1.20 by root, Sat Dec 10 23:07:38 2011 UTC

142} 142}
143 143
144static cl_event * 144static cl_event *
145event_list (SV **items, int count) 145event_list (SV **items, int count)
146{ 146{
147 if (!count)
148 return 0;
149
147 cl_event *list = tmpbuf (sizeof (cl_event) * count); 150 cl_event *list = tmpbuf (sizeof (cl_event) * count);
148 151
149 while (count--) 152 while (count--)
150 list [count] = SvPTROBJ ("clEnqueue", "wait_events", items [count], "OpenCL::Event"); 153 list [count] = SvPTROBJ ("clEnqueue", "wait_events", items [count], "OpenCL::Event");
151 154

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines