Home
last modified time | relevance | path

Searched refs:CL_MEM_USE_HOST_PTR (Results 1 – 25 of 64) 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 …]
Dtest_queue_hint.cpp49 …streams[0] = clCreateBuffer(context, CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR, num_elements * sizeo… in test_enqueue()
/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_conformance/images/clGetInfo/
Dtest_1D_2D_array.cpp37 CL_MEM_USE_HOST_PTR | flags in test_get_image_info_1D_array()
68 …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()
99 …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()
134 …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()
159 CL_MEM_USE_HOST_PTR | flags in test_get_image_info_2D_array()
195 …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()
227 …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()
270 …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.cpp39 CL_MEM_USE_HOST_PTR | flags in test_get_image_info_1D()
67 …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()
93 …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()
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()
Dtest_3D.cpp38 CL_MEM_USE_HOST_PTR | flags in test_get_image_info_3D()
74 …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()
106 …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()
149 …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.cpp35 if (flags & (CL_MEM_COPY_HOST_PTR | CL_MEM_USE_HOST_PTR)) { in test_get_image_info_single()
278 CL_MEM_USE_HOST_PTR | flags in test_get_image_info_2D()
309 …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()
337 …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()
374 …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/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_write.cpp648 …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()
660 …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()
667 …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()
701 …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()
839 …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()
850 …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()
886 …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()
1014 …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()
1024 …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()
Dtest_buffer_map.cpp593 …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()
664 if ((flag_set[src_flag_id] & CL_MEM_USE_HOST_PTR)) { in test_buffer_map_read()
/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_common/harness/
DtypeWrappers.cpp97 …image = create_image_1d( context, mem_flags | CL_MEM_USE_HOST_PTR, fmt, width, rowStride, imagePtr… in Create()
180 …image = create_image_2d( context, mem_flags | CL_MEM_USE_HOST_PTR, fmt, width, height, rowStride, … in Create()
263 …image = create_image_3d( context, mem_flags | CL_MEM_USE_HOST_PTR, fmt, width, height, depth, rowS… in Create()
367 …image = create_image_1d( context, mem_flags | CL_MEM_USE_HOST_PTR, fmt, width, rowStride, imagePtr… in Create()
370 …image = create_image_2d( context, mem_flags | CL_MEM_USE_HOST_PTR, fmt, width, height, rowStride, … in Create()
373 …image = create_image_3d( context, mem_flags | CL_MEM_USE_HOST_PTR, fmt, width, height, depth, rowS… in Create()
376 …image = create_image_1d_array( context, mem_flags | CL_MEM_USE_HOST_PTR, fmt, width, arraySize, ro… in Create()
379 …image = create_image_2d_array( context, mem_flags | CL_MEM_USE_HOST_PTR, fmt, width, height, array… in Create()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_hostptr.cpp134 …streams[0] = clCreateBuffer(context, (cl_mem_flags)(CL_MEM_USE_HOST_PTR), sizeof(cl_float) * num_e… in test_hostptr()
142 …streams[2] = clCreateBuffer(context, (cl_mem_flags)(CL_MEM_USE_HOST_PTR), sizeof(cl_float) * num_e… in test_hostptr()
148 …streams[3] = create_image_2d(context, (cl_mem_flags)(CL_MEM_USE_HOST_PTR), &img_format, img_width,… in test_hostptr()
160 …streams[5] = create_image_2d(context, (cl_mem_flags)(CL_MEM_USE_HOST_PTR), &img_format, img_width,… 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.cpp67 …streams[0] = clCreateBuffer(context, (cl_mem_flags)(CL_MEM_USE_HOST_PTR), sizeof(cl_uint) * num_el… in test_arraycopy()
149 …streams[3] = clCreateBuffer(context, (cl_mem_flags)(CL_MEM_USE_HOST_PTR), sizeof(cl_uint) * num_el… in test_arraycopy()
/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()
/external/OpenCL-CTS/test_conformance/device_execution/
Dutils.cpp46 …mem = clCreateBuffer(context, CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR, res_size, results, &err_ret… in run_n_kernel_args()

123