This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

OpenCL on Samsung Chromebook Mali-T604 (Chrubuntu OR ChromeOS)

Note: This was originally posted on 19th February 2013 at http://forums.arm.com

Question: How to get OpenCL drivers installed on either Chrubuntu or ChromeOS?

Background: I am able to successfully compile and execute OpenCL code  (using Chrubuntu on sdcard + Mali SDK + Code::Blocks) but every  example/sample and simple 'hello, world' app returns an error when using  clGetPlatformIDs. The code compiles and runs just fine, but I'm not  getting a CL_SUCCESS so I am thinking this must mean there is no proper  driver.

For example,

cl_int err;
cl_platform_is platform_id = NULL;
err = clGetPlatformIDs(1,&platform_id,NULL);

returns 2123707424

Any help is appreciated.

Thanks,

Todd Thompson
Parents
  • Note: This was originally posted on 25th February 2013 at http://forums.arm.com

    Hi Todd,

    I guess it depends where your userspace libraries came from. The hardware is essentially the same chipset as the Samsung Arndale developer board.

    so it is in theory capable of running GPU compute jobs on the Mali-T604 but as you may be finding, unless the OS was built with GPU compute support both in userspace and kernel space then it's not guaranteed you can access the GPU compute hardware.

    The only platform I can think of which is intended to support OpenCL at the moment is the Arndale board running Linux.

    HTH, Pete
Reply
  • Note: This was originally posted on 25th February 2013 at http://forums.arm.com

    Hi Todd,

    I guess it depends where your userspace libraries came from. The hardware is essentially the same chipset as the Samsung Arndale developer board.

    so it is in theory capable of running GPU compute jobs on the Mali-T604 but as you may be finding, unless the OS was built with GPU compute support both in userspace and kernel space then it's not guaranteed you can access the GPU compute hardware.

    The only platform I can think of which is intended to support OpenCL at the moment is the Arndale board running Linux.

    HTH, Pete
Children
No data