/external/OpenCL-CTS/test_conformance/api/ |
D | test_mem_object_info.cpp | 66 CL_MEM_READ_WRITE, in test_get_buffer_info() 67 CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info() 68 CL_MEM_READ_WRITE | CL_MEM_ALLOC_HOST_PTR, in test_get_buffer_info() 69 CL_MEM_READ_WRITE | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info() 70 CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR, in test_get_buffer_info() 81 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_WRITE, in test_get_buffer_info() 82 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info() 83 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_WRITE | CL_MEM_ALLOC_HOST_PTR, in test_get_buffer_info() 84 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_WRITE | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info() 85 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR, in test_get_buffer_info() [all …]
|
/external/OpenCL-CTS/test_conformance/mem_host_flags/ |
D | mem_host_buffer.cpp | 121 …cl_mem_flags buffer_mem_flags[2] = {CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_READ_ONL… in test_mem_host_read_only_buffer() 122 CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR | CL_MEM_HOST_READ_ONLY}; in test_mem_host_read_only_buffer() 150 …cl_mem_flags parent_buffer_mem_flags[1] = {CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_R… in test_mem_host_read_only_subbuffer() 152 cl_mem_flags buffer_mem_flags[4] = {0, CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR, in test_mem_host_read_only_subbuffer() 153 CL_MEM_READ_WRITE | CL_MEM_ALLOC_HOST_PTR, in test_mem_host_read_only_subbuffer() 154 CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR}; in test_mem_host_read_only_subbuffer() 277 …cl_mem_flags buffer_mem_flags[2] = {CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_WRITE_ON… in test_mem_host_write_only_buffer() 278 CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR | CL_MEM_HOST_WRITE_ONLY}; in test_mem_host_write_only_buffer() 305 …cl_mem_flags parent_buffer_mem_flags[1] = {CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_W… in test_mem_host_write_only_subbuffer() 307 cl_mem_flags buffer_mem_flags[4] = {0, CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR, in test_mem_host_write_only_subbuffer() [all …]
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_imagecopy.cpp | 135 streams[0] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagecopy() 138 streams[1] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagecopy() 144 streams[2] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagecopy() 147 streams[3] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagecopy() 153 streams[4] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagecopy() 156 streams[5] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagecopy()
|
D | test_writeimage.cpp | 140 …clGetSupportedImageFormats (context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, 0, NULL, &numFormat… in test_writeimage() 142 …clGetSupportedImageFormats (context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, numFormats, support… in test_writeimage() 162 …streams[0] = clCreateImage2D(context, CL_MEM_READ_WRITE, &img_format, img_width, img_height, 0, NU… in test_writeimage() 172 …streams[1] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, img_width, img_height, 0, NU… in test_writeimage() 200 streams[4] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, NULL); in test_writeimage() 206 streams[5] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, NULL); in test_writeimage()
|
D | test_readimage.cpp | 139 …clGetSupportedImageFormats (context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, 0, NULL, &numFormat… in test_readimage() 141 …clGetSupportedImageFormats (context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, numFormats, support… in test_readimage() 161 …streams[0] = clCreateImage2D(context, CL_MEM_READ_WRITE, &img_format, img_width, img_height, 0, NU… in test_readimage() 171 …streams[1] = clCreateImage2D(context, CL_MEM_READ_WRITE, &img_format, img_width, img_height, 0, NU… in test_readimage() 177 streams[2] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, NULL); in test_readimage()
|
D | test_imagerandomcopy.cpp | 149 streams[0] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagerandomcopy() 152 streams[1] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagerandomcopy() 158 streams[2] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagerandomcopy() 161 streams[3] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagerandomcopy() 167 streams[4] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagerandomcopy() 170 streams[5] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_imagerandomcopy()
|
D | test_loop.cpp | 86 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, NULL); in test_loop() 92 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, NULL); in test_loop() 98 streams[2] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, NULL); in test_loop() 104 streams[3] = clCreateBuffer(context, CL_MEM_READ_WRITE, length, NULL, NULL); in test_loop()
|
D | test_arrayimagecopy.cpp | 41 image = create_image_2d(context, CL_MEM_READ_WRITE, format, img_width, in test_arrayimagecopy_single_format() 50 buffer = clCreateBuffer(context, CL_MEM_READ_WRITE, buffer_size, NULL, &err); in test_arrayimagecopy_single_format() 128 …err = clGetSupportedImageFormats(context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, 0, NULL, &num_… in test_arrayimagecopy() 133 …err = clGetSupportedImageFormats(context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, num_formats, f… in test_arrayimagecopy()
|
D | test_imagearraycopy.cpp | 41 image = create_image_2d(context, CL_MEM_READ_WRITE, format, img_width, in test_imagearraycopy_single_format() 50 buffer = clCreateBuffer(context, CL_MEM_READ_WRITE, buffer_size, NULL, &err); in test_imagearraycopy_single_format() 128 …err = clGetSupportedImageFormats(context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, 0, NULL, &num_… in test_imagearraycopy() 133 …err = clGetSupportedImageFormats(context, CL_MEM_READ_WRITE, CL_MEM_OBJECT_IMAGE2D, num_formats, f… in test_imagearraycopy()
|
D | test_multireadimagemultifmt.cpp | 139 streams[0] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_mri_multiple() 148 streams[1] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_mri_multiple() 157 streams[2] = create_image_2d(context, CL_MEM_READ_WRITE, &img_format, in test_mri_multiple() 166 clCreateBuffer(context, CL_MEM_READ_WRITE, in test_mri_multiple()
|
D | test_numeric_constants.cpp | 245 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, sizeof(float_out), in test_kernel_numeric_constants() 248 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, sizeof(int_out), in test_kernel_numeric_constants() 251 streams[2] = clCreateBuffer(context, CL_MEM_READ_WRITE, sizeof(uint_out), in test_kernel_numeric_constants() 354 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_kernel_numeric_constants() 357 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_kernel_numeric_constants() 397 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_kernel_numeric_constants() 400 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_kernel_numeric_constants() 543 intStream = clCreateBuffer(context, CL_MEM_READ_WRITE, sizeof(intOut), NULL, in test_kernel_limit_constants() 546 floatStream = clCreateBuffer(context, CL_MEM_READ_WRITE, sizeof(floatOut), in test_kernel_limit_constants() 689 doubleStream = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_kernel_limit_constants()
|
D | test_barrier.cpp | 111 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_barrier() 115 clCreateBuffer(context, CL_MEM_READ_WRITE, sizeof(cl_int), NULL, &err); in test_barrier() 118 clCreateBuffer(context, CL_MEM_READ_WRITE, in test_barrier()
|
/external/OpenCL-CTS/test_conformance/compiler/ |
D | test_preprocessor.cpp | 56 buffer[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, num_elements*sizeof(cl_int), NULL, &error); in test_preprocessor_define_udef() 58 buffer[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, num_elements*sizeof(cl_int), NULL, &error); in test_preprocessor_define_udef() 60 buffer[2] = clCreateBuffer(context, CL_MEM_READ_WRITE, num_elements*sizeof(cl_int), NULL, &error); in test_preprocessor_define_udef() 162 buffer[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, num_elements*sizeof(cl_int), NULL, &error); in test_preprocessor_include() 164 buffer[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, num_elements*sizeof(cl_int), NULL, &error); in test_preprocessor_include() 269 buffer[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, num_elements*sizeof(cl_int), NULL, &error); in test_preprocessor_line_error() 310 buffer[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, num_elements*sizeof(cl_int), NULL, &error); in test_preprocessor_pragma()
|
/external/OpenCL-CTS/test_conformance/SVM/ |
D | test_allocate_shared_buffer.cpp | 19 CL_MEM_READ_WRITE, 22 CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BUFFER, 25 CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BUFFER | CL_MEM_SVM_ATOMICS,
|
D | test_set_kernel_exec_info_svm_ptrs.cpp | 66 int* pA = (int*) clSVMAlloc(c, CL_MEM_READ_WRITE, size, 0); in test_svm_set_kernel_exec_info_svm_ptrs() 67 int* pB = (int*) clSVMAlloc(c, CL_MEM_READ_WRITE, size, 0); in test_svm_set_kernel_exec_info_svm_ptrs() 68 int* pC = (int*) clSVMAlloc(c, CL_MEM_READ_WRITE, size, 0); in test_svm_set_kernel_exec_info_svm_ptrs() 69 BufPtrs* pBuf = (BufPtrs*) clSVMAlloc(c, CL_MEM_READ_WRITE, sizeof(BufPtrs), 0); in test_svm_set_kernel_exec_info_svm_ptrs()
|
D | test_cross_buffer_pointers.cpp | 152 …Node* pNodes = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(Node)*ListLength*numLists, 0); in test_svm_cross_buffer_pointers_coarse_grain() 155 …Node* pNodes2 = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(Node)*ListLength*numLists, 0… in test_svm_cross_buffer_pointers_coarse_grain() 165 … clMemWrapper allocator = clCreateBuffer(context, CL_MEM_READ_WRITE, sizeof(cl_int), NULL, &error); in test_svm_cross_buffer_pointers_coarse_grain() 169 …clMemWrapper num_correct = clCreateBuffer(context, CL_MEM_READ_WRITE, sizeof(cl_int), NULL, &error… in test_svm_cross_buffer_pointers_coarse_grain()
|
/external/OpenCL-CTS/test_conformance/buffers/ |
D | test_buffer_mem.cpp | 136 buffers[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_mem_flags() 211 return test_mem_flags(context, queue, num_elements, CL_MEM_READ_WRITE, in test_mem_read_write_flags() 234 CL_MEM_COPY_HOST_PTR | CL_MEM_READ_WRITE, in test_mem_copy_host_flags() 242 CL_MEM_ALLOC_HOST_PTR | CL_MEM_READ_WRITE, in test_mem_alloc_ref_flags()
|
/external/OpenCL-CTS/test_conformance/commonfns/ |
D | test_mix.cpp | 69 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_mix() 76 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_mix() 83 streams[2] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_mix() 91 streams[3] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_mix()
|
D | test_smoothstepf.cpp | 96 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_smoothstepf() 103 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_smoothstepf() 110 streams[2] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_smoothstepf() 118 streams[3] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_smoothstepf()
|
/external/OpenCL-CTS/test_conformance/events/ |
D | test_events.cpp | 50 streams[0] = clCreateBuffer(inContext, CL_MEM_READ_WRITE, in create_and_execute_kernel() 53 streams[1] = clCreateBuffer(inContext, CL_MEM_READ_WRITE, in create_and_execute_kernel() 183 stream = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_event_get_write_array_status() 218 stream = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_event_get_read_array_status() 289 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_event_wait_for_array() 292 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_event_wait_for_array() 430 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_event_finish_array() 433 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_event_finish_array() 521 clCreateBuffer(context, CL_MEM_READ_WRITE, in test_event_release_before_done() 524 clCreateBuffer(context, CL_MEM_READ_WRITE, in test_event_release_before_done()
|
/external/OpenCL-CTS/test_conformance/workgroups/ |
D | test_wg_reduce.cpp | 193 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_reduce_add_int() 201 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_reduce_add_int() 298 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_reduce_add_uint() 306 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_reduce_add_uint() 402 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_reduce_add_long() 410 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_reduce_add_long() 507 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_reduce_add_ulong() 515 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_reduce_add_ulong()
|
D | test_wg_scan_inclusive_add.cpp | 190 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_add_int() 198 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_add_int() 295 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_add_uint() 303 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_add_uint() 399 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_add_long() 407 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_add_long() 504 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_add_ulong() 512 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_add_ulong()
|
D | test_wg_scan_exclusive_add.cpp | 201 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_exclusive_add_int() 209 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_exclusive_add_int() 306 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_exclusive_add_uint() 314 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_exclusive_add_uint() 410 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_exclusive_add_long() 418 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_exclusive_add_long() 515 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_exclusive_add_ulong() 523 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_exclusive_add_ulong()
|
D | test_wg_scan_inclusive_max.cpp | 192 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_max_int() 200 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_max_int() 297 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_max_uint() 305 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_max_uint() 401 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_max_long() 409 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_max_long() 506 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_max_ulong() 514 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_max_ulong()
|
D | test_wg_scan_inclusive_min.cpp | 192 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_min_int() 200 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_min_int() 297 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_min_uint() 305 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_min_uint() 401 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_min_long() 409 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_min_long() 506 streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_min_ulong() 514 streams[1] = clCreateBuffer(context, CL_MEM_READ_WRITE, in test_work_group_scan_inclusive_min_ulong()
|