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

Comparing OpenCL/examples/juliaflight (file contents):
Revision 1.1 by root, Mon Apr 30 23:12:44 2012 UTC vs.
Revision 1.2 by root, Mon Apr 30 23:35:16 2012 UTC

18 18
19for (OpenCL::platforms) { 19for (OpenCL::platforms) {
20 $platform = $_; 20 $platform = $_;
21 for ($platform->devices) { 21 for ($platform->devices) {
22 $dev = $_; 22 $dev = $_;
23 $ctx = $platform->context ([OpenCL::GLX_DISPLAY_KHR, undef, OpenCL::GL_CONTEXT_KHR, undef], [$dev]) 23 $ctx = $platform->context (undef, [$dev])
24 and last; 24 and last;
25 } 25 }
26} 26}
27 27
28$ctx 28$ctx

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines