Home
last modified time | relevance | path

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

12345

/external/OpenCL-CTS/test_conformance/api/
Dtest_mem_object_info.cpp67 CL_MEM_READ_WRITE | CL_MEM_COPY_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()
72 CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info()
74 CL_MEM_READ_ONLY | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info()
77 CL_MEM_WRITE_ONLY | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info()
79 CL_MEM_WRITE_ONLY | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR, 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()
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()
87 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info()
89 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_ONLY | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR, in test_get_buffer_info()
[all …]
Dtest_binary.cpp165 in = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, sizeof(cl_float)*size_to_run, in_data, &error); in test_binary_create()
167 out = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, sizeof(cl_int)*size_to_run, out_data, &error); in test_binary_create()
169 …out_binary = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, sizeof(cl_int)*size_to_run, out_data_bi… in test_binary_create()
Dtest_queries.cpp520 CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR,
521 CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR,
522 CL_MEM_WRITE_ONLY | CL_MEM_COPY_HOST_PTR,
526 CL_MEM_READ_WRITE | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR,
527 CL_MEM_READ_ONLY | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR,
528 CL_MEM_WRITE_ONLY | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR,
/external/OpenCL-CTS/test_conformance/images/clGetInfo/
Dtest_1D_2D_array.cpp30 CL_MEM_COPY_HOST_PTR | flags, in test_get_image_info_1D_array()
31 CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR | flags, in test_get_image_info_1D_array()
63 …if (all_host_ptr_flags[j] & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { // skip test when host… in test_get_image_info_1D_array()
94 …if (all_host_ptr_flags[j] & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { // skip test when host… in test_get_image_info_1D_array()
129 …if (all_host_ptr_flags[j] & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { // skip test when host… in test_get_image_info_1D_array()
152 CL_MEM_COPY_HOST_PTR | flags, in test_get_image_info_2D_array()
153 CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR | flags, in test_get_image_info_2D_array()
190 …if (all_host_ptr_flags[j] & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { // skip test when host… in test_get_image_info_2D_array()
222 …if (all_host_ptr_flags[j] & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { // skip test when host… in test_get_image_info_2D_array()
265 …if (all_host_ptr_flags[j] & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { // skip test when host… in test_get_image_info_2D_array()
Dtest_1D.cpp32 CL_MEM_COPY_HOST_PTR | flags, in test_get_image_info_1D()
33 CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR | flags, in test_get_image_info_1D()
62 …if (all_host_ptr_flags[j] & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { // skip test when host… in test_get_image_info_1D()
88 …if (all_host_ptr_flags[j] & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { // skip test when host… in test_get_image_info_1D()
124 …if (all_host_ptr_flags[j] & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { // skip test when host… in test_get_image_info_1D()
Dtest_3D.cpp31 CL_MEM_COPY_HOST_PTR | flags, in test_get_image_info_3D()
32 CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR | flags, in test_get_image_info_3D()
69 …if (all_host_ptr_flags[j] & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { // skip test when host… in test_get_image_info_3D()
101 …if (all_host_ptr_flags[j] & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { // skip test when host… in test_get_image_info_3D()
144 …if (all_host_ptr_flags[j] & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { // skip test when host… in test_get_image_info_3D()
Dtest_2D.cpp29 if (flags & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { in test_get_image_info_single()
270 CL_MEM_COPY_HOST_PTR | flags, in test_get_image_info_2D()
271 CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR | flags, in test_get_image_info_2D()
303 …if (all_host_ptr_flags[j] & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { // skip test when host… in test_get_image_info_2D()
331 …if (all_host_ptr_flags[j] & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { // skip test when host… in test_get_image_info_2D()
368 …if (all_host_ptr_flags[j] & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { // skip test when host… in test_get_image_info_2D()
/external/OpenCL-CTS/test_common/harness/
DclImageHelper.h40 if (!(flags & (CL_MEM_USE_HOST_PTR | CL_MEM_COPY_HOST_PTR))) in create_image_2d()
127 if (!(flags & (CL_MEM_USE_HOST_PTR | CL_MEM_COPY_HOST_PTR))) in create_image_3d()
179 if (!(flags & (CL_MEM_USE_HOST_PTR | CL_MEM_COPY_HOST_PTR))) in create_image_2d_array()
214 if (!(flags & (CL_MEM_USE_HOST_PTR | CL_MEM_COPY_HOST_PTR))) in create_image_1d_array()
250 if (!(flags & (CL_MEM_USE_HOST_PTR | CL_MEM_COPY_HOST_PTR))) in create_image_1d()
/external/OpenCL-CTS/test_conformance/buffers/
Dtest_buffer_copy.cpp64 …f ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR)) in test_copy()
75 …f ((flag_set[dst_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[dst_flag_id] & CL_MEM_COPY_HOST_PTR)) in test_copy()
87 …(flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) && !(flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR)) { in test_copy()
172 …f ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR)) in testPartialCopy()
183 …f ((flag_set[dst_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[dst_flag_id] & CL_MEM_COPY_HOST_PTR)) in testPartialCopy()
195 …!(flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) && !(flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR)){ in testPartialCopy()
Dmain.cpp129 CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR,
131 CL_MEM_COPY_HOST_PTR,
Dtest_buffer_mem.cpp84 bool copy_host_ptr = (flags & CL_MEM_COPY_HOST_PTR) != 0; in test_mem_flags()
234 CL_MEM_COPY_HOST_PTR | CL_MEM_READ_WRITE, in test_mem_copy_host_flags()
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/
Dmain.cpp126 gMemFlagsToUse = CL_MEM_COPY_HOST_PTR; in doTest()
153 gMemFlagsToUse = CL_MEM_COPY_HOST_PTR; in doTest()
188 gMemFlagsToUse = CL_MEM_COPY_HOST_PTR; in doTest()
211 gMemFlagsToUse = CL_MEM_COPY_HOST_PTR; in doTest()
348 gMemFlagsToUse = CL_MEM_COPY_HOST_PTR; in main()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_enqueue_map.cpp31 CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR,
33 CL_MEM_COPY_HOST_PTR,
63 bool hasHostPtr = (flags & CL_MEM_USE_HOST_PTR) || (flags & CL_MEM_COPY_HOST_PTR); in test_enqueue_map_buffer()
154 bool hasHostPtr = (flags & CL_MEM_USE_HOST_PTR) || (flags & CL_MEM_COPY_HOST_PTR); in test_enqueue_map_image()
Dtest_hostptr.cpp141 clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, in test_hostptr()
163 create_image_2d(context, CL_MEM_COPY_HOST_PTR, &img_format, in test_hostptr()
179 create_image_2d(context, CL_MEM_COPY_HOST_PTR, &img_format, in test_hostptr()
Dtest_vloadstore.cpp112 …streams[ 0 ] = clCreateBuffer( context, CL_MEM_COPY_HOST_PTR, bufferSize, (void *)inBuffer, &error… in test_vload()
114 …streams[ 1 ] = clCreateBuffer( context, CL_MEM_COPY_HOST_PTR, numLoads*sizeof(offsets[0]), offsets… in test_vload()
116 …streams[ 2 ] = clCreateBuffer( context, CL_MEM_COPY_HOST_PTR, numLoads*sizeof(alignmentOffsets[0])… in test_vload()
118 …streams[ 3 ] = clCreateBuffer( context, CL_MEM_COPY_HOST_PTR, numLoads*typeSize*outVectorSize, (vo… in test_vload()
596 …streams[ 0 ] = clCreateBuffer( context, CL_MEM_COPY_HOST_PTR, numStores * typeSize * vecSize * siz… in test_vstore()
598 …streams[ 1 ] = clCreateBuffer( context, CL_MEM_COPY_HOST_PTR, numStores * sizeof(cl_uint), offsets… in test_vstore()
600 …streams[ 2 ] = clCreateBuffer( context, CL_MEM_COPY_HOST_PTR, numElements * typeSize * vecSize, (v… in test_vstore()
Dtest_async_copy_fence.cpp495 streams[0] = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, in test_copy_fence()
499 streams[1] = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, in test_copy_fence()
505 streams[2] = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, in test_copy_fence()
512 streams[3] = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, in test_copy_fence()
Dtest_simple_image_pitch.cpp54 …cl_mem image = clCreateImage(cl_context_, CL_MEM_COPY_HOST_PTR|CL_MEM_READ_WRITE, &fmt, &desc, hos… in test_simple_read_image_pitch()
117 …cl_mem image = clCreateImage(cl_context_, CL_MEM_COPY_HOST_PTR|CL_MEM_READ_WRITE, &fmt, &desc, hos… in test_simple_write_image_pitch()
/external/OpenCL-CTS/test_conformance/pipes/
Dtest_pipe_subgroups.cpp136 buffers[0] = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, size, inptr, &err); in test_pipe_subgroups_divergence()
139 buffers[1] = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, size, outptr, &err); in test_pipe_subgroups_divergence()
142 … buffers[2] = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, size, active_work_item_buffer, &err); in test_pipe_subgroups_divergence()
Dtest_pipe_limits.cpp202 buffers[0] = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, size, inptr, &err); in test_pipe_max_args()
320 buffers[0] = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, size, inptr, &err); in test_pipe_max_packet_size()
573 buffers[0] = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, size, inptr, &err); in test_pipe_max_active_reservations()
582 …buf_reserve_id_t_size_aligned = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, sizeof(reserve_id_t_… in test_pipe_max_active_reservations()
586 buf_status = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, sizeof(int), &status, &err); in test_pipe_max_active_reservations()
Dtest_pipe_readwrite_errors.cpp101 clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, size, inptr, &err); in test_pipe_readwrite_errors()
110 buffers[2] = clCreateBuffer(context, CL_MEM_COPY_HOST_PTR, sizeof(int), &status, &err); in test_pipe_readwrite_errors()
/external/OpenCL-CTS/test_conformance/extensions/cl_ext_cxx_for_opencl/
Dcxx_for_opencl_ext.cpp52 clCreateBuffer(context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, in test_cxx_for_opencl()
57 clCreateBuffer(context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, in test_cxx_for_opencl()
/external/OpenCL-CTS/test_conformance/mem_host_flags/
Dmem_host_buffer.cpp122 CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR | CL_MEM_HOST_READ_ONLY}; in test_mem_host_read_only_buffer()
154 CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR}; in test_mem_host_read_only_subbuffer()
278 CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR | CL_MEM_HOST_WRITE_ONLY}; in test_mem_host_write_only_buffer()
309 CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR}; in test_mem_host_write_only_subbuffer()
435 CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR | CL_MEM_HOST_NO_ACCESS}; in test_mem_host_no_access_buffer()
467 CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR}; in test_mem_host_no_access_subbuffer()
/external/skqp/tools/
Dhello-opencl.cpp90 cl::Buffer A(ctx, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR , sizeof(float)*a.size(), a.data()), in main()
91 B(ctx, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR , sizeof(float)*b.size(), b.data()), in main()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dutil.cc175 flags |= CL_MEM_COPY_HOST_PTR; in CreateCLBuffer()
230 flags |= CL_MEM_COPY_HOST_PTR; in CreateRGBAImage2D()
/external/skia/tools/
Dhello-opencl.cpp88 A(ctx, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR , sizeof(float)*a.size(), a.data()), in main()
89 B(ctx, CL_MEM_READ_ONLY | CL_MEM_COPY_HOST_PTR , sizeof(float)*b.size(), b.data()), in main()

12345