Reorganized the OpenCL code for the foldedSNR.