Lines Matching refs:cl_float
184 cl_float *outData = new cl_float[ numPixels * 4 ]; in convert_to_expected()
187 outData[ i ] = (cl_float)src[ i ] / 127.0f; in convert_to_expected()
214 cl_float *outData = new cl_float[ numPixels * 4 ]; in convert_to_expected()
217 outData[ i ] = (cl_float)(src[ i ]) / 256.0f; in convert_to_expected()
244 cl_float *outData = new cl_float[ numPixels * 4 ]; in convert_to_expected()
247 outData[ i ] = (cl_float)src[ i ] / 32768.0f; in convert_to_expected()
274 cl_float *outData = new cl_float[ numPixels * 4 ]; in convert_to_expected()
277 outData[ i ] = (cl_float)(src[ i ]) / 65535.0f; in convert_to_expected()
297 cl_float *outData = new cl_float[ numPixels * 4 ]; in convert_to_expected()
300 outData[ i ] = (cl_float)fmaxf( (float)src[ i ] / 2147483647.f, -1.f ); in convert_to_expected()
320 cl_float *outData = new cl_float[ numPixels * 4 ]; in convert_to_expected()
323 outData[ i ] = (cl_float)src[ i ] / 4294967295.f; in convert_to_expected()
334 cl_float *src = (cl_float *)inputBuffer; in convert_to_expected()
396 cl_float *expected = (cl_float *)expectedResults; in validate_float_results()
397 cl_float *actual = (cl_float *)actualResults; in validate_float_results()