Home
last modified time | relevance | path

Searched refs:CL_MEM_HOST_READ_ONLY (Results 1 – 18 of 18) sorted by relevance

/external/OpenCL-CTS/test_conformance/api/
Dtest_mem_object_info.cpp81 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_WRITE, 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()
83 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_WRITE | CL_MEM_ALLOC_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()
85 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR, in test_get_buffer_info()
86 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_ONLY, 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()
88 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_ONLY | CL_MEM_ALLOC_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()
90 CL_MEM_HOST_READ_ONLY | CL_MEM_READ_ONLY | CL_MEM_USE_HOST_PTR, in test_get_buffer_info()
[all …]
/external/OpenCL-CTS/test_conformance/SVM/
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/OpenCL-CTS/test_conformance/mem_host_flags/
Dchecker.h204 if (parent_buffer_flag & CL_MEM_HOST_READ_ONLY) in SetupASSubBuffer()
205 f = CL_MEM_HOST_READ_ONLY; in SetupASSubBuffer()
Dmem_host_buffer.cpp121 …l_mem_flags buffer_mem_flags[2] = {CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_READ_ONLY, in test_mem_host_read_only_buffer()
122 CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR | CL_MEM_HOST_READ_ONLY}; in test_mem_host_read_only_buffer()
150 …ags parent_buffer_mem_flags[1] = {CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_READ_ONLY}; in test_mem_host_read_only_subbuffer()
Dmem_host_image.cpp95 …_mem_flags buffer_mem_flags[2] = { CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_READ_ONLY, in test_mem_host_read_only_image()
96 CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR | CL_MEM_HOST_READ_ONLY }; in test_mem_host_read_only_image()
Dchecker_image_mem_host_write_only.hpp55 CL_MEM_READ_WRITE | CL_MEM_HOST_READ_ONLY | CL_MEM_COPY_HOST_PTR, in Setup_Test_Environment()
Dchecker_mem_host_write_only.hpp94 cl_mem_flags buffer_mem_flag2 = CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR | CL_MEM_HOST_READ_ONLY; in Setup_Test_Environment()
/external/skqp/tools/
Dhello-opencl.cpp92 P(ctx, CL_MEM_WRITE_ONLY| CL_MEM_HOST_READ_ONLY, sizeof(float)*p.size()); in main()
/external/skia/tools/
Dhello-opencl.cpp90 P(ctx, CL_MEM_WRITE_ONLY| CL_MEM_HOST_READ_ONLY, sizeof(float)*p.size()); in main()
/external/mesa3d/src/gallium/frontends/clover/api/
Dtransfer.cpp199 (CL_MEM_HOST_READ_ONLY | CL_MEM_HOST_WRITE_ONLY | in validate_object_access()
214 validate_object_access(mem, CL_MEM_HOST_READ_ONLY); in validate_map_flags()
337 validate_object_access(mem, CL_MEM_HOST_READ_ONLY); in clEnqueueReadBuffer()
410 validate_object_access(mem, CL_MEM_HOST_READ_ONLY); in clEnqueueReadBufferRect()
602 validate_object_access(img, CL_MEM_HOST_READ_ONLY); in clEnqueueReadImage()
Dmemory.cpp39 CL_MEM_HOST_WRITE_ONLY | CL_MEM_HOST_READ_ONLY | CL_MEM_HOST_NO_ACCESS; in validate_flags()
/external/angle/src/libANGLE/
DCLMemory.cpp27 const MemFlags hostAccess(CL_MEM_HOST_WRITE_ONLY | CL_MEM_HOST_READ_ONLY | in InheritMemFlags()
DvalidationCL.cpp117 allowedFlags.set(CL_MEM_HOST_WRITE_ONLY | CL_MEM_HOST_READ_ONLY | CL_MEM_HOST_NO_ACCESS); in ValidateMemoryFlags()
118 if (!flags.areMutuallyExclusive(CL_MEM_HOST_WRITE_ONLY, CL_MEM_HOST_READ_ONLY, in ValidateMemoryFlags()
254 if (hostWrite && buf.getFlags().isSet(CL_MEM_HOST_READ_ONLY | CL_MEM_HOST_NO_ACCESS)) in ValidateEnqueueBuffer()
382 if (hostWrite && img.getFlags().isSet(CL_MEM_HOST_READ_ONLY | CL_MEM_HOST_NO_ACCESS)) in ValidateEnqueueImage()
2417 if ((bufFlags.isSet(CL_MEM_HOST_WRITE_ONLY) && flags.isSet(CL_MEM_HOST_READ_ONLY)) || in ValidateCreateSubBuffer()
2420 (bufFlags.isSet(CL_MEM_HOST_READ_ONLY) && flags.isSet(CL_MEM_HOST_WRITE_ONLY)) || in ValidateCreateSubBuffer()
2424 flags.isSet(CL_MEM_HOST_READ_ONLY | CL_MEM_HOST_WRITE_ONLY))) in ValidateCreateSubBuffer()
/external/OpenCL-CTS/test_conformance/pipes/
Dtest_pipe_limits.cpp461 …buf_reserve_id_t_size = clCreateBuffer(context, CL_MEM_HOST_READ_ONLY, sizeof(reserve_id_t_size), … in test_pipe_max_active_reservations()
579 buffers[1] = clCreateBuffer(context, CL_MEM_HOST_READ_ONLY, size, NULL, &err); in test_pipe_max_active_reservations()
Dtest_pipe_query_functions.cpp130 buffers[1] = clCreateBuffer(context, CL_MEM_HOST_READ_ONLY, size, NULL, &err); in test_pipe_query_functions()
/external/mesa3d/include/CL/
Dcl.h530 #define CL_MEM_HOST_READ_ONLY (1 << 8) macro
/external/angle/include/CL/
Dcl.h532 #define CL_MEM_HOST_READ_ONLY (1 << 8) macro
/external/OpenCL-CTS/dependencies/ocl-headers/CL/
Dcl.h532 #define CL_MEM_HOST_READ_ONLY (1 << 8) macro