Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Perl Modules

    OpenCL 0.99

    Download button

    No screenshots available
    Downloads: 152  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Marc Lehmann | More programs
    Perl Artistic License / FREE
    May 5th, 2012, 17:54 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    OpenCL description

    Bindings to, well, OpenCL

    OpenCL is an early release which is not useful yet.

    Enumerate all devices and get contexts for them;

     for my $platform (OpenCL::platforms) {
     warn $platform->info (OpenCL::PLATFORM_NAME);
     warn $platform->info (OpenCL::PLATFORM_EXTENSIONS);
     for my $device ($platform->devices) {
     warn $device->info (OpenCL::DEVICE_NAME);
     my $ctx = $device->context_simple;
     # do stuff
     }
     }


    Get a useful context and a command queue:

     my $dev = ((OpenCL::platforms)[0]->devices)[0];
     my $ctx = $dev->context_simple;
     my $queue = $ctx->command_queue_simple ($dev);


    SYNOPSIS

     use OpenCL;


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    OpenCL bindings | Perl module | Perl | OpenCL | bindings



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM