Home
last modified time | relevance | path

Searched refs:programSrc (Results 1 – 25 of 27) sorted by relevance

12

/external/OpenCL-CTS/test_conformance/commonfns/
Dtest_binary_fn.cpp131 char programSrc[ 10240 ]; in test_binary_fn() local
138 sprintf( programSrc,binary_fn_code_pattern_v3, "", "float", "float", "float", fnName ); in test_binary_fn()
140 … sprintf( programSrc,binary_fn_code_pattern_v3_scalar, "", "float", "float", "float", fnName ); in test_binary_fn()
144 …sprintf( programSrc, binary_fn_code_pattern, "", "float", vecSizeNames[ i ], "float", vectorSecond… in test_binary_fn()
146 const char *ptr = programSrc; in test_binary_fn()
154 … sprintf( programSrc, binary_fn_code_pattern_v3, "#pragma OPENCL EXTENSION cl_khr_fp64 : enable", in test_binary_fn()
158 …sprintf( programSrc, binary_fn_code_pattern_v3_scalar, "#pragma OPENCL EXTENSION cl_khr_fp64 : ena… in test_binary_fn()
162 … sprintf( programSrc, binary_fn_code_pattern, "#pragma OPENCL EXTENSION cl_khr_fp64 : enable", in test_binary_fn()
165 ptr = programSrc; in test_binary_fn()
/external/OpenCL-CTS/test_conformance/api/
Dtest_api_min_max.cpp245 char readArgLine[128], *programSrc; in test_min_max_read_image_args() local
304programSrc = (char *)malloc( strlen( sample_read_image_kernel_pattern[ 0 ] ) + ( strlen( readArgPa… in test_min_max_read_image_args()
307 strcpy( programSrc, sample_read_image_kernel_pattern[ 0 ] ); in test_min_max_read_image_args()
308 strcat( programSrc, "read_only image2d_t srcimg0" ); in test_min_max_read_image_args()
312 strcat( programSrc, readArgLine ); in test_min_max_read_image_args()
314 strcat( programSrc, sample_read_image_kernel_pattern[ 1 ] ); in test_min_max_read_image_args()
317 strcat( programSrc, readArgLine ); in test_min_max_read_image_args()
319 strcat( programSrc, sample_read_image_kernel_pattern[ 2 ] ); in test_min_max_read_image_args()
321 …error = create_single_kernel_helper(context, &program, &kernel, 1, (const char **)&programSrc, "sa… in test_min_max_read_image_args()
323 free( programSrc ); in test_min_max_read_image_args()
[all …]
Dtest_kernel_arg_multi_setup.cpp42 char programSrc[ 10248 ], vec1Name[ 64 ], vec2Name[ 64 ], vec3Name[ 64 ]; in test_multi_arg_set() local
53 sprintf( programSrc, multi_arg_kernel_source_pattern, in test_multi_arg_set()
56 ptr = programSrc; in test_multi_arg_set()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_astype.cpp84 char programSrc[ 10240 ]; in test_astype_set() local
96 sprintf( programSrc, astype_kernel_pattern_V3srcV3dst, in test_astype_set()
104 sprintf( programSrc, astype_kernel_pattern_V3dst, in test_astype_set()
113 sprintf( programSrc, astype_kernel_pattern_V3src, in test_astype_set()
120 sprintf( programSrc, astype_kernel_pattern, in test_astype_set()
128 const char *ptr = programSrc; in test_astype_set()
206 programSrc, (int)threads[0],(int) localThreads[0]); in test_astype_set()
Dtest_vloadstore.cpp57 char programSrc[ 10240 ]; in test_vload() local
97 createFn( programSrc, numElements, type, vecSize, outVectorSize); in test_vload()
100 const char *ptr = programSrc; in test_vload()
104 if (DEBUG) log_info("Kernel: \n%s\n", programSrc); in test_vload()
542 char programSrc[ 10240 ]; in test_vstore() local
582 createFn( programSrc, numElements, type, vecSize ); in test_vstore()
585 const char *ptr = programSrc; in test_vstore()
588 if (DEBUG) log_info("Kernel: \n%s\n", programSrc); in test_vstore()
622 log_info("%s\n", programSrc); in test_vstore()
Dtest_explicit_s2v.cpp109 …function(cl_device_id deviceID, cl_context context, cl_command_queue queue, const char *programSrc, in test_explicit_s2v_function() argument
125 programSrc in test_explicit_s2v_function()
133 if( programSrc == NULL ) in test_explicit_s2v_function()
/external/OpenCL-CTS/test_conformance/images/samplerlessReads/
Dtest_read_1D.cpp186 char programSrc[10240]; in test_read_image_set_1D() local
239 sprintf( programSrc, in test_read_image_set_1D()
248 sprintf( programSrc, in test_read_image_set_1D()
256 ptr = programSrc; in test_read_image_set_1D()
Dtest_iterations.cpp185 char programSrc[10240]; in test_read_image_set_2D() local
239 sprintf(programSrc, in test_read_image_set_2D()
250 sprintf(programSrc, in test_read_image_set_2D()
258 ptr = programSrc; in test_read_image_set_2D()
Dtest_read_1D_array.cpp184 char programSrc[10240]; in test_read_image_set_1D_array() local
238 sprintf( programSrc, in test_read_image_set_1D_array()
247 sprintf( programSrc, in test_read_image_set_1D_array()
255 ptr = programSrc; in test_read_image_set_1D_array()
Dtest_read_3D.cpp173 char programSrc[10240]; in test_read_image_set_3D() local
231 sprintf( programSrc, in test_read_image_set_3D()
240 sprintf( programSrc, in test_read_image_set_3D()
248 ptr = programSrc; in test_read_image_set_3D()
Dtest_read_2D_array.cpp170 char programSrc[10240]; in test_read_image_set_2D_array() local
227 sprintf( programSrc, read_write2DArrayKernelSourcePattern, in test_read_image_set_2D_array()
237 sprintf( programSrc, read2DArrayKernelSourcePattern, in test_read_image_set_2D_array()
245 ptr = programSrc; in test_read_image_set_2D_array()
Dtest_read_1D_buffer.cpp169 char programSrc[10240]; in test_read_image_set_1D_buffer() local
244 sprintf( programSrc, read1DBufferKernelSourcePattern, dataType, in test_read_image_set_1D_buffer()
248 ptr = programSrc; in test_read_image_set_1D_buffer()
/external/OpenCL-CTS/test_conformance/images/kernel_image_methods/
Dtest_1D.cpp57 char programSrc[ 10240 ]; in test_get_1Dimage_info_single() local
92 sprintf(programSrc, methodTest1DImageKernelPattern, image_access_qualifier, in test_get_1Dimage_info_single()
99 const char *ptr = programSrc; in test_get_1Dimage_info_single()
Dtest_1D_array.cpp60 char programSrc[ 10240 ]; in test_get_1Dimage_array_info_single() local
96 sprintf(programSrc, methodTestKernelPattern, image_access_qualifier, in test_get_1Dimage_array_info_single()
103 const char *ptr = programSrc; in test_get_1Dimage_array_info_single()
Dtest_2D_array.cpp63 char programSrc[ 10240 ]; in test_get_2Dimage_array_info_single() local
99 sprintf(programSrc, methodTestKernelPattern, image_access_qualifier, in test_get_2Dimage_array_info_single()
109 const char *ptr = programSrc; in test_get_2Dimage_array_info_single()
Dtest_2D.cpp76 char programSrc[ 10240 ]; in test_get_image_info_single() local
121 sprintf(programSrc, methodTestKernelPattern, cl_khr_3d_image_writes_enabler, in test_get_image_info_single()
134 const char *ptr = programSrc; in test_get_image_info_single()
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dtest_read_3D.cpp83 char programSrc[10240]; in test_read_image_set_3D() local
140 sprintf( programSrc, in test_read_image_set_3D()
150 ptr = programSrc; in test_read_image_set_3D()
Dtest_write_1D.cpp529 char programSrc[10240]; in test_write_image_1D_set() local
577 sprintf( programSrc, in test_write_image_1D_set()
584 ptr = programSrc; in test_write_image_1D_set()
Dtest_write_1D_array.cpp550 char programSrc[10240]; in test_write_image_1D_array_set() local
599 sprintf( programSrc, in test_write_image_1D_array_set()
607 ptr = programSrc; in test_write_image_1D_array_set()
Dtest_write_3D.cpp584 char programSrc[10240]; in test_write_image_3D_set() local
631 sprintf( programSrc, in test_write_image_3D_set()
640 ptr = programSrc; in test_write_image_3D_set()
Dtest_write_2D_array.cpp576 char programSrc[10240]; in test_write_image_2D_array_set() local
624 sprintf( programSrc, in test_write_image_2D_array_set()
634 ptr = programSrc; in test_write_image_2D_array_set()
Dtest_write_image.cpp616 char programSrc[10240]; in test_write_image_set() local
689 sprintf( programSrc, in test_write_image_set()
699 ptr = programSrc; in test_write_image_set()
Dtest_read_1D.cpp988 char programSrc[10240]; in test_read_image_set_1D() local
1044 sprintf( programSrc, in test_read_image_set_1D()
1053 ptr = programSrc; in test_read_image_set_1D()
Dtest_read_1D_array.cpp1094 char programSrc[10240]; in test_read_image_set_1D_array() local
1150 sprintf( programSrc, in test_read_image_set_1D_array()
1160 ptr = programSrc; in test_read_image_set_1D_array()
/external/OpenCL-CTS/test_conformance/gl/
Dtest_image_methods.cpp104 char programSrc[ 10240 ]; in test_image_format_methods() local
254 sprintf(programSrc, in test_image_format_methods()
275 const char *ptr = programSrc; in test_image_format_methods()

12