OpenCL Dev Kit now out for Cell

Discussion in 'CellPerformance@B3D' started by upnorthsox, Nov 6, 2009.

  1. upnorthsox

    Veteran

    Joined:
    May 7, 2008
    Messages:
    1,909
    Likes Received:
    232
  2. patsu

    Legend

    Joined:
    Jun 25, 2005
    Messages:
    27,614
    Likes Received:
    60
    That's great !
     
  3. rpg.314

    Veteran

    Joined:
    Jul 21, 2008
    Messages:
    4,298
    Likes Received:
    0
    Location:
    /
    Cool :)

    EDIT: Damn, the thing needs registration before a download. WTF:evil:

    What is with all these mega-tech-corps' registration crap?
     
    #3 rpg.314, Nov 6, 2009
    Last edited by a moderator: Nov 6, 2009
  4. Flawe

    Newcomer

    Joined:
    Mar 15, 2009
    Messages:
    4
    Likes Received:
    0
    Location:
    London
    Has anyone actually tried this? Does it have proper SPU support? It would be interesting to see what kind of performance you get compared to hand optimized spu shaders.

    I'm currently in the process of finding a screwdriver so I can upgrade my PS3 drive. :D Can't wait to give this a go.
     
  5. pcchen

    pcchen Moderator
    Moderator Veteran Subscriber

    Joined:
    Feb 6, 2002
    Messages:
    2,718
    Likes Received:
    91
    Location:
    Taiwan
    I haven't upgraded my PS3 Linux for quite a while, so I am not sure whether this will run on my PS3 or not.

    If this works on PS3, it would be quite interesting, although I'm curious on how they implement the memory hierarchy. My previous experiences with programming the SPE is not very good though. OpenCL should be a much better experience if it's done well.
     
  6. Flawe

    Newcomer

    Joined:
    Mar 15, 2009
    Messages:
    4
    Likes Received:
    0
    Location:
    London
    Yeah I'm really interested in giving this a go. To be honest I prefer the SPUs over OpenCL but that's mainly because I have this thing for the PS3 hardware. If OpenCL will evolve to a generic framework that works on cpu/gpu/ppu/spu that'd be pretty awesome.
     
  7. patsu

    Legend

    Joined:
    Jun 25, 2005
    Messages:
    27,614
    Likes Received:
    60
    Where can one find OpenCL samples and projects ?
     
  8. Flawe

    Newcomer

    Joined:
    Mar 15, 2009
    Messages:
    4
    Likes Received:
    0
    Location:
    London
    If you grab the ATI Stream sdk it includes some nice Open CL examples that should get you started.
     
  9. ADEX

    Newcomer

    Joined:
    Sep 11, 2005
    Messages:
    231
    Likes Received:
    10
    Location:
    Here
  10. patsu

    Legend

    Joined:
    Jun 25, 2005
    Messages:
    27,614
    Likes Received:
    60
    There are more than one OpenCL implementations on PS3:
    http://sites.google.com/site/openclps3/blog

     
  11. pcchen

    pcchen Moderator
    Moderator Veteran Subscriber

    Joined:
    Feb 6, 2002
    Messages:
    2,718
    Likes Received:
    91
    Location:
    Taiwan
    That's reasonable, as SPU are very different from the PPE.

    The OpenCL/opencl.h vs CL/cl.h is pretty annoying. Basically all OpenCL program which wants to be portable to Mac has to do this:

    Code:
    #ifdef __APPLE__
    #include <OpenCL/opencl.h>
    #else
    #include <CL/cl.h>
    #endif
    It's done this way in cl.h provided by Khronos.
     
  12. patsu

    Legend

    Joined:
    Jun 25, 2005
    Messages:
    27,614
    Likes Received:
    60
    For people who want to try out OpenCL on the PS3, you should start here:
    http://forums.ps2dev.org/viewtopic.php?t=12567

    It contains custom instructions to make IBM's XLC compiler install on the PS3.

    There is a typo:
    56. local ($cmpFixVer) = "0.1.0-0";

    should be:

    56. local ($cmpFixVer) = "0.1.1-0";


    The rest should work fine.


    I'm fixing some stubborn Bluetooth keyboard issues. Should be able to run some OpenCL sample codes from Apple to compare in a few days time. ^_^
     
  13. joker5bb

    Newcomer

    Joined:
    Jan 24, 2010
    Messages:
    1
    Likes Received:
    0
    Im getting this error when i try to install those rpms from the iso on Ubuntu 9.10 ppc

    administrator@ubuntu:/home/images-ppc/rpms$ sudo alien -i *rpm --scripts
    error: incorrect format: unknown tag
    Package build failed. Here's the log:
    dh_testdir
    dh_testdir
    dh_testroot
    dh_clean -k -d
    dh_installdirs
    dh_installdocs
    dh_installchangelogs
    find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \
    xargs -0 -r -i cp -a {} debian/opencl-cell-xlc-cmp
    dh_compress
    dh_makeshlibs
    dh_installdeb
    dh_shlibdeps
    dh_gencontrol
    dpkg-gencontrol: error: current host architecture 'powerpc' does not appear in package's architecture list (ppc64)
    dh_gencontrol: dpkg-gencontrol returned exit code 255
    make: *** [binary-arch] Error 1
    find: `opencl-cell-xlc-cmp-0.1.1': No such file or directory

    any way to fix?
     

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...