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

How to pass "-cl-std=CL2" option to malioc?

I wan to build OpenCL 2.0 kernel (it uses OpenCL C 2.0 language in kernel code) using malioc (Mali Offline Compiler) .

Here is my command line:

malioc --name TestKernel --core Mali-G76 kernels.cl

In my kernel code I check value of __OPENCL_VERSION__ and it equals 200, however  __OPENCL_C_VERSION__ equals 120 and, of course, OpenCL2.0 buildin methods (like work_group_reduce_add) are not available.

So, my question is:
How to pass "-cl-std=CL2"  OpenCL build option to malioc?

Parents Reply Children