how to run an OPENCL c application on ODROID XU with android platform.

This topic contains 1 reply, has 2 voices, and was last updated by  Tobias Hector 3 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31829

    shabuddin
    Member

    can any one guide me how to run opencl c app on odroid xu board with android platform, i didn’t find library libOpenCL.so in android, but found libPVROCL.so in /vendor/lib folder.
    1) how to compile the opencl c function for odroid xu board ?
    2) is libPVROCL.so is library related to opencl? if so then is it having same functions as libOpenCL.so ?

    #39034

    Hi Shabuddin,

    HardKernel should have this generated in the image for the ODROID-XU, as we don’t provide it (multiple OpenCL implementations can exist on one device, so they should provide the ICD layer). However, because this particular device only has our implementation you have two options:

    1) Add a libOpenCL.so symlink to libPVROCL.so to your image.
    2) Link directly to libPVROCL.so

    Either of those will give you access to the OpenCL functions.

    Regards,
    Tobias

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.