/external/OpenCL-CTS/test_conformance/math_brute_force/ |
D | binary_operator_double.cpp | 286 size_t buffer_elements = job->subBufferSize; in Test() local 287 size_t buffer_size = buffer_elements * sizeof(cl_double); in Test() 324 cl_ulong *p = (cl_ulong *)gIn + thread_id * buffer_elements; in Test() 325 cl_ulong *p2 = (cl_ulong *)gIn2 + thread_id * buffer_elements; in Test() 328 int lastSpecialJobIndex = (totalSpecialValueCount - 1) / buffer_elements; in Test() 336 x = (job_id * buffer_elements) % specialValuesCount; in Test() 337 y = (job_id * buffer_elements) / specialValuesCount; in Test() 339 for (; idx < buffer_elements; idx++) in Test() 353 for (; idx < buffer_elements; idx++) in Test() 401 (buffer_elements + sizeValues[j] - 1) / sizeValues[j]; in Test() [all …]
|
D | macro_binary_float.cpp | 267 size_t buffer_elements = job->subBufferSize; in Test() local 268 size_t buffer_size = buffer_elements * sizeof(cl_float); in Test() 302 cl_uint *p = (cl_uint *)gIn + thread_id * buffer_elements; in Test() 303 cl_uint *p2 = (cl_uint *)gIn2 + thread_id * buffer_elements; in Test() 307 int lastSpecialJobIndex = (totalSpecialValueCount - 1) / buffer_elements; in Test() 315 x = (job_id * buffer_elements) % specialValuesCount; in Test() 316 y = (job_id * buffer_elements) / specialValuesCount; in Test() 318 for (; idx < buffer_elements; idx++) in Test() 333 for (; idx < buffer_elements; idx++) in Test() 381 (buffer_elements + sizeValues[j] - 1) / sizeValues[j]; in Test() [all …]
|
D | binary_i_double.cpp | 294 size_t buffer_elements = job->subBufferSize; in Test() local 295 size_t buffer_size = buffer_elements * sizeof(cl_double); in Test() 332 cl_ulong *p = (cl_ulong *)gIn + thread_id * buffer_elements; in Test() 333 cl_int *p2 = (cl_int *)gIn2 + thread_id * buffer_elements; in Test() 336 int lastSpecialJobIndex = (totalSpecialValueCount - 1) / buffer_elements; in Test() 344 x = (job_id * buffer_elements) % specialValuesCount; in Test() 345 y = (job_id * buffer_elements) / specialValuesCount; in Test() 347 for (; idx < buffer_elements; idx++) in Test() 361 for (; idx < buffer_elements; idx++) in Test() 409 (buffer_elements + sizeValues[j] - 1) / sizeValues[j]; in Test() [all …]
|
D | binary_i_float.cpp | 285 size_t buffer_elements = job->subBufferSize; in Test() local 286 size_t buffer_size = buffer_elements * sizeof(cl_float); in Test() 321 cl_uint *p = (cl_uint *)gIn + thread_id * buffer_elements; in Test() 322 cl_uint *p2 = (cl_uint *)gIn2 + thread_id * buffer_elements; in Test() 325 int lastSpecialJobIndex = (totalSpecialValueCount - 1) / buffer_elements; in Test() 333 x = (job_id * buffer_elements) % specialValuesCount; in Test() 334 y = (job_id * buffer_elements) / specialValuesCount; in Test() 336 for (; idx < buffer_elements; idx++) in Test() 351 for (; idx < buffer_elements; idx++) in Test() 399 (buffer_elements + sizeValues[j] - 1) / sizeValues[j]; in Test() [all …]
|
D | macro_binary_double.cpp | 278 size_t buffer_elements = job->subBufferSize; in Test() local 279 size_t buffer_size = buffer_elements * sizeof(cl_double); in Test() 315 double *p = (double *)gIn + thread_id * buffer_elements; in Test() 316 double *p2 = (double *)gIn2 + thread_id * buffer_elements; in Test() 319 int lastSpecialJobIndex = (totalSpecialValueCount - 1) / buffer_elements; in Test() 325 x = (job_id * buffer_elements) % specialValuesCount; in Test() 326 y = (job_id * buffer_elements) / specialValuesCount; in Test() 328 for (; idx < buffer_elements; idx++) in Test() 342 for (; idx < buffer_elements; idx++) in Test() 390 (buffer_elements + sizeValues[j] - 1) / sizeValues[j]; in Test() [all …]
|
D | binary_operator_float.cpp | 276 size_t buffer_elements = job->subBufferSize; in Test() local 277 size_t buffer_size = buffer_elements * sizeof(cl_float); in Test() 286 std::vector<bool> overflow(buffer_elements, false); in Test() 319 cl_uint *p = (cl_uint *)gIn + thread_id * buffer_elements; in Test() 320 cl_uint *p2 = (cl_uint *)gIn2 + thread_id * buffer_elements; in Test() 323 int lastSpecialJobIndex = (totalSpecialValueCount - 1) / buffer_elements; in Test() 330 x = (job_id * buffer_elements) % specialValuesCount; in Test() 331 y = (job_id * buffer_elements) / specialValuesCount; in Test() 333 for (; idx < buffer_elements; idx++) in Test() 356 for (; idx < buffer_elements; idx++) in Test() [all …]
|
D | binary_float.cpp | 279 size_t buffer_elements = job->subBufferSize; in Test() local 280 size_t buffer_size = buffer_elements * sizeof(cl_float); in Test() 289 std::vector<bool> overflow(buffer_elements, false); in Test() 332 cl_uint *p = (cl_uint *)gIn + thread_id * buffer_elements; in Test() 333 cl_uint *p2 = (cl_uint *)gIn2 + thread_id * buffer_elements; in Test() 336 int lastSpecialJobIndex = (totalSpecialValueCount - 1) / buffer_elements; in Test() 344 x = (job_id * buffer_elements) % specialValuesCount; in Test() 345 y = (job_id * buffer_elements) / specialValuesCount; in Test() 347 for (; idx < buffer_elements; idx++) in Test() 362 for (; idx < buffer_elements; idx++) in Test() [all …]
|
D | binary_double.cpp | 289 size_t buffer_elements = job->subBufferSize; in Test() local 290 size_t buffer_size = buffer_elements * sizeof(cl_double); in Test() 329 cl_ulong *p = (cl_ulong *)gIn + thread_id * buffer_elements; in Test() 330 cl_ulong *p2 = (cl_ulong *)gIn2 + thread_id * buffer_elements; in Test() 333 int lastSpecialJobIndex = (totalSpecialValueCount - 1) / buffer_elements; in Test() 341 x = (job_id * buffer_elements) % specialValuesCount; in Test() 342 y = (job_id * buffer_elements) / specialValuesCount; in Test() 344 for (; idx < buffer_elements; idx++) in Test() 358 for (; idx < buffer_elements; idx++) in Test() 406 (buffer_elements + sizeValues[j] - 1) / sizeValues[j]; in Test() [all …]
|
D | macro_unary_float.cpp | 153 size_t buffer_elements = job->subBufferSize; in Test() local 154 size_t buffer_size = buffer_elements * sizeof(cl_float); in Test() 190 cl_uint *p = (cl_uint *)gIn + thread_id * buffer_elements; in Test() 191 for (size_t j = 0; j < buffer_elements; j++) p[j] = base + j * scale; in Test() 228 (buffer_elements + sizeValues[j] - 1) / sizeValues[j]; in Test() 260 cl_int *r = (cl_int *)gOut_Ref + thread_id * buffer_elements; in Test() 262 for (size_t j = 0; j < buffer_elements; j++) r[j] = ref_func(s[j]); in Test() 282 for (size_t j = 0; j < buffer_elements; j++) in Test() 366 base, job->step, job->scale, buffer_elements, in Test()
|
D | macro_unary_double.cpp | 155 size_t buffer_elements = job->subBufferSize; in Test() local 156 size_t buffer_size = buffer_elements * sizeof(cl_double); in Test() 188 cl_double *p = (cl_double *)gIn + thread_id * buffer_elements; in Test() 189 for (size_t j = 0; j < buffer_elements; j++) in Test() 227 (buffer_elements + sizeValues[j] - 1) / sizeValues[j]; in Test() 259 cl_long *r = (cl_long *)gOut_Ref + thread_id * buffer_elements; in Test() 261 for (size_t j = 0; j < buffer_elements; j++) r[j] = dfunc.i_f(s[j]); in Test() 281 for (size_t j = 0; j < buffer_elements; j++) in Test() 356 base, job->step, job->scale, buffer_elements, in Test()
|
D | unary_double.cpp | 163 size_t buffer_elements = job->subBufferSize; in Test() local 164 size_t buffer_size = buffer_elements * sizeof(cl_double); in Test() 196 cl_double *p = (cl_double *)gIn + thread_id * buffer_elements; in Test() 197 for (size_t j = 0; j < buffer_elements; j++) in Test() 235 (buffer_elements + sizeValues[j] - 1) / sizeValues[j]; in Test() 268 cl_double *r = (cl_double *)gOut_Ref + thread_id * buffer_elements; in Test() 270 for (size_t j = 0; j < buffer_elements; j++) in Test() 291 for (size_t j = 0; j < buffer_elements; j++) in Test() 379 base, job->step, buffer_elements, job->scale, job->ulps, in Test()
|
D | unary_float.cpp | 160 size_t buffer_elements = job->subBufferSize; in Test() local 161 size_t buffer_size = buffer_elements * sizeof(cl_float); in Test() 200 cl_uint *p = (cl_uint *)gIn + thread_id * buffer_elements; in Test() 201 for (size_t j = 0; j < buffer_elements; j++) in Test() 262 (buffer_elements + sizeValues[j] - 1) / sizeValues[j]; in Test() 294 float *r = (float *)gOut_Ref + thread_id * buffer_elements; in Test() 296 for (size_t j = 0; j < buffer_elements; j++) r[j] = (float)func.f_f(s[j]); in Test() 316 for (size_t j = 0; j < buffer_elements; j++) in Test() 529 base, job->step, job->scale, buffer_elements, job->ulps, in Test()
|