/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 …]
|
D | test_queue_hint.cpp | 49 …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/ |
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_conformance/images/clGetInfo/ |
D | test_1D_2D_array.cpp | 37 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()
|
D | test_1D.cpp | 39 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()
|
D | test_3D.cpp | 38 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()
|
D | test_2D.cpp | 35 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/ |
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_write.cpp | 648 …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()
|
D | test_buffer_map.cpp | 593 …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/ |
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_common/harness/ |
D | typeWrappers.cpp | 97 …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/ |
D | test_hostptr.cpp | 134 …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()
|
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 | 67 …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/ |
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()
|
/external/OpenCL-CTS/test_conformance/device_execution/ |
D | utils.cpp | 46 …mem = clCreateBuffer(context, CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR, res_size, results, &err_ret… in run_n_kernel_args()
|