Home
last modified time | relevance | path

Searched refs:CL_MAP_WRITE (Results 1 – 25 of 48) sorted by relevance

12

/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*) clEnqueueMapBuffer(cmdq, allocator, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(cl_i… in create_linked_lists_on_device()
122 …cl_int*) clEnqueueMapBuffer(cmdq, num_correct, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(cl_i… 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_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 …er = (cl_uchar*) clEnqueueMapBuffer(cmdq, buf, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(cl_u… in test_svm_pointer_passing()
92 …cl_int*) clEnqueueMapBuffer(cmdq, num_correct, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(cl_i… in test_svm_pointer_passing()
Dtest_migrate.cpp186 …error = clEnqueueSVMMap(queues[1], CL_FALSE, CL_MAP_WRITE, (void*)asvm, global_size*sizeof(cl_uint… in test_svm_migrate()
189 …error = clEnqueueSVMMap(queues[1], CL_FALSE, CL_MAP_WRITE, (void*)bsvm, global_size*sizeof(cl_uint… in test_svm_migrate()
192 …error = clEnqueueSVMMap(queues[1], CL_FALSE, CL_MAP_WRITE, (void*)csvm, global_size*sizeof(cl_uint… in test_svm_migrate()
Dtest_allocate_shared_buffer.cpp87 if(flag_set[i] & CL_MEM_HOST_READ_ONLY) flags ^= CL_MAP_WRITE; in test_svm_allocate_shared_buffer()
/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()
256 CL_MAP_WRITE,0,size, in skc_extent_phwN_pdrN_map_size()
/external/OpenCL-CTS/test_conformance/select/
Dtest_select.cpp377 …void *s1 = clEnqueueMapBuffer( queue, src1, CL_TRUE, CL_MAP_WRITE, 0, BUFFER_SIZE, 0, NULL, NULL, … in doTest()
382 …void *s2 = clEnqueueMapBuffer( queue, src2, CL_TRUE, CL_MAP_WRITE, 0, BUFFER_SIZE, 0, NULL, NULL, … in doTest()
387 …void *s3 = clEnqueueMapBuffer( queue, cmp, CL_TRUE, CL_MAP_WRITE, 0, BUFFER_SIZE, 0, NULL, NULL, &… in doTest()
422 …void *d = clEnqueueMapBuffer( queue, dest, CL_TRUE, CL_MAP_WRITE, 0, BUFFER_SIZE, 0, NULL, NULL, &… in doTest()
/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 …mappedRegion = (cl_uint *)clEnqueueMapImage( queue, memObject, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, in test_enqueue_map_image()
/external/OpenCL-CTS/test_conformance/mem_host_flags/
Dchecker_image_mem_host_no_access.hpp119 CL_MAP_WRITE, in verify_RW_Image_Mapping()
Dchecker_mem_host_no_access.hpp187 dataPtr = clEnqueueMapBuffer(this->m_queue, this->m_buffer, this->m_blocking, CL_MAP_WRITE, in verify_RW_Buffer_mapping()
Dchecker_mem_host_read_only.hpp259 CL_MAP_WRITE, in verify_RW_Buffer_mapping()
Dchecker_image_mem_host_write_only.hpp250 this->m_blocking, CL_MAP_WRITE, in verify_RW_Image_Mapping()
Dchecker_image_mem_host_read_only.hpp270 CL_MAP_WRITE, in verify_RW_Image_Mapping()
Dchecker_mem_host_write_only.hpp308 CL_MAP_WRITE, in verify_RW_Buffer_mapping()
/external/OpenCL-CTS/test_conformance/multiple_device_context/
Dtest_multiple_contexts.cpp234 item->q, item->m[0], CL_TRUE, CL_MAP_WRITE, 0, in UseTestItem()
265 item->q, item->m[1], CL_TRUE, CL_MAP_WRITE, 0, in UseTestItem()
/external/mesa3d/src/gallium/frontends/clover/core/
Dresource.cpp226 unsigned usage = ((flags & CL_MAP_WRITE ? PIPE_MAP_WRITE : 0 ) | in mapping()
/external/ImageMagick/MagickCore/
Daccelerate.c1120 …clEnv->library->clEnqueueMapBuffer(queue, histogramBuffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, l… in ComputeContrastStretchImage()
1432 …clEnv->library->clEnqueueMapBuffer(queue, imageBuffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, lengt… in ComputeContrastStretchImage()
1666 …clEnv->library->clEnqueueMapBuffer(queue, convolutionKernel, CL_TRUE, CL_MAP_WRITE, 0, kernelSize … in ComputeConvolveImage()
1794 …->clEnqueueMapBuffer(queue, filteredImageBuffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * si… in ComputeConvolveImage()
2194 …->clEnqueueMapBuffer(queue, filteredImageBuffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * si… in ComputeDespeckleImage()
2428 …clEnv->library->clEnqueueMapBuffer(queue, histogramBuffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, l… in ComputeEqualizeImage()
2641 …clEnv->library->clEnqueueMapBuffer(queue, imageBuffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, lengt… in ComputeEqualizeImage()
3275 …->clEnqueueMapBuffer(queue, filteredImageBuffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, length * si… in ComputeLocalContrastImage()
3498 …clEnv->library->clEnqueueMapBuffer(queue, imageBuffer, CL_TRUE, CL_MAP_READ|CL_MAP_WRITE, 0, lengt… in ComputeModulateImage()
3752 CL_TRUE, CL_MAP_WRITE, 0, width * sizeof(float), 0, NULL, NULL, &clStatus); in ComputeMotionBlurImage()
[all …]
/external/mesa3d/src/gallium/frontends/clover/api/
Dtransfer.cpp209 if ((flags & (CL_MAP_WRITE | CL_MAP_READ)) && in validate_map_flags()
216 if (flags & (CL_MAP_WRITE | CL_MAP_WRITE_INVALIDATE_REGION)) in validate_map_flags()
290 _map<T> dst = { q, dst_obj, CL_MAP_WRITE, in soft_copy_op()
/external/OpenCL-CTS/test_conformance/math_brute_force/
Dmacro_unary_double.cpp319 tinfo->tQueue, tinfo->outBuf[j], CL_FALSE, CL_MAP_WRITE, 0, in Test()
Dunary_double.cpp342 tinfo->tQueue, tinfo->outBuf[j], CL_FALSE, CL_MAP_WRITE, 0, in Test()
Dmacro_unary_float.cpp323 tinfo->tQueue, tinfo->outBuf[j], CL_FALSE, CL_MAP_WRITE, 0, in Test()
/external/angle/src/libANGLE/
DvalidationCL.cpp137 MemFlags allowedFlags(CL_MAP_READ | CL_MAP_WRITE); in ValidateMapFlags()
142 if (!flags.areMutuallyExclusive(CL_MAP_WRITE_INVALIDATE_REGION, CL_MAP_READ | CL_MAP_WRITE)) in ValidateMapFlags()
1916 map_flags.isSet(CL_MAP_WRITE | CL_MAP_WRITE_INVALIDATE_REGION))); in ValidateEnqueueMapBuffer()
1951 map_flags.isSet(CL_MAP_WRITE | CL_MAP_WRITE_INVALIDATE_REGION))); in ValidateEnqueueMapImage()
/external/OpenCL-CTS/test_conformance/images/clFillImage/
Dtest_fill_generic.cpp166 …void* mapped = (char*)clEnqueueMapImage(queue, img, CL_TRUE, CL_MAP_WRITE, origin, region, &mapped… in create_image()

12