/external/OpenCL-CTS/test_conformance/basic/ |
D | test_image_param.cpp | 40 …s( size_t width, size_t height, cl_image_format &format, char *inputData, cl_float *actualResults ) in validate_results() argument 131 cl_float error1 = fabsf( expected[ 0 ] - actualResults[ 0 ] ); in validate_results() 132 cl_float error2 = fabsf( expected[ 1 ] - actualResults[ 1 ] ); in validate_results() 133 cl_float error3 = fabsf( expected[ 2 ] - actualResults[ 2 ] ); in validate_results() 134 cl_float error4 = fabsf( expected[ 3 ] - actualResults[ 3 ] ); in validate_results() 141 …tual: %f %f %f %f\n", (float)actualResults[ 0 ], (float)actualResults[ 1 ], (float)actualResults[ … in validate_results() 144 cl_float error1 = fabsf( expected[ 3 ] - actualResults[ 0 ] ); in validate_results() 145 cl_float error2 = fabsf( expected[ 2 ] - actualResults[ 1 ] ); in validate_results() 146 cl_float error3 = fabsf( expected[ 1 ] - actualResults[ 2 ] ); in validate_results() 147 cl_float error4 = fabsf( expected[ 0 ] - actualResults[ 3 ] ); in validate_results() [all …]
|
/external/OpenCL-CTS/test_conformance/gl/ |
D | testBase.h | 50 extern int validate_integer_results( void *expectedResults, void *actualResults, size_t width, size… 51 extern int validate_integer_results( void *expectedResults, void *actualResults, size_t width, size… 52 extern int validate_float_results( void *expectedResults, void *actualResults, size_t width, size_t… 53 extern int validate_float_results( void *expectedResults, void *actualResults, size_t width, size_t… 54 extern int validate_float_results_rgb_101010( void *expectedResults, void *actualResults, size_t wi… 55 extern int validate_float_results_rgb_101010( void *expectedResults, void *actualResults, size_t wi…
|
D | helpers.cpp | 401 int validate_integer_results( void *expectedResults, void *actualResults, size_t width, size_t heig… in validate_integer_results() argument 403 …return validate_integer_results( expectedResults, actualResults, width, height, sampleNum, 0, type… in validate_integer_results() 406 int validate_integer_results( void *expectedResults, void *actualResults, size_t width, size_t heig… in validate_integer_results() argument 409 char *actual = (char *)actualResults; in validate_integer_results() 440 int validate_float_results( void *expectedResults, void *actualResults, size_t width, size_t height… in validate_float_results() argument 442 …return validate_float_results( expectedResults, actualResults, width, height, sampleNum, 0, channe… in validate_float_results() 445 int validate_float_results( void *expectedResults, void *actualResults, size_t width, size_t height… in validate_float_results() argument 448 cl_float *actual = (cl_float *)actualResults; in validate_float_results() 498 int validate_float_results_rgb_101010( void *expectedResults, void *actualResults, size_t width, si… in validate_float_results_rgb_101010() argument 500 …return validate_float_results_rgb_101010( expectedResults, actualResults, width, height, sampleNum… in validate_float_results_rgb_101010() [all …]
|
D | test_renderbuffer.cpp | 120 BufferOwningPtr<char> actualResults(outBuffer); in test_renderbuffer_read_image() local 128 DumpGLBuffer(glType, width, height, actualResults); in test_renderbuffer_read_image() 143 DumpGLBuffer(GetGLTypeForExplicitType(actualType), width, height, actualResults); in test_renderbuffer_read_image() 151 …valid = validate_float_results( convertedInput, actualResults, width, height, 1, get_channel_order… in test_renderbuffer_read_image() 153 …valid = validate_integer_results( convertedInput, actualResults, width, height, 1, get_explicit_ty… in test_renderbuffer_read_image()
|
D | test_images_read_common.cpp | 555 BufferOwningPtr<char> actualResults(outBuffer); in test_image_format_read() local 556 if( actualResults == NULL ) in test_image_format_read() 635 return validate_float_results_rgb_101010( convertedInputs, actualResults, w, h, d, samples ); in test_image_format_read() 639 …return validate_float_results( convertedInputs, actualResults, w, h, d, samples, get_channel_order… in test_image_format_read() 644 …return validate_integer_results( convertedInputs, actualResults, w, h, d, samples, get_explicit_ty… in test_image_format_read()
|
/external/OpenCL-CTS/test_conformance/gles/ |
D | testBase.h | 58 extern int validate_integer_results( void *expectedResults, void *actualResults, size_t width, size… 59 extern int validate_integer_results( void *expectedResults, void *actualResults, size_t width, size… 60 extern int validate_float_results( void *expectedResults, void *actualResults, size_t width, size_t… 61 extern int validate_float_results( void *expectedResults, void *actualResults, size_t width, size_t…
|
D | helpers.cpp | 353 int validate_integer_results( void *expectedResults, void *actualResults, size_t width, size_t heig… in validate_integer_results() argument 355 return validate_integer_results( expectedResults, actualResults, width, height, 0, typeSize ); in validate_integer_results() 358 int validate_integer_results( void *expectedResults, void *actualResults, size_t width, size_t heig… in validate_integer_results() argument 361 char *actual = (char *)actualResults; in validate_integer_results() 389 int validate_float_results( void *expectedResults, void *actualResults, size_t width, size_t height… in validate_float_results() argument 391 return validate_float_results( expectedResults, actualResults, width, height, 0 ); in validate_float_results() 394 int validate_float_results( void *expectedResults, void *actualResults, size_t width, size_t height… in validate_float_results() argument 397 cl_float *actual = (cl_float *)actualResults; in validate_float_results()
|
D | test_renderbuffer.cpp | 73 BufferOwningPtr<char> actualResults(outBuffer); in test_renderbuffer_read_image() local 81 DumpGLBuffer(glType, width, height, actualResults); in test_renderbuffer_read_image() 96 DumpGLBuffer(GetGLTypeForExplicitType(actualType), width, height, actualResults); in test_renderbuffer_read_image() 104 valid = validate_float_results( convertedInput, actualResults, width, height ); in test_renderbuffer_read_image() 106 …valid = validate_integer_results( convertedInput, actualResults, width, height, get_explicit_type_… in test_renderbuffer_read_image()
|
D | test_images_3D.cpp | 153 BufferOwningPtr<char> actualResults(outBuffer); in test_image_format_read() local 171 return validate_float_results( convertedInputs, actualResults, width, height, depth ); in test_image_format_read() 173 …return validate_integer_results( convertedInputs, actualResults, width, height, depth, get_explici… in test_image_format_read()
|
D | test_images_2D.cpp | 171 BufferOwningPtr<char> actualResults(outBuffer); in test_image_format_read() local 184 valid = validate_float_results( convertedInputs, actualResults, width, height ); in test_image_format_read() 186 …valid = validate_integer_results( convertedInputs, actualResults, width, height, get_explicit_type… in test_image_format_read()
|
/external/angle/src/tests/test_utils/runner/ |
D | TestSuite_unittest.cpp | 45 TestResults *actualResults, in runTestSuite() argument 100 return GetTestResultsFromFile(mTempFileName.c_str(), actualResults); in runTestSuite()
|
/external/OpenCL-CTS/test_conformance/buffers/ |
D | test_sub_buffers.cpp | 248 cl_char * actualResults = (cl_char*)calloc(1,mainSize); in test_sub_buffers_read_write_core() local 323 …error = clEnqueueReadBuffer( queueA, mainBuffer, CL_TRUE, 0, mainSize, actualResults, 0, NULL, NUL… in test_sub_buffers_read_write_core() 332 if ( memcmp( actualResults + i, mainBufferContents + i, left ) == 0 ) in test_sub_buffers_read_write_core() 339 if ( actualResults[ i + j ] != mainBufferContents[ i + j ] ) in test_sub_buffers_read_write_core() 365 free(actualResults); in test_sub_buffers_read_write_core()
|