marcino239.github.io

home archive about

OpenCL on Samsung Chromebook 3

October 14, 2014

Here's quick description how to get going OpenCL on Samsung Chromebook 3.

Steps:

  1. Install crouton

  2. Install Mali drivers and SDK

    • Mali driver - choose T604 X11 version
    • Mali SDK
    • I've installed the driver libraries into /usr/lib to avoid config-fu
    • Run sudo ldconfig
    • Modify library links to avoid symbol lookup errors

        ln -s /usr/lib/libmali.so /usr/lib/libOpenCL.so.1  
        ln -s /usr/lib/libOpenCL.so.1 /usr/lib/libOpenCL.so
      
  3. Check permissions to the mali GPU device. I've added myself to the video group

     ls -l /dev/mali0
    
  4. Compile SDK examples to test if all is good. DrinkCat has very good tutorial on this

  5. Enjoy 1 node of supercomputer power

Credits:
DrinkCat
Krishnaraj Bhat