attempt to fix a bug related to the local memory size in CL extensions. It seems that the bug persists in double precision mode.