Hello all,
I am working in Mali T604 and I am using double precision. I enabled this extension with:
#pragma OPENCL EXTENSION cl_khr_fp64 : enable
All double precision operations work and vector double precision operations also work but shuffle function is unknown for double.
Build error
If I do the same with single precision there is no problem.
Thanks!
Hi Diego,
The OpenCL 1.1 Spec states the following:
The size of each element in the mask must match the size of each element in the result.
mask
What this means is that in the case for the 'double', your mask should instead be of type 'ulong4'
Can you please try with this change and let us know if it fixes the problem?
Kind Regards,
Michael McGeagh
Hi Michael,
You are right, it's working now
Thanks,
Diego