Home
last modified time | relevance | path

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

/aosp_15_r20/external/OpenCL-CTS/test_conformance/api/
H A Dtest_api_min_max.cpp275 char readArgLine[128], *programSrc; in test_min_max_read_image_args() local
345 programSrc = (char *)malloc(strlen(sample_read_image_kernel_pattern[0]) in test_min_max_read_image_args()
350 strcpy(programSrc, sample_read_image_kernel_pattern[0]); in test_min_max_read_image_args()
351 strcat(programSrc, "read_only image2d_t srcimg0"); in test_min_max_read_image_args()
355 strcat(programSrc, readArgLine); in test_min_max_read_image_args()
357 strcat(programSrc, sample_read_image_kernel_pattern[1]); in test_min_max_read_image_args()
364 strcat(programSrc, readArgLine); in test_min_max_read_image_args()
366 strcat(programSrc, sample_read_image_kernel_pattern[2]); in test_min_max_read_image_args()
370 (const char **)&programSrc, "sample_test"); in test_min_max_read_image_args()
372 free(programSrc); in test_min_max_read_image_args()
[all …]
H A 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()
/aosp_15_r20/external/OpenCL-CTS/test_conformance/basic/
H A Dtest_vloadstore.cpp167 std::string programSrc; in test_vload() local
168 createFn( programSrc, numElements, type, vecSize, outVectorSize); in test_vload()
171 const char *ptr = programSrc.c_str(); in test_vload()
175 if (DEBUG) log_info("Kernel: \n%s\n", programSrc.c_str()); in test_vload()
526 std::string programSrc; in test_vstore() local
527 createFn(programSrc, numElements, type, vecSize, vecSize); in test_vstore()
530 const char *ptr = programSrc.c_str(); in test_vstore()
534 if (DEBUG) log_info("Kernel: \n%s\n", programSrc.c_str()); in test_vstore()
572 if (error) log_info("%s\n", programSrc.c_str()); in test_vstore()
H A 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()
/aosp_15_r20/external/OpenCL-CTS/test_conformance/images/samplerlessReads/
H A Dtest_read_1D.cpp186 char programSrc[10240]; in test_read_image_set_1D() local
240 sprintf( programSrc, in test_read_image_set_1D()
249 sprintf( programSrc, in test_read_image_set_1D()
257 ptr = programSrc; in test_read_image_set_1D()
H A Dtest_iterations.cpp185 char programSrc[10240]; in test_read_image_set_2D() local
240 sprintf(programSrc, in test_read_image_set_2D()
251 sprintf(programSrc, in test_read_image_set_2D()
259 ptr = programSrc; in test_read_image_set_2D()
H A Dtest_read_1D_array.cpp184 char programSrc[10240]; in test_read_image_set_1D_array() local
239 sprintf( programSrc, in test_read_image_set_1D_array()
248 sprintf( programSrc, in test_read_image_set_1D_array()
256 ptr = programSrc; in test_read_image_set_1D_array()
H A Dtest_read_3D.cpp173 char programSrc[10240]; in test_read_image_set_3D() local
232 sprintf( programSrc, in test_read_image_set_3D()
241 sprintf( programSrc, in test_read_image_set_3D()
249 ptr = programSrc; in test_read_image_set_3D()
H A Dtest_read_2D_array.cpp170 char programSrc[10240]; in test_read_image_set_2D_array() local
228 sprintf( programSrc, read_write2DArrayKernelSourcePattern, in test_read_image_set_2D_array()
238 sprintf( programSrc, read2DArrayKernelSourcePattern, in test_read_image_set_2D_array()
246 ptr = programSrc; in test_read_image_set_2D_array()
H A Dtest_read_1D_buffer.cpp170 char programSrc[10240]; in test_read_image_set_1D_buffer() local
246 sprintf( programSrc, read1DBufferKernelSourcePattern, dataType, in test_read_image_set_1D_buffer()
250 ptr = programSrc; in test_read_image_set_1D_buffer()
/aosp_15_r20/external/OpenCL-CTS/test_conformance/images/kernel_image_methods/
H A 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()
H A 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()
H A 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()
H A 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()
/aosp_15_r20/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
H A Dtest_read_3D.cpp91 char programSrc[10240]; in test_read_image_set_3D() local
148 sprintf(programSrc, KernelSourcePattern, in test_read_image_set_3D()
159 ptr = programSrc; in test_read_image_set_3D()
H A Dtest_write_1D.cpp573 char programSrc[10240]; in test_write_image_1D_set() local
622 programSrc, KernelSourcePattern, in test_write_image_1D_set()
630 ptr = programSrc; in test_write_image_1D_set()
H A Dtest_write_1D_array.cpp595 char programSrc[10240]; in test_write_image_1D_array_set() local
645 programSrc, KernelSourcePattern, in test_write_image_1D_array_set()
654 ptr = programSrc; in test_write_image_1D_array_set()
H A Dtest_write_3D.cpp642 char programSrc[10240]; in test_write_image_3D_set() local
690 programSrc, KernelSourcePattern, khr3DWritesPragma, in test_write_image_3D_set()
699 ptr = programSrc; in test_write_image_3D_set()
H A Dtest_write_2D_array.cpp634 char programSrc[10240]; in test_write_image_2D_array_set() local
683 programSrc, KernelSourcePattern, in test_write_image_2D_array_set()
696 ptr = programSrc; in test_write_image_2D_array_set()
H A Dtest_write_image.cpp662 char programSrc[10240]; in test_write_image_set() local
736 programSrc, KernelSourcePattern, in test_write_image_set()
749 ptr = programSrc; in test_write_image_set()
H A Dtest_read_1D.cpp1025 char programSrc[10240]; in test_read_image_set_1D() local
1081 sprintf(programSrc, KernelSourcePattern, in test_read_image_set_1D()
1090 ptr = programSrc; in test_read_image_set_1D()
H A Dtest_read_1D_array.cpp1131 char programSrc[10240]; in test_read_image_set_1D_array() local
1188 programSrc, KernelSourcePattern, in test_read_image_set_1D_array()
1197 ptr = programSrc; in test_read_image_set_1D_array()
H A Dtest_read_2D_array.cpp1349 char programSrc[10240]; in test_read_image_set_2D_array() local
1423 sprintf(programSrc, KernelSourcePattern, in test_read_image_set_2D_array()
1434 ptr = programSrc; in test_read_image_set_2D_array()
H A Dtest_iterations.cpp1558 char programSrc[10240]; in test_read_image_set_2D() local
1644 sprintf(programSrc, KernelSourcePattern, in test_read_image_set_2D()
1657 ptr = programSrc; in test_read_image_set_2D()
/aosp_15_r20/external/OpenCL-CTS/test_conformance/gl/
H A Dtest_image_methods.cpp107 char programSrc[10240]; in test_image_format_methods() local
278 sprintf(programSrc, methodTestKernelPattern, in test_image_format_methods()
296 const char *ptr = programSrc; in test_image_format_methods()