Home
last modified time | relevance | path

Searched refs:kernelSource (Results 1 – 17 of 17) sorted by relevance

/external/OpenCL-CTS/test_conformance/relationals/
Dtest_comparisons_float.cpp124 char kernelSource[10240]; in test_equiv_kernel_float() local
138 …sprintf( kernelSource, equivTestKernelPattern_float3, sizeName, sizeName, sizeName, sizeName, fnNa… in test_equiv_kernel_float()
140 …sprintf( kernelSource, equivTestKernelPatternLessGreater_float3, sizeName, sizeName, sizeName, siz… in test_equiv_kernel_float()
144 …sprintf( kernelSource, equivTestKernelPattern_float, sizeName, sizeName, sizeName, sizeName, fnNam… in test_equiv_kernel_float()
146 …sprintf( kernelSource, equivTestKernelPatternLessGreater_float, sizeName, sizeName, sizeName, size… in test_equiv_kernel_float()
151 programPtr = kernelSource; in test_equiv_kernel_float()
Dtest_comparisons_double.cpp118 char kernelSource[10240]; in test_equiv_kernel_double() local
131 …sprintf( kernelSource, equivTestKernelPattern_double3, sizeName, sizeName, sizeName, sizeName, fnN… in test_equiv_kernel_double()
133 …sprintf( kernelSource, equivTestKernelPatternLessGreater_double3, sizeName, sizeName, sizeName, si… in test_equiv_kernel_double()
137 …sprintf( kernelSource, equivTestKernelPattern_double, sizeName, sizeName, sizeName, sizeName, fnNa… in test_equiv_kernel_double()
139 …sprintf( kernelSource, equivTestKernelPatternLessGreater_double, sizeName, sizeName, sizeName, siz… in test_equiv_kernel_double()
144 programPtr = kernelSource; in test_equiv_kernel_double()
Dtest_shuffles.cpp325 char kernelSource[MAX_PROGRAM_SIZE], progLine[ 10240 ]; in create_shuffle_kernel() local
364 kernelSource[ 0 ] = 0; in create_shuffle_kernel()
366 strcat(kernelSource, "#pragma OPENCL EXTENSION cl_khr_fp64 : enable\n"); in create_shuffle_kernel()
373 strcat(kernelSource, progLine); in create_shuffle_kernel()
391 strcat(kernelSource, progLine); in create_shuffle_kernel()
396 strcat(kernelSource, progLine); in create_shuffle_kernel()
406 strcat(kernelSource, progLine); in create_shuffle_kernel()
484 strcat(kernelSource, progLine); in create_shuffle_kernel()
569 strcat( kernelSource, progLine ); in create_shuffle_kernel()
570 if (strlen(kernelSource) > 0.9*MAX_PROGRAM_SIZE) in create_shuffle_kernel()
[all …]
Dtest_relationals.cpp55 char kernelSource[10240]; in test_any_all_kernel() local
70 sprintf( kernelSource, anyAllTestKernelPatternVload, in test_any_all_kernel()
75 sprintf( kernelSource, anyAllTestKernelPattern, in test_any_all_kernel()
80 programPtr = kernelSource; in test_any_all_kernel()
317 char kernelSource[10240]; in test_select_kernel() local
338 sprintf( kernelSource, selectTestKernelPatternVload, in test_select_kernel()
351 sprintf( kernelSource, selectTestKernelPattern, in test_select_kernel()
361 programPtr = kernelSource; in test_select_kernel()
/external/OpenCL-CTS/test_conformance/geometrics/
Dtest_geometrics.cpp299 char kernelSource[10240]; in test_twoToFloat_kernel() local
309 … error = clGetDeviceInfo( device, CL_DEVICE_PROFILE, sizeof( kernelSource ), kernelSource, NULL ); in test_twoToFloat_kernel()
311 if( 0 == strcmp( kernelSource, "EMBEDDED_PROFILE" ) ) in test_twoToFloat_kernel()
333 …sprintf( kernelSource, vecSize == 3 ? twoToFloatKernelPatternV3 : twoToFloatKernelPattern, sizeNam… in test_twoToFloat_kernel()
336 programPtr = kernelSource; in test_twoToFloat_kernel()
641 char kernelSource[10240]; in test_oneToFloat_kernel() local
648 …sprintf( kernelSource, vecSize == 3? oneToFloatKernelPatternV3 : oneToFloatKernelPattern, sizeName… in test_oneToFloat_kernel()
651 programPtr = kernelSource; in test_oneToFloat_kernel()
854 char kernelSource[10240]; in test_oneToOne_kernel() local
862 …sprintf( kernelSource, vecSize == 3 ? oneToOneKernelPatternV3: oneToOneKernelPattern, sizeNames[ve… in test_oneToOne_kernel()
[all …]
Dtest_geometrics_double.cpp302 char kernelSource[10240]; in test_twoToFloat_kernel_double() local
314 …sprintf( kernelSource, vecSize == 3 ? twoToFloatKernelPattern_doubleV3 : twoToFloatKernelPattern_d… in test_twoToFloat_kernel_double()
317 programPtr = kernelSource; in test_twoToFloat_kernel_double()
546 char kernelSource[10240]; in test_oneToFloat_kernel_double() local
553 …sprintf( kernelSource, vecSize == 3 ? oneToFloatKernelPattern_doubleV3 : oneToFloatKernelPattern_d… in test_oneToFloat_kernel_double()
556 programPtr = kernelSource; in test_oneToFloat_kernel_double()
753 char kernelSource[10240]; in test_oneToOne_kernel_double() local
760 …sprintf( kernelSource, vecSize == 3 ? oneToOneKernelPattern_doubleV3 : oneToOneKernelPattern_doubl… in test_oneToOne_kernel_double()
763 programPtr = kernelSource; in test_oneToOne_kernel_double()
/external/OpenCL-CTS/test_conformance/integer_ops/
Dtest_unary_ops.cpp61 char kernelSource[10240]; in test_unary_op() local
79 sprintf( kernelSource, testKernel, get_explicit_type_name( vecType ), /*sizeNames[ vecSize ],*/ in test_unary_op()
84 programPtr = kernelSource; in test_unary_op()
Dtest_integers.cpp60 char kernelSource[10240]; in test_single_param_integer_kernel() local
77 sprintf( kernelSource, singleParamSingleSizeIntegerKernelSourcePattern, in test_single_param_integer_kernel()
81 sprintf( kernelSource, singleParamIntegerKernelSourcePattern, in test_single_param_integer_kernel()
88 programPtr = kernelSource; in test_single_param_integer_kernel()
92 log_error("The program we attempted to compile was: \n%s\n", kernelSource); in test_single_param_integer_kernel()
625 char kernelSource[10240]; in test_two_param_integer_kernel() local
648 sprintf( kernelSource, twoParamIntegerKernelSourcePattern, in test_two_param_integer_kernel()
660 programPtr = kernelSource; in test_two_param_integer_kernel()
663 log_error("The program we attempted to compile was: \n%s\n", kernelSource); in test_two_param_integer_kernel()
1279 char kernelSource[10240]; in test_three_param_integer_kernel() local
[all …]
/external/OpenCL-CTS/test_conformance/gles/
Dtest_images_2D.cpp49 char kernelSource[10240]; in test_cl_image_read() local
61 …sprintf( kernelSource, imageReadKernelPattern, get_explicit_type_name( *outType ), get_kernel_suff… in test_cl_image_read()
65 log_info("%s", kernelSource); in test_cl_image_read()
70 programPtr = kernelSource; in test_cl_image_read()
384 char kernelSource[10240]; in test_cl_image_write() local
398 …sprintf( kernelSource, imageWriteKernelPattern, get_explicit_type_name( *outType ), get_explicit_t… in test_cl_image_write()
402 log_info("%s", kernelSource); in test_cl_image_write()
407 programPtr = kernelSource; in test_cl_image_write()
Dtest_images_3D.cpp43 char kernelSource[1024]; in test_image_read() local
68 …sprintf( kernelSource, imageReadKernelPattern, get_explicit_type_name( *outType ), get_kernel_suff… in test_image_read()
71 programPtr = kernelSource; in test_image_read()
Dtest_buffers.cpp147 char kernelSource[10240]; in test_buffer_kernel() local
157 sprintf( kernelSource, bufferKernelPattern, get_explicit_type_name( vecType ), sizeName, in test_buffer_kernel()
164 programPtr = kernelSource; in test_buffer_kernel()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_local_kernel_scope.cpp30 const char *kernelSource[] = { variable
68 error = create_single_kernel_helper( context, &program, &kernel, 1, kernelSource, "test" ); in test_local_kernel_scope()
/external/OpenCL-CTS/test_conformance/gl/
Dtest_buffers.cpp144 char kernelSource[10240]; in test_buffer_kernel() local
154 sprintf( kernelSource, bufferKernelPattern, get_explicit_type_name( vecType ), sizeName, in test_buffer_kernel()
161 programPtr = kernelSource; in test_buffer_kernel()
Dtest_images_read_common.cpp228 char kernelSource[2048]; in test_cl_image_read() local
249 sprintf( kernelSource, source, get_explicit_type_name( *outType ), in test_cl_image_read()
252 programPtr = kernelSource; in test_cl_image_read()
Dtest_images_write_common.cpp308 char kernelSource[2048]; in test_cl_image_write() local
332 sprintf(kernelSource, appropriateKernel, get_explicit_type_name( *outType ), in test_cl_image_write()
335 programPtr = kernelSource; in test_cl_image_write()
/external/OpenCL-CTS/test_conformance/math_brute_force/
Dmain.cpp905 const char *kernelSource = in InitILogbConstants() local
915 &kernelSource, "GetILogBConstants"); in InitILogbConstants()
967 const char *kernelSource = in IsTininessDetectedBeforeRounding() local
978 create_single_kernel_helper(gContext, &query, &kernel, 1, &kernelSource, in IsTininessDetectedBeforeRounding()
1111 const char *kernelSource = in IsInRTZMode() local
1122 &kernelSource, "GetRoundingMode"); in IsInRTZMode()
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.cpp3006 const char *kernelSource[1] = { in DetectFloatToHalfRoundingMode() local
3018 kernelSource, "detect_round"); in DetectFloatToHalfRoundingMode()