Home
last modified time | relevance | path

Searched refs:CL_MAP_READ (Results 1 – 25 of 57) sorted by relevance

123

/external/OpenCL-CTS/test_conformance/SVM/
Dtest_set_kernel_exec_info_svm_ptrs.cpp83 …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()
Dtest_shared_address_space_coarse_grain.cpp28 …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()
Dtest_allocate_shared_buffer.cpp86 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()
Dtest_cross_buffer_pointers.cpp84 …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()
Dtest_shared_sub_buffers.cpp77 …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()
Dtest_pointer_passing.cpp70 …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()
Dtest_migrate.cpp289 …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()
Dtest_enqueue_api.cpp183 …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/
Dextent_cl_12_unified.c62 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/
Dtest_enqueue_map.cpp82 …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()
Dtest_hostptr.cpp196 …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()
Dtest_progvar.cpp1009 …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()
Dtest_simple_image_pitch.cpp131 …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/
Dchecker_image_mem_host_no_access.hpp136 CL_MAP_READ, in verify_RW_Image_Mapping()
Dchecker_mem_host_no_access.hpp175 dataPtr = clEnqueueMapBuffer(this->m_queue, this->m_buffer, this->m_blocking, CL_MAP_READ, in verify_RW_Buffer_mapping()
Dchecker_mem_host_read_only.hpp230 CL_MAP_READ, in verify_RW_Buffer_mapping()
Dchecker_image_mem_host_write_only.hpp295 CL_MAP_READ, in verify_RW_Image_Mapping()
Dchecker_image_mem_host_read_only.hpp240 CL_MAP_READ, in verify_RW_Image_Mapping()
Dchecker_mem_host_write_only.hpp339 CL_MAP_READ, in verify_RW_Buffer_mapping()
/external/OpenCL-CTS/test_conformance/multiple_device_context/
Dtest_multiple_contexts.cpp329 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/
Dtest_zero_sized_enqueue.cpp43 …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/
Daction_classes.cpp249 …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/
Dmain.c471 CL_MAP_READ, in hs_bench()
479 CL_MAP_READ, in hs_bench()
/external/OpenCL-CTS/test_conformance/buffers/
Dtest_buffer_map.cpp637 mappedPtr = clEnqueueMapBuffer(queue, buffer, CL_TRUE, CL_MAP_READ, in test_buffer_map_read()
/external/mesa3d/src/gallium/frontends/clover/core/
Dresource.cpp227 (flags & CL_MAP_READ ? PIPE_MAP_READ : 0 ) | in mapping()

123