/external/OpenCL-CTS/test_conformance/commonfns/ |
D | test_binary_fn.cpp | 131 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/ |
D | test_api_min_max.cpp | 245 char readArgLine[128], *programSrc; in test_min_max_read_image_args() local 304 …programSrc = (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 …]
|
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()
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_astype.cpp | 84 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()
|
D | test_vloadstore.cpp | 57 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()
|
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()
|
/external/OpenCL-CTS/test_conformance/images/samplerlessReads/ |
D | test_read_1D.cpp | 186 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()
|
D | test_iterations.cpp | 185 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()
|
D | test_read_1D_array.cpp | 184 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()
|
D | test_read_3D.cpp | 173 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()
|
D | test_read_2D_array.cpp | 170 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()
|
D | test_read_1D_buffer.cpp | 169 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/ |
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()
|
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()
|
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()
|
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()
|
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/ |
D | test_read_3D.cpp | 83 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()
|
D | test_write_1D.cpp | 529 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()
|
D | test_write_1D_array.cpp | 550 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()
|
D | test_write_3D.cpp | 584 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()
|
D | test_write_2D_array.cpp | 576 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()
|
D | test_write_image.cpp | 616 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()
|
D | test_read_1D.cpp | 988 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()
|
D | test_read_1D_array.cpp | 1094 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/ |
D | test_image_methods.cpp | 104 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()
|