clanup opencl code.