Home
last modified time | relevance | path

Searched refs:gIn (Results 1 – 25 of 29) sorted by relevance

12

/external/OpenCL-CTS/test_conformance/math_brute_force/
Di_unary_float.cpp149 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()
Dunary_u_double.cpp154 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()
Dunary_u_float.cpp151 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()
Di_unary_double.cpp152 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()
Dbinary_two_results_i_float.cpp202 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()
Dbinary_two_results_i_double.cpp201 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()
Dmad_float.cpp158 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()
Dmad_double.cpp159 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()
Dunary_two_results_i_float.cpp169 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()
Dunary_two_results_i_double.cpp166 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()
Dunary_two_results_double.cpp158 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()
Dunary_two_results_float.cpp157 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()
Dmacro_unary_double.cpp333 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()
Dmain.cpp88 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()
Dunary_double.cpp356 cl_double *p = (cl_double *)gIn + thread_id * buffer_elements; in Test()
510 ((cl_double *)gIn)[j], ((cl_ulong *)gIn)[j], in Test()
Dternary_float.cpp254 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()
Dternary_double.cpp238 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()
Dutility.h46 extern void *gIn;
Dbinary_i_double.cpp509 cl_ulong *p = (cl_ulong *)gIn + thread_id * buffer_elements; in Test()
624 s = (cl_double *)gIn + thread_id * buffer_elements; in Test()
Dmacro_binary_float.cpp462 cl_uint *p = (cl_uint *)gIn + thread_id * buffer_elements; in Test()
579 s = (float *)gIn + thread_id * buffer_elements; in Test()
Dbinary_i_float.cpp500 cl_uint *p = (cl_uint *)gIn + thread_id * buffer_elements; in Test()
616 s = (float *)gIn + thread_id * buffer_elements; in Test()
Dmacro_binary_double.cpp473 double *p = (double *)gIn + thread_id * buffer_elements; in Test()
586 s = (cl_double *)gIn + thread_id * buffer_elements; in Test()
Dbinary_operator_double.cpp502 cl_ulong *p = (cl_ulong *)gIn + thread_id * buffer_elements; in Test()
617 s = (cl_double *)gIn + thread_id * buffer_elements; in Test()
Dbinary_double.cpp510 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/
Dtest_conversions.cpp87 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 …]

12