/external/OpenCL-CTS/test_conformance/math_brute_force/ |
D | i_unary_float.cpp | 149 cl_uint *p = (cl_uint *)gIn; in TestFunc_Int_Float() 162 BUFFER_SIZE, gIn, 0, NULL, NULL))) in TestFunc_Int_Float() 216 float *s = (float *)gIn; in TestFunc_Int_Float() 255 f->name, sizeNames[k], err, ((float *)gIn)[j], in TestFunc_Int_Float() 256 ((cl_uint *)gIn)[j], t[j], q[j]); in TestFunc_Int_Float()
|
D | unary_u_double.cpp | 154 cl_ulong *p = (cl_ulong *)gIn; in TestFunc_Double_ULong() 159 BUFFER_SIZE, gIn, 0, NULL, NULL))) in TestFunc_Double_ULong() 212 cl_ulong *s = (cl_ulong *)gIn; in TestFunc_Double_ULong() 269 ((uint64_t *)gIn)[j], in TestFunc_Double_ULong()
|
D | unary_u_float.cpp | 151 uint32_t *p = (uint32_t *)gIn; in TestFunc_Float_UInt() 163 BUFFER_SIZE, gIn, 0, NULL, NULL))) in TestFunc_Float_UInt() 216 cl_uint *s = (cl_uint *)gIn; in TestFunc_Float_UInt() 271 f->name, sizeNames[k], err, ((uint32_t *)gIn)[j], in TestFunc_Float_UInt()
|
D | i_unary_double.cpp | 152 double *p = (double *)gIn; in TestFunc_Int_Double() 165 BUFFER_SIZE, gIn, 0, NULL, NULL))) in TestFunc_Int_Double() 219 double *s = (double *)gIn; in TestFunc_Int_Double() 258 f->name, sizeNames[k], err, ((double *)gIn)[j], t[j], in TestFunc_Int_Double()
|
D | binary_two_results_i_float.cpp | 202 cl_uint *p = (cl_uint *)gIn; in TestFunc_FloatI_Float_Float() 211 BUFFER_SIZE, gIn, 0, NULL, NULL))) in TestFunc_FloatI_Float_Float() 293 float *s = (float *)gIn; in TestFunc_FloatI_Float_Float() 372 int iptrUndefined = fabs(((float *)gIn)[j]) == INFINITY in TestFunc_FloatI_Float_Float() 374 || isnan(((float *)gIn)[j]); in TestFunc_FloatI_Float_Float() 516 f->name, sizeNames[k], err, iErr, ((float *)gIn)[j], in TestFunc_FloatI_Float_Float() 517 ((float *)gIn2)[j], ((cl_uint *)gIn)[j], in TestFunc_FloatI_Float_Float()
|
D | binary_two_results_i_double.cpp | 201 double *p = (double *)gIn; in TestFunc_DoubleI_Double_Double() 210 BUFFER_SIZE, gIn, 0, NULL, NULL))) in TestFunc_DoubleI_Double_Double() 292 double *s = (double *)gIn; in TestFunc_DoubleI_Double_Double() 372 int iptrUndefined = fabs(((double *)gIn)[j]) == INFINITY in TestFunc_DoubleI_Double_Double() 374 || isnan(((double *)gIn)[j]); in TestFunc_DoubleI_Double_Double() 531 f->name, sizeNames[k], err, iErr, ((double *)gIn)[j], in TestFunc_DoubleI_Double_Double() 532 ((double *)gIn2)[j], ((cl_ulong *)gIn)[j], in TestFunc_DoubleI_Double_Double()
|
D | mad_float.cpp | 158 cl_uint *p = (cl_uint *)gIn; in TestFunc_mad_Float() 169 BUFFER_SIZE, gIn, 0, NULL, NULL))) in TestFunc_mad_Float() 249 float *s = (float *)gIn; in TestFunc_mad_Float()
|
D | mad_double.cpp | 159 double *p = (double *)gIn; in TestFunc_mad_Double() 170 BUFFER_SIZE, gIn, 0, NULL, NULL))) in TestFunc_mad_Double() 250 double *s = (double *)gIn; in TestFunc_mad_Double()
|
D | unary_two_results_i_float.cpp | 169 uint32_t *p = (uint32_t *)gIn; in TestFunc_FloatI_Float() 181 BUFFER_SIZE, gIn, 0, NULL, NULL))) in TestFunc_FloatI_Float() 251 float *s = (float *)gIn; in TestFunc_FloatI_Float() 370 ((float *)gIn)[j], ((float *)gOut_Ref)[j], in TestFunc_FloatI_Float()
|
D | unary_two_results_i_double.cpp | 166 double *p = (double *)gIn; in TestFunc_DoubleI_Double() 178 BUFFER_SIZE, gIn, 0, NULL, NULL))) in TestFunc_DoubleI_Double() 248 double *s = (double *)gIn; in TestFunc_DoubleI_Double() 372 ((double *)gIn)[j], ((double *)gOut_Ref)[j], in TestFunc_DoubleI_Double()
|
D | unary_two_results_double.cpp | 158 double *p = (double *)gIn; in TestFunc_Double2_Double() 170 BUFFER_SIZE, gIn, 0, NULL, NULL))) in TestFunc_Double2_Double() 240 double *s = (double *)gIn; in TestFunc_Double2_Double() 400 ((double *)gIn)[j], ((double *)gOut_Ref)[j], in TestFunc_Double2_Double()
|
D | unary_two_results_float.cpp | 157 uint32_t *p = (uint32_t *)gIn; in TestFunc_Float2_Float() 184 BUFFER_SIZE, gIn, 0, NULL, NULL))) in TestFunc_Float2_Float() 267 float *s = (float *)gIn; in TestFunc_Float2_Float() 530 ((float *)gIn)[j], ((float *)gOut_Ref)[j], in TestFunc_Float2_Float()
|
D | macro_unary_double.cpp | 333 cl_double *p = (cl_double *)gIn + thread_id * buffer_elements; in Test() 446 name, err, ((double *)gIn)[j], t[j], q[j]); in Test() 471 name, sizeNames[k], err, ((double *)gIn)[j], -t[j], q[j]); in Test()
|
D | main.cpp | 88 void *gIn = NULL; variable 683 gIn = align_malloc(BUFFER_SIZE, min_alignment); in InitCL() 684 if (NULL == gIn) return TEST_FAIL; in InitCL() 711 clCreateBuffer(gContext, device_flags, BUFFER_SIZE, gIn, &error); in InitCL() 876 align_free(gIn); in ReleaseCL()
|
D | unary_double.cpp | 356 cl_double *p = (cl_double *)gIn + thread_id * buffer_elements; in Test() 510 ((cl_double *)gIn)[j], ((cl_ulong *)gIn)[j], in Test()
|
D | ternary_float.cpp | 254 cl_uint *p = (cl_uint *)gIn; in TestFunc_Float_Float_Float_Float() 261 float *fp = (float *)gIn; in TestFunc_Float_Float_Float_Float() 294 BUFFER_SIZE, gIn, 0, NULL, NULL))) in TestFunc_Float_Float_Float_Float() 374 float *s = (float *)gIn; in TestFunc_Float_Float_Float_Float()
|
D | ternary_double.cpp | 238 double *p = (double *)gIn; in TestFunc_Double_Double_Double_Double() 274 BUFFER_SIZE, gIn, 0, NULL, NULL))) in TestFunc_Double_Double_Double_Double() 354 double *s = (double *)gIn; in TestFunc_Double_Double_Double_Double()
|
D | utility.h | 46 extern void *gIn;
|
D | binary_i_double.cpp | 509 cl_ulong *p = (cl_ulong *)gIn + thread_id * buffer_elements; in Test() 624 s = (cl_double *)gIn + thread_id * buffer_elements; in Test()
|
D | macro_binary_float.cpp | 462 cl_uint *p = (cl_uint *)gIn + thread_id * buffer_elements; in Test() 579 s = (float *)gIn + thread_id * buffer_elements; in Test()
|
D | binary_i_float.cpp | 500 cl_uint *p = (cl_uint *)gIn + thread_id * buffer_elements; in Test() 616 s = (float *)gIn + thread_id * buffer_elements; in Test()
|
D | macro_binary_double.cpp | 473 double *p = (double *)gIn + thread_id * buffer_elements; in Test() 586 s = (cl_double *)gIn + thread_id * buffer_elements; in Test()
|
D | binary_operator_double.cpp | 502 cl_ulong *p = (cl_ulong *)gIn + thread_id * buffer_elements; in Test() 617 s = (cl_double *)gIn + thread_id * buffer_elements; in Test()
|
D | binary_double.cpp | 510 cl_ulong *p = (cl_ulong *)gIn + thread_id * buffer_elements; in Test() 625 s = (cl_double *)gIn + thread_id * buffer_elements; in Test()
|
/external/OpenCL-CTS/test_conformance/conversions/ |
D | test_conversions.cpp | 87 void *gIn = NULL; variable 666 gIn = malloc( BUFFER_SIZE + 2 * kPageSize ); in InitCL() 852 …gInitFunctions[ info->inType ]( (char*)gIn + job_id * info->size * gTypeSizes[info->inType], info-… in InitData() 876 void *s = (cl_uchar*) gIn + job_id * count * gTypeSizes[info->inType]; in PrepareReference() 1140 …eueWriteBuffer(gQueue, gInBuffer, CL_FALSE, 0, count * gTypeSizes[inType], gIn, 0, NULL, &writeInp… in DoTest() 1221 vlog( "Input value: 0x%2.2x ", ((unsigned char*)gIn)[error - 1] ); in DoTest() 1225 vlog( "Input value: 0x%4.4x ", ((unsigned short*)gIn)[error - 1] ); in DoTest() 1229 vlog( "Input value: 0x%8.8x ", ((unsigned int*)gIn)[error - 1] ); in DoTest() 1232 vlog( "Input value: %a ", ((float*)gIn)[error - 1] ); in DoTest() 1237 vlog( "Input value: 0x%16.16llx ", ((unsigned long long*)gIn)[error - 1] ); in DoTest() [all …]
|