Home
last modified time | relevance | path

Searched refs:CL_MEM_USE_HOST_PTR (Results 1 – 25 of 70) sorted by relevance

123

/external/OpenCL-CTS/test_conformance/api/
Dtest_mem_object_info.cpp70 CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR, in test_get_buffer_info()
75 CL_MEM_READ_ONLY | CL_MEM_USE_HOST_PTR, in test_get_buffer_info()
80 CL_MEM_WRITE_ONLY | CL_MEM_USE_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()
90 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_ONLY | CL_MEM_USE_HOST_PTR, in test_get_buffer_info()
95 CL_MEM_HOST_READ_ONLY | CL_MEM_WRITE_ONLY | CL_MEM_USE_HOST_PTR, in test_get_buffer_info()
100 CL_MEM_HOST_WRITE_ONLY | CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR, in test_get_buffer_info()
105 CL_MEM_HOST_WRITE_ONLY | CL_MEM_READ_ONLY | CL_MEM_USE_HOST_PTR, in test_get_buffer_info()
110 CL_MEM_HOST_WRITE_ONLY | CL_MEM_WRITE_ONLY | CL_MEM_USE_HOST_PTR, in test_get_buffer_info()
115 CL_MEM_HOST_NO_ACCESS | CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR, in test_get_buffer_info()
[all …]
/external/OpenCL-CTS/test_conformance/images/clGetInfo/
Dtest_1D_2D_array.cpp32 CL_MEM_USE_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()
154 CL_MEM_USE_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.cpp34 CL_MEM_USE_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.cpp33 CL_MEM_USE_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()
272 CL_MEM_USE_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_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()
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()
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()
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()
434 …cl_mem_flags buffer_mem_flag[2] = {CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_NO_ACCESS, in test_mem_host_no_access_buffer()
461 …cl_mem_flags parent_buffer_mem_flags[3] = { CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_… in test_mem_host_no_access_subbuffer()
462 CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_NO_ACCESS, in test_mem_host_no_access_subbuffer()
463 CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_NO_ACCESS}; in test_mem_host_no_access_subbuffer()
[all …]
Dchecker_mem_host_read_only.hpp60 if (this->buffer_mem_flag & CL_MEM_USE_HOST_PTR) in SetupBuffer()
240 if ((this->buffer_mem_flag & CL_MEM_USE_HOST_PTR) && dataPtr != this->pHost_ptr ) { in verify_RW_Buffer_mapping()
Dmem_host_image.cpp95 …cl_mem_flags buffer_mem_flags[2] = { CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_READ_ON… in test_mem_host_read_only_image()
213 …cl_mem_flags buffer_mem_flags[2] = { CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_WRITE_O… in test_mem_host_write_only_image()
326 …cl_mem_flags buffer_mem_flags[2] = {CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_NO_ACCES… in test_mem_host_no_access_image()
Dchecker_mem_host_write_only.hpp72 if (this->buffer_mem_flag | CL_MEM_USE_HOST_PTR) in SetupBuffer()
323 if ((this->buffer_mem_flag & CL_MEM_USE_HOST_PTR) && dataPtr != this->pHost_ptr){ in verify_RW_Buffer_mapping()
/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()
DtypeWrappers.cpp110 image = create_image_1d(context, mem_flags | CL_MEM_USE_HOST_PTR, fmt, in Create()
210 image = create_image_2d(context, mem_flags | CL_MEM_USE_HOST_PTR, fmt, in Create()
311 image = create_image_3d(context, mem_flags | CL_MEM_USE_HOST_PTR, fmt, in Create()
443 context, mem_flags | CL_MEM_USE_HOST_PTR, fmt, width, in Create()
448 context, mem_flags | CL_MEM_USE_HOST_PTR, fmt, width, in Create()
453 create_image_3d(context, mem_flags | CL_MEM_USE_HOST_PTR, in Create()
459 context, mem_flags | CL_MEM_USE_HOST_PTR, fmt, width, in Create()
464 context, mem_flags | CL_MEM_USE_HOST_PTR, fmt, width, in Create()
/external/OpenCL-CTS/test_conformance/buffers/
Dtest_buffer_copy.cpp64 …if ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR… in test_copy()
75 …if ((flag_set[dst_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[dst_flag_id] & CL_MEM_COPY_HOST_PTR… in test_copy()
87 …if (!(flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) && !(flag_set[src_flag_id] & CL_MEM_COPY_HOST_P… in test_copy()
172 …if ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR… in testPartialCopy()
183 …if ((flag_set[dst_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[dst_flag_id] & CL_MEM_COPY_HOST_PTR… in testPartialCopy()
195 …if (!(flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) && !(flag_set[src_flag_id] & CL_MEM_COPY_HOST_P… in testPartialCopy()
Dtest_buffer_map.cpp602 …if ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR… in test_buffer_map_read()
662 if ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR)) { in test_buffer_map_read()
Dtest_buffer_write.cpp664 …if ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR… in test_buffer_write()
681 …if ((flag_set[dst_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[dst_flag_id] & CL_MEM_COPY_HOST_PTR… in test_buffer_write()
692 …if ((flag_set[dst_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[dst_flag_id] & CL_MEM_COPY_HOST_PTR… in test_buffer_write()
728 …else if (!(flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) && !(flag_set[src_flag_id] & CL_MEM_COPY_H… in test_buffer_write()
847 …if ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR… in test_buffer_write_struct()
862 …if ((flag_set[dst_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[dst_flag_id] & CL_MEM_COPY_HOST_PTR… in test_buffer_write_struct()
901 …else if (!(flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) && !(flag_set[src_flag_id] & CL_MEM_COPY_H… in test_buffer_write_struct()
1001 …if ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[src_flag_id] & CL_MEM_COPY_HOST_PTR… in test_buffer_write_array_async()
1011 …if ((flag_set[dst_flag_id] & CL_MEM_USE_HOST_PTR) || (flag_set[dst_flag_id] & CL_MEM_COPY_HOST_PTR… in test_buffer_write_array_async()
/external/OpenCL-CTS/test_conformance/SVM/
Dtest_set_kernel_exec_info_svm_ptrs.cpp74 ba = clCreateBuffer(c, CL_MEM_USE_HOST_PTR, size, pA, &error); in test_svm_set_kernel_exec_info_svm_ptrs()
76 bb = clCreateBuffer(c, CL_MEM_USE_HOST_PTR, size, pB, &error); in test_svm_set_kernel_exec_info_svm_ptrs()
78 bc = clCreateBuffer(c, CL_MEM_USE_HOST_PTR, size, pC, &error); in test_svm_set_kernel_exec_info_svm_ptrs()
80 bBuf = clCreateBuffer(c, CL_MEM_USE_HOST_PTR, sizeof(BufPtrs), pBuf, &error); in test_svm_set_kernel_exec_info_svm_ptrs()
Dtest_pointer_passing.cpp59 …clMemWrapper buf = clCreateBuffer(context, CL_MEM_USE_HOST_PTR, sizeof(cl_uchar)*bufSize, pbuf_svm… in test_svm_pointer_passing()
62 …clMemWrapper num_correct = clCreateBuffer(context, CL_MEM_USE_HOST_PTR, sizeof(cl_int), pNumCorrec… in test_svm_pointer_passing()
Dtest_cross_buffer_pointers.cpp158 …clMemWrapper nodes = clCreateBuffer(context, CL_MEM_USE_HOST_PTR, sizeof(Node)*ListLength*numLists… in test_svm_cross_buffer_pointers_coarse_grain()
161 …clMemWrapper nodes2 = clCreateBuffer(context, CL_MEM_USE_HOST_PTR, sizeof(Node)*ListLength*numList… in test_svm_cross_buffer_pointers_coarse_grain()
Dtest_shared_sub_buffers.cpp156 … clMemWrapper nodes = clCreateBuffer(context, CL_MEM_USE_HOST_PTR, nodes_bufsize, pNodes, &error); in test_svm_shared_sub_buffers()
171 …clMemWrapper nodes2 = clCreateBuffer(context, CL_MEM_USE_HOST_PTR, sizeof(Node)*ListLength*numList… in test_svm_shared_sub_buffers()
Dtest_allocate_shared_buffer.cpp82 clMemWrapper buf = clCreateBuffer(context, CL_MEM_USE_HOST_PTR, size, pBufData1, &err); in test_svm_allocate_shared_buffer()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_hostptr.cpp135 clCreateBuffer(context, CL_MEM_USE_HOST_PTR, in test_hostptr()
147 clCreateBuffer(context, CL_MEM_USE_HOST_PTR, in test_hostptr()
155 create_image_2d(context, CL_MEM_USE_HOST_PTR, &img_format, in test_hostptr()
171 create_image_2d(context, CL_MEM_USE_HOST_PTR, &img_format, in test_hostptr()
Dtest_enqueue_map.cpp32 CL_MEM_USE_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_arraycopy.cpp69 clCreateBuffer(context, CL_MEM_USE_HOST_PTR, in test_arraycopy()
154 clCreateBuffer(context, CL_MEM_USE_HOST_PTR, in test_arraycopy()
/external/angle/src/libANGLE/
DCLMemory.cpp29 const MemFlags hostPtrFlags(CL_MEM_USE_HOST_PTR | CL_MEM_ALLOC_HOST_PTR | in InheritMemFlags()
162 mHostPtr(flags.isSet(CL_MEM_USE_HOST_PTR) ? hostPtr : nullptr), in Memory()
197 mHostPtr(flags.isSet(CL_MEM_USE_HOST_PTR) ? hostPtr : nullptr), in Memory()
/external/mesa3d/src/gallium/frontends/clover/api/
Dmemory.cpp37 CL_MEM_USE_HOST_PTR | CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR; in validate_flags()
53 if ((d_flags & CL_MEM_USE_HOST_PTR) && in validate_flags()
93 if (bool(host_ptr) != bool(flags & (CL_MEM_USE_HOST_PTR | in clCreateBuffer()
172 if (bool(host_ptr) != bool(d_flags & (CL_MEM_USE_HOST_PTR | in clCreateImage()
/external/mesa3d/src/gallium/frontends/clover/core/
Dresource.cpp175 if (obj.flags() & CL_MEM_USE_HOST_PTR && dev.allows_user_pointers()) { in root_resource()
183 if (obj.flags() & (CL_MEM_ALLOC_HOST_PTR | CL_MEM_USE_HOST_PTR)) { in root_resource()

123