/aosp_15_r20/external/OpenCL-CTS/test_conformance/api/ |
H A D | test_api_min_max.cpp | 275 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 D | test_kernel_arg_multi_setup.cpp | 42 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 D | test_vloadstore.cpp | 167 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 D | test_explicit_s2v.cpp | 109 …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 D | test_read_1D.cpp | 186 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 D | test_iterations.cpp | 185 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 D | test_read_1D_array.cpp | 184 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 D | test_read_3D.cpp | 173 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 D | test_read_2D_array.cpp | 170 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 D | test_read_1D_buffer.cpp | 170 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 D | test_1D.cpp | 57 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 D | test_1D_array.cpp | 60 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 D | test_2D_array.cpp | 63 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 D | test_2D.cpp | 76 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 D | test_read_3D.cpp | 91 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 D | test_write_1D.cpp | 573 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 D | test_write_1D_array.cpp | 595 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 D | test_write_3D.cpp | 642 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 D | test_write_2D_array.cpp | 634 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 D | test_write_image.cpp | 662 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 D | test_read_1D.cpp | 1025 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 D | test_read_1D_array.cpp | 1131 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 D | test_read_2D_array.cpp | 1349 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 D | test_iterations.cpp | 1558 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 D | test_image_methods.cpp | 107 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()
|