Home
last modified time | relevance | path

Searched refs:cl_mem_flags (Results 1 – 25 of 119) sorted by relevance

12345

/external/OpenCL-CTS/test_conformance/mem_host_flags/
Dmem_host_buffer.cpp31 cl_mem_flags buffer_mem_flag, in test_mem_host_read_only_buffer_RW()
32 cl_mem_flags parent_buffer_flag, in test_mem_host_read_only_buffer_RW()
60 cl_mem_flags buffer_mem_flag, in test_mem_host_read_only_buffer_RW_Rect()
61 cl_mem_flags parent_buffer_flag, in test_mem_host_read_only_buffer_RW_Rect()
90 cl_mem_flags buffer_mem_flag, in test_mem_host_read_only_buffer_RW_Mapping()
91 cl_mem_flags parent_buffer_flag, in test_mem_host_read_only_buffer_RW_Mapping()
121cl_mem_flags buffer_mem_flags[2] = {CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_READ_ONL… in test_mem_host_read_only_buffer()
150cl_mem_flags parent_buffer_mem_flags[1] = {CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_R… in test_mem_host_read_only_subbuffer()
152 cl_mem_flags buffer_mem_flags[4] = {0, CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR, in test_mem_host_read_only_subbuffer()
185 cl_mem_flags buffer_mem_flag, in test_mem_host_write_only_buffer_RW()
[all …]
Dchecker.h54 cl_mem_flags buffer_mem_flag;
79 cl_int CreateBuffer(cl_mem_flags buffer_mem_flag, void * pdata);
85 virtual cl_int SetupASSubBuffer(cl_mem_flags parent_buffer_flag);
89 virtual cl_int Check_GetMemObjectInfo(cl_mem_flags buffer_mem_flag);
150 cl_int cBuffer_checker<T>::SetupASSubBuffer(cl_mem_flags parent_buffer_flag) in SetupASSubBuffer()
203 cl_mem_flags f; in SetupASSubBuffer()
233 cl_int cBuffer_checker<T>::CreateBuffer(cl_mem_flags buffer_mem_flag, void *pdata) in CreateBuffer()
244 cl_int cBuffer_checker<T>::Check_GetMemObjectInfo(cl_mem_flags buffer_mem_flag) in Check_GetMemObjectInfo()
247 cl_mem_flags buffer_mem_flag_Check; in Check_GetMemObjectInfo()
248 err = clGetMemObjectInfo(this->m_buffer, CL_MEM_FLAGS, sizeof(cl_mem_flags), in Check_GetMemObjectInfo()
Dmem_host_image.cpp32 cl_mem_flags buffer_mem_flag, in test_mem_host_read_only_RW_Image()
63 cl_mem_flags buffer_mem_flag, in test_mem_host_read_only_RW_Image_Mapping()
95cl_mem_flags buffer_mem_flags[2] = { CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_READ_ON… in test_mem_host_read_only_image()
144 cl_mem_flags buffer_mem_flag, in test_MEM_HOST_WRIE_ONLY_Image_RW()
178 cl_mem_flags buffer_mem_flag, in test_MEM_HOST_WRITE_ONLY_Image_RW_Mapping()
213cl_mem_flags buffer_mem_flags[2] = { CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_WRITE_O… in test_mem_host_write_only_image()
259 cl_mem_flags buffer_mem_flag, in test_mem_host_no_access_Image_RW()
292 cl_mem_flags buffer_mem_flag, in test_mem_host_no_access_Image_RW_Mapping()
326cl_mem_flags buffer_mem_flags[2] = {CL_MEM_READ_WRITE | CL_MEM_USE_HOST_PTR | CL_MEM_HOST_NO_ACCES… in test_mem_host_no_access_image()
/external/mesa3d/src/gallium/frontends/clover/core/
Dmemory.hpp38 memory_obj(clover::context &ctx, cl_mem_flags flags,
59 cl_mem_flags flags() const;
66 cl_mem_flags _flags;
77 buffer(clover::context &ctx, cl_mem_flags flags,
86 root_buffer(clover::context &ctx, cl_mem_flags flags,
106 sub_buffer(root_buffer &parent, cl_mem_flags flags,
127 image(clover::context &ctx, cl_mem_flags flags,
164 image2d(clover::context &ctx, cl_mem_flags flags,
174 image3d(clover::context &ctx, cl_mem_flags flags,
Dmemory.cpp29 memory_obj::memory_obj(clover::context &ctx, cl_mem_flags flags, in memory_obj()
54 cl_mem_flags
69 buffer::buffer(clover::context &ctx, cl_mem_flags flags, in buffer()
79 root_buffer::root_buffer(clover::context &ctx, cl_mem_flags flags, in root_buffer()
120 sub_buffer::sub_buffer(root_buffer &parent, cl_mem_flags flags, in sub_buffer()
155 image::image(clover::context &ctx, cl_mem_flags flags, in image()
233 image2d::image2d(clover::context &ctx, cl_mem_flags flags, in image2d()
246 image3d::image3d(clover::context &ctx, cl_mem_flags flags, in image3d()
/external/mesa3d/src/gallium/frontends/clover/api/
Dmemory.cpp32 cl_mem_flags
33 validate_flags(cl_mem d_parent, cl_mem_flags d_flags, bool svm) { in validate_flags()
34 const cl_mem_flags dev_access_flags = in validate_flags()
36 const cl_mem_flags host_ptr_flags = in validate_flags()
38 const cl_mem_flags host_access_flags = in validate_flags()
40 const cl_mem_flags svm_flags = in validate_flags()
43 const cl_mem_flags valid_flags = in validate_flags()
63 const cl_mem_flags flags = (d_flags | in validate_flags()
88 clCreateBuffer(cl_context d_ctx, cl_mem_flags d_flags, size_t size, in clCreateBuffer()
90 const cl_mem_flags flags = validate_flags(NULL, d_flags, false); in clCreateBuffer()
[all …]
/external/OpenCL-CTS/test_conformance/images/clGetInfo/
Dtest_loops.cpp19 …ge_info_1D( cl_device_id device, cl_context context, cl_image_format *format, cl_mem_flags flags );
20 …ge_info_2D( cl_device_id device, cl_context context, cl_image_format *format, cl_mem_flags flags );
21 …ge_info_3D( cl_device_id device, cl_context context, cl_image_format *format, cl_mem_flags flags );
22 …o_1D_array( cl_device_id device, cl_context context, cl_image_format *format, cl_mem_flags flags );
23 …o_2D_array( cl_device_id device, cl_context context, cl_image_format *format, cl_mem_flags flags );
25 …_type( cl_device_id device, cl_context context, cl_mem_object_type image_type, cl_mem_flags flags ) in test_image_type()
Dtest_1D_2D_array.cpp18 …fo_single( cl_context context, image_descriptor *imageInfo, MTdata d, cl_mem_flags flags, size_t r…
20 …fo_1D_array( cl_device_id device, cl_context context, cl_image_format *format, cl_mem_flags flags ) in test_get_image_info_1D_array()
27 cl_mem_flags all_host_ptr_flags[5] = { in test_get_image_info_1D_array()
57 for (unsigned int j=0; j < sizeof(all_host_ptr_flags)/sizeof(cl_mem_flags); j++) in test_get_image_info_1D_array()
88 for (unsigned int j=0; j < sizeof(all_host_ptr_flags)/sizeof(cl_mem_flags); j++) in test_get_image_info_1D_array()
123 for (unsigned int j=0; j < sizeof(all_host_ptr_flags)/sizeof(cl_mem_flags); j++) in test_get_image_info_1D_array()
141 …fo_2D_array( cl_device_id device, cl_context context, cl_image_format *format, cl_mem_flags flags ) in test_get_image_info_2D_array()
149 cl_mem_flags all_host_ptr_flags[5] = { in test_get_image_info_2D_array()
184 for (unsigned int j=0; j < sizeof(all_host_ptr_flags)/sizeof(cl_mem_flags); j++) in test_get_image_info_2D_array()
216 for (unsigned int j=0; j < sizeof(all_host_ptr_flags)/sizeof(cl_mem_flags); j++) in test_get_image_info_2D_array()
[all …]
Dtest_1D.cpp18 …fo_single( cl_context context, image_descriptor *imageInfo, MTdata d, cl_mem_flags flags, size_t r…
21 …age_info_1D( cl_device_id device, cl_context context, cl_image_format *format, cl_mem_flags flags ) in test_get_image_info_1D()
29 cl_mem_flags all_host_ptr_flags[5] = { in test_get_image_info_1D()
56 for (unsigned int j=0; j < sizeof(all_host_ptr_flags)/sizeof(cl_mem_flags); j++) in test_get_image_info_1D()
82 for (unsigned int j=0; j < sizeof(all_host_ptr_flags)/sizeof(cl_mem_flags); j++) in test_get_image_info_1D()
118 for (unsigned int j=0; j < sizeof(all_host_ptr_flags)/sizeof(cl_mem_flags); j++) in test_get_image_info_1D()
Dtest_3D.cpp18 …fo_single( cl_context context, image_descriptor *imageInfo, MTdata d, cl_mem_flags flags, size_t r…
20 …age_info_3D( cl_device_id device, cl_context context, cl_image_format *format, cl_mem_flags flags ) in test_get_image_info_3D()
28 cl_mem_flags all_host_ptr_flags[] = { in test_get_image_info_3D()
63 for (unsigned int j=0; j < sizeof(all_host_ptr_flags)/sizeof(cl_mem_flags); j++) in test_get_image_info_3D()
95 for (unsigned int j=0; j < sizeof(all_host_ptr_flags)/sizeof(cl_mem_flags); j++) in test_get_image_info_3D()
138 for (unsigned int j=0; j < sizeof(all_host_ptr_flags)/sizeof(cl_mem_flags); j++) in test_get_image_info_3D()
/external/OpenCL-CTS/test_conformance/images/clReadWriteImage/
Dtest_loops.cpp21 cl_image_format *format, cl_mem_flags flags);
24 cl_image_format *format, cl_mem_flags flags);
27 cl_image_format *format, cl_mem_flags flags);
31 cl_mem_flags flags);
35 cl_mem_flags flags);
37 …ice, cl_context context, cl_command_queue queue, cl_mem_object_type imageType, cl_mem_flags flags ) in test_image_type()
/external/OpenCL-CTS/test_conformance/images/kernel_image_methods/
Dtest_loops.cpp22 cl_image_format *format, cl_mem_flags flags);
25 cl_image_format *format, cl_mem_flags flags);
28 cl_image_format *format, cl_mem_flags flags);
32 cl_mem_flags flags);
36 cl_mem_flags flags);
38 …ice, cl_context context, cl_command_queue queue, cl_mem_object_type imageType, cl_mem_flags flags ) in test_image_type()
/external/mesa3d/include/CL/
Dcl_gl.h65 cl_mem_flags flags,
73 cl_mem_flags flags,
83 cl_mem_flags flags,
119 cl_mem_flags flags,
127 cl_mem_flags flags,
Dcl_icd.h138 cl_context context, cl_mem_flags flags, size_t size, void *host_ptr,
144 cl_context context, cl_mem_flags flags, const cl_image_format *image_format,
157 cl_context context, const cl_mem_properties *properties, cl_mem_flags flags,
162 cl_context context, const cl_mem_properties *properties, cl_mem_flags flags,
186 cl_context context, cl_mem_flags flags, cl_mem_object_type image_type,
201 cl_context /* context */, cl_mem_flags /* flags */,
710 cl_context context, cl_mem_flags flags, const cl_image_format *image_format,
715 cl_context context, cl_mem_flags flags, const cl_image_format *image_format,
739 cl_context context, cl_mem_flags flags, cl_GLuint bufobj,
743 cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel,
[all …]
Dcl_d3d11.h92 cl_mem_flags flags,
98 cl_mem_flags flags,
105 cl_mem_flags flags,
Dcl_d3d10.h92 cl_mem_flags flags,
98 cl_mem_flags flags,
105 cl_mem_flags flags,
/external/angle/include/CL/
Dcl_gl.h53 cl_mem_flags flags,
61 cl_mem_flags flags,
71 cl_mem_flags flags,
107 cl_mem_flags flags,
115 cl_mem_flags flags,
Dcl_icd.h138 cl_context context, cl_mem_flags flags, size_t size, void *host_ptr,
144 cl_context context, cl_mem_flags flags, const cl_image_format *image_format,
157 cl_context context, const cl_mem_properties *properties, cl_mem_flags flags,
162 cl_context context, const cl_mem_properties *properties, cl_mem_flags flags,
186 cl_context context, cl_mem_flags flags, cl_mem_object_type image_type,
201 cl_context /* context */, cl_mem_flags /* flags */,
710 cl_context context, cl_mem_flags flags, const cl_image_format *image_format,
715 cl_context context, cl_mem_flags flags, const cl_image_format *image_format,
739 cl_context context, cl_mem_flags flags, cl_GLuint bufobj,
743 cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel,
[all …]
Dcl_d3d11.h89 cl_mem_flags flags,
95 cl_mem_flags flags,
102 cl_mem_flags flags,
Dcl_d3d10.h89 cl_mem_flags flags,
95 cl_mem_flags flags,
102 cl_mem_flags flags,
/external/OpenCL-CTS/dependencies/ocl-headers/CL/
Dcl_gl.h53 cl_mem_flags flags,
61 cl_mem_flags flags,
71 cl_mem_flags flags,
107 cl_mem_flags flags,
115 cl_mem_flags flags,
/external/OpenCL-CTS/test_common/harness/
DtypeWrappers.h143 clProtectedImage(cl_context context, cl_mem_flags flags,
146 clProtectedImage(cl_context context, cl_mem_flags flags,
149 clProtectedImage(cl_context context, cl_mem_flags flags,
153 cl_mem_flags flags, const cl_image_format *fmt,
165 cl_int Create(cl_context context, cl_mem_flags flags,
167 cl_int Create(cl_context context, cl_mem_flags flags,
169 cl_int Create(cl_context context, cl_mem_flags flags,
173 cl_mem_flags flags, const cl_image_format *fmt, size_t width,
DclImageHelper.h32 static inline cl_mem create_image_2d(cl_context context, cl_mem_flags flags, in create_image_2d()
87 create_image_2d_buffer(cl_context context, cl_mem_flags flags, in create_image_2d_buffer()
118 static inline cl_mem create_image_3d(cl_context context, cl_mem_flags flags, in create_image_3d()
171 create_image_2d_array(cl_context context, cl_mem_flags flags, in create_image_2d_array()
208 cl_context context, cl_mem_flags flags, const cl_image_format *image_format, in create_image_1d_array()
242 static inline cl_mem create_image_1d(cl_context context, cl_mem_flags flags, in create_image_1d()
/external/skqp/src/compute/skc/platforms/cl_12/
Dallocator_device_cl.c23 cl_mem_flags const flags, in skc_runtime_device_perm_alloc()
49 cl_mem_flags const flags, in skc_runtime_device_temp_alloc()
114 cl_mem_flags const flags = CL_MEM_READ_WRITE | CL_MEM_ALLOC_HOST_PTR; in skc_allocator_device_create()
116 cl_mem_flags const flags = CL_MEM_READ_WRITE; in skc_allocator_device_create()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dopencl_wrapper.h92 cl_context /* context */, cl_mem_flags /* flags */, size_t /* size */,
96 cl_mem /* buffer */, cl_mem_flags /* flags */,
101 cl_context /* context */, cl_mem_flags /* flags */,
106 cl_context /* context */, cl_mem_flags /* flags */,
115 cl_context /* context */, cl_mem_flags /* flags */,
448 cl_context /* context */, cl_mem_flags /* flags */,
453 cl_context /* context */, cl_mem_flags /* flags */,
481 typedef cl_mem(CL_API_CALL *PFN_clCreateFromGLBuffer)(cl_context, cl_mem_flags,
484 cl_context /* context */, cl_mem_flags /* flags */, cl_GLenum /* target */,
512 CLeglImageKHR /*image*/, cl_mem_flags /*flags*/,
[all …]

12345