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 nieto,
Can you let us know what platform you are using, and the version of the driver, and where you got it?
Thanks,
Chris
Hi Chris,
We are using the SDK 1.1.0 and a Samsung Exynos 5 Dual board as platform, but I'm not sure where we got the driver right now.
Diego
Hi Diego,
If you didn't get it from us then you probably got it from Insignal. It's been a while but the last time I checked the drivers they were shipping were crazy out of date. I would recommend using the ones available for T604 from Mali GPU User-Space Binary Drivers (newly updated to show exactly what platforms each build supports ) You want r4p1-00rel0 for Mali-T60x r0p0.
Hth,
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