OCL: use float instead of int for internal compute