Home
last modified time | relevance | path

Searched refs:inDataB (Results 1 – 6 of 6) sorted by relevance

/external/OpenCL-CTS/test_conformance/relationals/
Dtest_comparisons_float.cpp63 typedef bool (*equivVerifyFn)( float inDataA, float inDataB );
76 void verify_equiv_values_float( unsigned int vecSize, float *inDataA, float *inDataB, int *outData,… in verify_equiv_values_float() argument
85 result = verifyFn( inDataA[ i ], inDataB[ i ] ); in verify_equiv_values_float()
120 float inDataA[TEST_SIZE * 16], inDataB[ TEST_SIZE * 16 ]; in test_equiv_kernel_float() local
159 generate_equiv_test_data_float( inDataB, vecSize, false, d ); in test_equiv_kernel_float()
171 &inDataB, &error); in test_equiv_kernel_float()
218 …verify_equiv_values_float( vecSize, &inDataA[ i * vecSize ], &inDataB[ i * vecSize ], expected, ve… in test_equiv_kernel_float()
225 …cSize, expected[ j ], outData[ i * vecSize + j ], inDataA[i*vecSize + j], inDataB[i*vecSize + j] ); in test_equiv_kernel_float()
239 …verify_equiv_values_float( vecSize, &inDataA[ i * vecSize ], &inDataB[ i * vecSize ], expected, ve… in test_equiv_kernel_float()
247 if (IsFloatNaN(inDataA[i*vecSize + j]) || IsFloatNaN (inDataB[i*vecSize + j])) in test_equiv_kernel_float()
[all …]
Dtest_comparisons_double.cpp68 typedef bool (*equivVerifyFn)( double inDataA, double inDataB );
70 void verify_equiv_values_double( unsigned int vecSize, double *inDataA, double *inDataB, cl_long *o… in verify_equiv_values_double() argument
79 result = verifyFn( inDataA[ i ], inDataB[ i ] ); in verify_equiv_values_double()
114 double inDataA[TEST_SIZE * 16], inDataB[ TEST_SIZE * 16 ]; in test_equiv_kernel_double() local
152 generate_equiv_test_data_double( inDataB, vecSize, false, d ); in test_equiv_kernel_double()
164 &inDataB, &error); in test_equiv_kernel_double()
211 …verify_equiv_values_double( vecSize, &inDataA[ i * vecSize ], &inDataB[ i * vecSize ], expected, v… in test_equiv_kernel_double()
218 …cSize, expected[ j ], outData[ i * vecSize + j ], inDataA[i*vecSize + j], inDataB[i*vecSize + j] ); in test_equiv_kernel_double()
231 …verify_equiv_values_double( vecSize, &inDataA[ i * vecSize ], &inDataB[ i * vecSize ], expected, v… in test_equiv_kernel_double()
238 …cSize, expected[ j ], outData[ i * vecSize + j ], inDataA[i*vecSize + j], inDataB[i*vecSize + j] ); in test_equiv_kernel_double()
Dtest_relationals.cpp305 …pe, ExplicitType testVecType, unsigned int vecSize, void *inDataA, void *inDataB, void *inDataTest…
313 cl_long inDataA[TEST_SIZE * 16], inDataB[ TEST_SIZE * 16 ], inDataC[ TEST_SIZE * 16 ]; in test_select_kernel() local
369 generate_random_data( vecType, TEST_SIZE * g_vector_aligns[vecSize], d, inDataB ); in test_select_kernel()
384 &inDataB, &error); in test_select_kernel()
436 (char *)inDataB + i * get_explicit_type_size( vecType ), in test_select_kernel()
455 *( (int *)( (char *)inDataB + in test_select_kernel()
464 … unsigned char *b = (unsigned char *)( (char *)inDataB + i * get_explicit_type_size( vecType ) ); in test_select_kernel()
489 …pe, ExplicitType testVecType, unsigned int vecSize, void *inDataA, void *inDataB, void *inDataTest… in bitselect_verify_fn() argument
491 …char *inA = (char *)inDataA, *inB = (char *)inDataB, *inT = (char *)inDataTest, *out = (char *)out… in bitselect_verify_fn()
539 …pe, ExplicitType testVecType, unsigned int vecSize, void *inDataA, void *inDataB, void *inDataTest… in select_signed_verify_fn() argument
[all …]
/external/OpenCL-CTS/test_conformance/geometrics/
Dtest_geometrics.cpp175 cl_float *inDataB = B; in test_geom_cross() local
187 inDataB[ i ] = get_random_float( -512.f, 512.f, seed ); in test_geom_cross()
189 fillWithTrickyNumbers( inDataA, inDataB, vecsize ); in test_geom_cross()
201 inDataB, NULL); in test_geom_cross()
241 … cross_product( inDataA + i * vecsize, inDataB + i * vecsize, testVector, errorTolerances, 3.f ); in test_geom_cross()
263inDataB[ i * vecsize + 0 ], inDataB[ i * vecsize + 1 ], inDataB[ i * vecsize + 2 ] ); in test_geom_cross()
329 cl_float *inDataB = B; in test_twoToFloat_kernel() local
345 inDataB[ i ] = get_random_float( -512.f, 512.f, d ); in test_twoToFloat_kernel()
347 fillWithTrickyNumbers( inDataA, inDataB, vecSize ); in test_twoToFloat_kernel()
356 …if( fabsf( inDataB[i] ) > MAKE_HEX_FLOAT(0x1.0p62f, 0x1L, 62) || fabsf( inDataB[i] ) < MAKE_HEX_FL… in test_twoToFloat_kernel()
[all …]
Dtest_geometrics_double.cpp198 cl_double *inDataB = B; in test_geom_cross_double() local
209 inDataB[ i ] = get_random_double( -512.f, 512.f, d ); in test_geom_cross_double()
211 fillWithTrickyNumbers_double( inDataA, inDataB, vecsize ); in test_geom_cross_double()
221 inDataB, NULL); in test_geom_cross_double()
260 …cross_product_double( inDataA + i * vecsize, inDataB + i * vecsize, testVector, errorTolerances, 3… in test_geom_cross_double()
273inDataB[ i * vecsize + 0 ], inDataB[ i * vecsize + 1 ], inDataB[ i * vecsize + 2 ] ); in test_geom_cross_double()
310 cl_double *inDataB = B; in test_twoToFloat_kernel_double() local
325 inDataB[ i ] = any_double(d); in test_twoToFloat_kernel_double()
327 fillWithTrickyNumbers_double( inDataA, inDataB, vecSize ); in test_twoToFloat_kernel_double()
340 sizeof(cl_double) * vecSize * TEST_SIZE, inDataB, NULL); in test_twoToFloat_kernel_double()
[all …]
/external/OpenCL-CTS/test_conformance/integer_ops/
Dtest_integers.cpp41 static void patchup_divide_results( void *outData, const void *inDataA, const void *inDataB, size_t…
52 cl_long inDataA[TEST_SIZE * 16], outData[TEST_SIZE * 16], inDataB[TEST_SIZE * 16], expected; in test_single_param_integer_kernel() local
106 generate_random_data( vecType, vecSize * TEST_SIZE, d, inDataB ); in test_single_param_integer_kernel()
111 (useOpKernel) ? &inDataB : NULL, NULL); in test_single_param_integer_kernel()
143 patchup_divide_results( outData, inDataA, inDataB, TEST_SIZE * vecSize, vecType ); in test_single_param_integer_kernel()
148 char *in2 = (char *)inDataB; in test_single_param_integer_kernel()
546 static void patchup_divide_results( void *outData, const void *inDataA, const void *inDataB, size_t… in patchup_divide_results() argument
551 PATCH_CASE_SIGNED( outData, inDataA, inDataB, count, cl_char, CL_CHAR_MIN ) in patchup_divide_results()
554 PATCH_CASE( outData, inDataA, inDataB, count, cl_uchar ) in patchup_divide_results()
557 PATCH_CASE_SIGNED( outData, inDataA, inDataB, count, cl_short, CL_SHRT_MIN ) in patchup_divide_results()
[all …]