Hi, i do "clGetProgramBuildInfo" to get error log,
the log is: error : Failed to open the temporary file /data/vendor/.opencl-cache/cl-612501. for writing,
statues is CL_BUILD_PROGRAM_FAILURE.
My kernel code is below. And i alse run it on xiaomi phone . I can run it success. How i can solve it ?
#define KERNEL_SRC "\n" \
"__kernel void hello_kernel(__global const float *a,__global const float *b, __global float *result) \n "\
"{ \n "\
" int gid = get_global_id(0); \n "\
" result[gid] = a[gid] + b[gid]; \n"\
" } "