update to opencl machinery to use better logic for loading shared memory