/external/OpenCL-CTS/test_conformance/SVM/ |
D | test_set_kernel_exec_info_svm_ptrs.cpp | 83 …clEnqueueMapBuffer(queues[0], ba, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, size, 0, NULL, NULL, &er… in test_svm_set_kernel_exec_info_svm_ptrs() 85 …clEnqueueMapBuffer(queues[0], bb, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, size, 0, NULL, NULL, &er… in test_svm_set_kernel_exec_info_svm_ptrs() 87 …clEnqueueMapBuffer(queues[0], bc, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, size, 0, NULL, NULL, &er… in test_svm_set_kernel_exec_info_svm_ptrs() 89 …clEnqueueMapBuffer(queues[0], bBuf, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(BufPtrs), 0, NU… in test_svm_set_kernel_exec_info_svm_ptrs() 121 …clEnqueueMapBuffer(queues[0], ba, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, size, 0, NULL, NULL, &er… in test_svm_set_kernel_exec_info_svm_ptrs() 123 …clEnqueueMapBuffer(queues[0], bb, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, size, 0, NULL, NULL, &er… in test_svm_set_kernel_exec_info_svm_ptrs() 125 …clEnqueueMapBuffer(queues[0], bc, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, size, 0, NULL, NULL, &er… in test_svm_set_kernel_exec_info_svm_ptrs()
|
D | test_shared_address_space_coarse_grain.cpp | 28 …pNodes = (Node*) clEnqueueMapBuffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(No… in create_linked_lists_on_host() 34 …error = clEnqueueSVMMap(cmdq, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, pNodes2, sizeof(Node)*ListLengt… in create_linked_lists_on_host() 65 …pNodes = (Node*) clEnqueueMapBuffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(No… in verify_linked_lists_on_host() 71 …error = clEnqueueSVMMap(cmdq, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, pNodes2, sizeof(Node)*ListLengt… in verify_linked_lists_on_host() 101 …size_t *pAllocator = (size_t*) clEnqueueMapBuffer(cmdq, allocator, CL_TRUE, CL_MAP_READ | CL_MAP_W… in create_linked_lists_on_device() 122 …cl_int *pNumCorrect = (cl_int*) clEnqueueMapBuffer(cmdq, num_correct, CL_TRUE, CL_MAP_READ | CL_MA… in verify_linked_lists_on_device() 133 …pNumCorrect = (cl_int*) clEnqueueMapBuffer(cmdq, num_correct, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE,… in verify_linked_lists_on_device()
|
D | test_allocate_shared_buffer.cpp | 86 cl_uint flags = CL_MAP_READ | CL_MAP_READ; in test_svm_allocate_shared_buffer() 88 if(flag_set[i] & CL_MEM_HOST_WRITE_ONLY) flags ^= CL_MAP_READ; in test_svm_allocate_shared_buffer()
|
D | test_cross_buffer_pointers.cpp | 84 …Node *pNodes = (Node*) clEnqueueMapBuffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, siz… in create_linked_lists_on_host() 87 …Node *pNodes2 = (Node*) clEnqueueMapBuffer(cmdq, nodes2, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, s… in create_linked_lists_on_host() 108 …Node *pNodes = (Node*) clEnqueueMapBuffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, siz… in verify_linked_lists_on_host() 110 …Node *pNodes2 = (Node*) clEnqueueMapBuffer(cmdq, nodes2, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, s… in verify_linked_lists_on_host()
|
D | test_shared_sub_buffers.cpp | 77 …Node *pNodes = (Node*) clEnqueueMapBuffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, siz… in create_linked_lists_on_host_sb() 80 …Node *pNodes2 = (Node*) clEnqueueMapBuffer(cmdq, nodes2, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, s… in create_linked_lists_on_host_sb() 101 …Node *pNodes = (Node*) clEnqueueMapBuffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, siz… in verify_linked_lists_on_host_sb() 103 …Node *pNodes2 = (Node*) clEnqueueMapBuffer(cmdq, nodes2, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, s… in verify_linked_lists_on_host_sb()
|
D | test_pointer_passing.cpp | 70 …cl_uchar* pbuf_map_buffer = (cl_uchar*) clEnqueueMapBuffer(cmdq, buf, CL_TRUE, CL_MAP_READ | CL_MA… in test_svm_pointer_passing() 92 …pNumCorrect = (cl_int*) clEnqueueMapBuffer(cmdq, num_correct, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE,… in test_svm_pointer_passing()
|
D | test_migrate.cpp | 289 …error = clEnqueueSVMMap(queues[1], CL_FALSE, CL_MAP_READ, (void*)asvm, global_size*sizeof(cl_uint)… in test_svm_migrate() 292 …error = clEnqueueSVMMap(queues[1], CL_FALSE, CL_MAP_READ, (void*)bsvm, global_size*sizeof(cl_uint)… in test_svm_migrate() 295 …error = clEnqueueSVMMap(queues[1], CL_FALSE, CL_MAP_READ, (void*)csvm, global_size*sizeof(cl_uint)… in test_svm_migrate()
|
D | test_enqueue_api.cpp | 183 …error = clEnqueueSVMMap(queue, CL_FALSE, CL_MAP_READ, srcBuffer, data_size, 1, &eventMemcpy, &even… in test_svm_enqueue_api() 186 …error = clEnqueueSVMMap(queue, CL_FALSE, CL_MAP_READ, dstBuffer, data_size, 1, &eventMemcpy, &even… in test_svm_enqueue_api()
|
/external/skqp/src/compute/skc/platforms/cl_12/ |
D | extent_cl_12_unified.c | 62 CL_MAP_READ | CL_MAP_WRITE,0,size, 128 CL_MAP_READ | CL_MAP_WRITE,0,size, in skc_extent_phrw_pdrw_map_size() 192 CL_MAP_READ,0,size, in skc_extent_phrN_pdwN_map_size()
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_enqueue_map.cpp | 82 …appedRegion = (cl_char *)clEnqueueMapBuffer( queue, memObject, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, in test_enqueue_map_buffer() 181 …cl_uint *mappedRegion = (cl_uint *)clEnqueueMapImage( queue, memObject, CL_TRUE, CL_MAP_READ | CL_… in test_enqueue_map_image()
|
D | test_hostptr.cpp | 196 …cl_float *data = (cl_float*) clEnqueueMapBuffer( queue, streams[2], CL_TRUE, CL_MAP_READ, 0, sizeo… in test_hostptr() 241 CL_MAP_READ, origin, region, in test_hostptr()
|
D | test_progvar.cpp | 1009 …r *read_ptr = (cl_uchar *)clEnqueueMapBuffer(queue, read_mem, CL_TRUE, CL_MAP_READ, 0, read_data_s… in l_write_read_for_type() 1019 …read_ptr = (cl_uchar *)clEnqueueMapBuffer(queue, read_mem, CL_TRUE, CL_MAP_READ, 0, read_data_size… in l_write_read_for_type() 1184 …r *read_ptr = (cl_uchar *)clEnqueueMapBuffer(queue, read_mem, CL_TRUE, CL_MAP_READ, 0, read_data_s… in l_init_write_read_for_type() 1199 …read_ptr = (cl_uchar *)clEnqueueMapBuffer(queue, read_mem, CL_TRUE, CL_MAP_READ, 0, read_data_size… in l_init_write_read_for_type() 1305 …ptr = (cl_uchar *)clEnqueueMapBuffer(queue, max_size_ret_mem, CL_TRUE, CL_MAP_READ, 0, sizeof(max_… in l_capacity() 1327 …d_mem_ptr = (cl_uchar *)clEnqueueMapBuffer(queue, buffer_mem, CL_TRUE, CL_MAP_READ, 0, curr_size, … in l_capacity() 1482 …nt_data_ptr = (cl_uchar *)clEnqueueMapBuffer(queue, uint_mem, CL_TRUE, CL_MAP_READ, 0, sizeof(cl_u… in l_user_type() 1483 …r_data_ptr = (cl_uchar *)clEnqueueMapBuffer(queue, uchar_mem, CL_TRUE, CL_MAP_READ, 0, sizeof(cl_u… in l_user_type() 1710 …tr = (cl_uchar *)clEnqueueMapBuffer(queue, counter_value_mem, CL_TRUE, CL_MAP_READ, 0, sizeof(coun… in test_progvar_func_scope()
|
D | test_simple_image_pitch.cpp | 131 …char* mapped_image = (char*)clEnqueueMapImage(q, image, CL_TRUE, CL_MAP_READ, origin, region, &map… in test_simple_write_image_pitch()
|
/external/OpenCL-CTS/test_conformance/mem_host_flags/ |
D | checker_image_mem_host_no_access.hpp | 136 CL_MAP_READ, in verify_RW_Image_Mapping()
|
D | checker_mem_host_no_access.hpp | 175 dataPtr = clEnqueueMapBuffer(this->m_queue, this->m_buffer, this->m_blocking, CL_MAP_READ, in verify_RW_Buffer_mapping()
|
D | checker_mem_host_read_only.hpp | 230 CL_MAP_READ, in verify_RW_Buffer_mapping()
|
D | checker_image_mem_host_write_only.hpp | 295 CL_MAP_READ, in verify_RW_Image_Mapping()
|
D | checker_image_mem_host_read_only.hpp | 240 CL_MAP_READ, in verify_RW_Image_Mapping()
|
D | checker_mem_host_write_only.hpp | 339 CL_MAP_READ, in verify_RW_Buffer_mapping()
|
/external/OpenCL-CTS/test_conformance/multiple_device_context/ |
D | test_multiple_contexts.cpp | 329 item->q, item->m[1], CL_TRUE, CL_MAP_READ, 0, in UseTestItem() 343 item->q, item->m[0], CL_TRUE, CL_MAP_READ, 0, in UseTestItem()
|
/external/OpenCL-CTS/test_conformance/api/ |
D | test_zero_sized_enqueue.cpp | 43 …int* output = reinterpret_cast<int*>(clEnqueueMapBuffer(queue, buf, CL_TRUE, CL_MAP_READ, 0, sizeo… in test_zero_sized_enqueue_and_test_output_buffer()
|
/external/OpenCL-CTS/test_conformance/events/ |
D | action_classes.cpp | 249 …mMappedPtr = clEnqueueMapBuffer( queue, mBuffer, CL_FALSE, CL_MAP_READ, 0, mSize, numWaits, waits,… in Execute() 261 …mMappedPtr = clEnqueueMapBuffer( queue, mBuffer, CL_TRUE, CL_MAP_READ, 0, mSize, 0, NULL, NULL, &e… in Setup() 656 …mMappedPtr = clEnqueueMapImage( queue, mImage, CL_FALSE, CL_MAP_READ, origin, region, &outPitch, N… in Execute()
|
/external/skqp/src/compute/hs/cl/bench/ |
D | main.c | 471 CL_MAP_READ, in hs_bench() 479 CL_MAP_READ, in hs_bench()
|
/external/OpenCL-CTS/test_conformance/buffers/ |
D | test_buffer_map.cpp | 637 mappedPtr = clEnqueueMapBuffer(queue, buffer, CL_TRUE, CL_MAP_READ, in test_buffer_map_read()
|
/external/mesa3d/src/gallium/frontends/clover/core/ |
D | resource.cpp | 227 (flags & CL_MAP_READ ? PIPE_MAP_READ : 0 ) | in mapping()
|