/external/OpenCL-CTS/test_conformance/api/ |
D | test_mem_object_info.cpp | 70 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/ |
D | test_1D_2D_array.cpp | 32 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()
|
D | test_1D.cpp | 34 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()
|
D | test_3D.cpp | 33 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()
|
D | test_2D.cpp | 29 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/ |
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() 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 …]
|
D | checker_mem_host_read_only.hpp | 60 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()
|
D | mem_host_image.cpp | 95 …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()
|
D | checker_mem_host_write_only.hpp | 72 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/ |
D | clImageHelper.h | 40 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()
|
D | typeWrappers.cpp | 110 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/ |
D | test_buffer_copy.cpp | 64 …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()
|
D | test_buffer_map.cpp | 602 …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()
|
D | test_buffer_write.cpp | 664 …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/ |
D | test_set_kernel_exec_info_svm_ptrs.cpp | 74 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()
|
D | test_pointer_passing.cpp | 59 …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()
|
D | test_cross_buffer_pointers.cpp | 158 …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()
|
D | test_shared_sub_buffers.cpp | 156 … 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()
|
D | test_allocate_shared_buffer.cpp | 82 clMemWrapper buf = clCreateBuffer(context, CL_MEM_USE_HOST_PTR, size, pBufData1, &err); in test_svm_allocate_shared_buffer()
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_hostptr.cpp | 135 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()
|
D | test_enqueue_map.cpp | 32 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()
|
D | test_arraycopy.cpp | 69 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/ |
D | CLMemory.cpp | 29 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/ |
D | memory.cpp | 37 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/ |
D | resource.cpp | 175 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()
|