/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*) 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()
|
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 …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()
|
D | test_migrate.cpp | 186 …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()
|
D | test_allocate_shared_buffer.cpp | 87 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/ |
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() 256 CL_MAP_WRITE,0,size, in skc_extent_phwN_pdrN_map_size()
|
/external/OpenCL-CTS/test_conformance/select/ |
D | test_select.cpp | 377 …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/ |
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 …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/ |
D | checker_image_mem_host_no_access.hpp | 119 CL_MAP_WRITE, in verify_RW_Image_Mapping()
|
D | checker_mem_host_no_access.hpp | 187 dataPtr = clEnqueueMapBuffer(this->m_queue, this->m_buffer, this->m_blocking, CL_MAP_WRITE, in verify_RW_Buffer_mapping()
|
D | checker_mem_host_read_only.hpp | 259 CL_MAP_WRITE, in verify_RW_Buffer_mapping()
|
D | checker_image_mem_host_write_only.hpp | 250 this->m_blocking, CL_MAP_WRITE, in verify_RW_Image_Mapping()
|
D | checker_image_mem_host_read_only.hpp | 270 CL_MAP_WRITE, in verify_RW_Image_Mapping()
|
D | checker_mem_host_write_only.hpp | 308 CL_MAP_WRITE, in verify_RW_Buffer_mapping()
|
/external/OpenCL-CTS/test_conformance/multiple_device_context/ |
D | test_multiple_contexts.cpp | 234 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/ |
D | resource.cpp | 226 unsigned usage = ((flags & CL_MAP_WRITE ? PIPE_MAP_WRITE : 0 ) | in mapping()
|
/external/ImageMagick/MagickCore/ |
D | accelerate.c | 1120 …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/ |
D | transfer.cpp | 209 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/ |
D | macro_unary_double.cpp | 319 tinfo->tQueue, tinfo->outBuf[j], CL_FALSE, CL_MAP_WRITE, 0, in Test()
|
D | unary_double.cpp | 342 tinfo->tQueue, tinfo->outBuf[j], CL_FALSE, CL_MAP_WRITE, 0, in Test()
|
D | macro_unary_float.cpp | 323 tinfo->tQueue, tinfo->outBuf[j], CL_FALSE, CL_MAP_WRITE, 0, in Test()
|
/external/angle/src/libANGLE/ |
D | validationCL.cpp | 137 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/ |
D | test_fill_generic.cpp | 166 …void* mapped = (char*)clEnqueueMapImage(queue, img, CL_TRUE, CL_MAP_WRITE, origin, region, &mapped… in create_image()
|