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

Is there any way to compile OpenCL for ARM Mali GPU by using llvm?

Hi.

I just start grabbing ARM Mali GPU (T628-MP6)

I was wondering if there is a way to compile opencl application (including .cl file) by using llvm or other open-source tools.

Any information would be helpful.

Thank you.

Parents
  • OpenCL is just a C API, so any C compiler should work for the application, provided you can match the target ABI. There are ARM builds supporting the LLVM C language frontend (Clang).

    The OpenCL kernels must be compiled on the target device at runtime - the compiler is shipped as part of the drivers and targeted as the GPU running on the device.

    Cheers,
    Pete

Reply
  • OpenCL is just a C API, so any C compiler should work for the application, provided you can match the target ABI. There are ARM builds supporting the LLVM C language frontend (Clang).

    The OpenCL kernels must be compiled on the target device at runtime - the compiler is shipped as part of the drivers and targeted as the GPU running on the device.

    Cheers,
    Pete

Children