/external/OpenCL-CTS/test_conformance/api/ |
D | test_mem_object_info.cpp | 67 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 …]
|
D | test_binary.cpp | 165 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()
|
D | test_queries.cpp | 520 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/ |
D | test_1D_2D_array.cpp | 30 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()
|
D | test_1D.cpp | 32 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()
|
D | test_3D.cpp | 31 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()
|
D | test_2D.cpp | 29 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/ |
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()
|
/external/OpenCL-CTS/test_conformance/buffers/ |
D | test_buffer_copy.cpp | 64 …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()
|
D | main.cpp | 129 CL_MEM_ALLOC_HOST_PTR | CL_MEM_COPY_HOST_PTR, 131 CL_MEM_COPY_HOST_PTR,
|
D | test_buffer_mem.cpp | 84 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/ |
D | main.cpp | 126 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/ |
D | test_enqueue_map.cpp | 31 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()
|
D | test_hostptr.cpp | 141 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()
|
D | test_vloadstore.cpp | 112 …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()
|
D | test_async_copy_fence.cpp | 495 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()
|
D | test_simple_image_pitch.cpp | 54 …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/ |
D | test_pipe_subgroups.cpp | 136 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()
|
D | test_pipe_limits.cpp | 202 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()
|
D | test_pipe_readwrite_errors.cpp | 101 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/ |
D | cxx_for_opencl_ext.cpp | 52 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/ |
D | mem_host_buffer.cpp | 122 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/ |
D | hello-opencl.cpp | 90 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/ |
D | util.cc | 175 flags |= CL_MEM_COPY_HOST_PTR; in CreateCLBuffer() 230 flags |= CL_MEM_COPY_HOST_PTR; in CreateRGBAImage2D()
|
/external/skia/tools/ |
D | hello-opencl.cpp | 88 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()
|