Home
last modified time | relevance | path

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

12345678910

/external/OpenCL-CTS/test_conformance/api/
Dtest_mem_object_info.cpp66 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/
Dmem_host_buffer.cpp121 …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/
Dtest_imagecopy.cpp135 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()
Dtest_writeimage.cpp140 …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()
Dtest_readimage.cpp139 …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()
Dtest_imagerandomcopy.cpp149 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()
Dtest_loop.cpp86 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()
Dtest_arrayimagecopy.cpp41 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()
Dtest_imagearraycopy.cpp41 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()
Dtest_multireadimagemultifmt.cpp139 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()
Dtest_numeric_constants.cpp245 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()
Dtest_barrier.cpp111 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/
Dtest_preprocessor.cpp56 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/
Dtest_allocate_shared_buffer.cpp19 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,
Dtest_set_kernel_exec_info_svm_ptrs.cpp66 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()
Dtest_cross_buffer_pointers.cpp152 …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/
Dtest_buffer_mem.cpp136 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/
Dtest_mix.cpp69 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()
Dtest_smoothstepf.cpp96 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/
Dtest_events.cpp50 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/
Dtest_wg_reduce.cpp193 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()
Dtest_wg_scan_inclusive_add.cpp190 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()
Dtest_wg_scan_exclusive_add.cpp201 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()
Dtest_wg_scan_inclusive_max.cpp192 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()
Dtest_wg_scan_inclusive_min.cpp192 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()

12345678910