Added functionality for shared memory algorithms for OpenCL. Not working