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.clIn 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?
This is a known issue in the current offline compiler; only CL 1.x kernels are supported. This should get fixed later in the year, but it won't be in the 2020.0 Mobile Studio release.
HTH, Pete
Thank you, Peter!