Home
last modified time | relevance | path

Searched refs:buffer_mem_flag (Results 1 – 7 of 7) sorted by relevance

/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() argument
38 checker.buffer_mem_flag = buffer_mem_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() argument
68 checker.buffer_mem_flag = buffer_mem_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() argument
98 checker.buffer_mem_flag = buffer_mem_flag; in test_mem_host_read_only_buffer_RW_Mapping()
185 cl_mem_flags buffer_mem_flag, in test_mem_host_write_only_buffer_RW() argument
194 checker.buffer_mem_flag = buffer_mem_flag; in test_mem_host_write_only_buffer_RW()
216 cl_mem_flags buffer_mem_flag, in test_mem_host_write_only_buffer_RW_Rect() argument
224 checker.buffer_mem_flag = buffer_mem_flag; in test_mem_host_write_only_buffer_RW_Rect()
[all …]
Dmem_host_image.cpp32 cl_mem_flags buffer_mem_flag, in test_mem_host_read_only_RW_Image() argument
41 checker.buffer_mem_flag = 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() argument
72 checker.buffer_mem_flag = buffer_mem_flag; in test_mem_host_read_only_RW_Image_Mapping()
144 cl_mem_flags buffer_mem_flag, in test_MEM_HOST_WRIE_ONLY_Image_RW() argument
153 checker.buffer_mem_flag = 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() argument
187 checker.buffer_mem_flag = buffer_mem_flag; in test_MEM_HOST_WRITE_ONLY_Image_RW_Mapping()
259 cl_mem_flags buffer_mem_flag, in test_mem_host_no_access_Image_RW() argument
269 checker.buffer_mem_flag = buffer_mem_flag; in test_mem_host_no_access_Image_RW()
[all …]
Dchecker_mem_host_read_only.hpp33 virtual cl_int Check_GetMemObjectInfo(cl_mem_flags buffer_mem_flag);
56 this->m_buffer = clCreateBuffer(this->m_context, this->buffer_mem_flag, in SetupBuffer()
60 if (this->buffer_mem_flag & CL_MEM_USE_HOST_PTR) in SetupBuffer()
85 cl_int cBuffer_check_mem_host_read_only< T >::Check_GetMemObjectInfo(cl_mem_flags buffer_mem_flag) in Check_GetMemObjectInfo() argument
88 cBuffer_checker<T>::Check_GetMemObjectInfo(buffer_mem_flag); in Check_GetMemObjectInfo()
90 if (buffer_mem_flag & CL_MEM_ALLOC_HOST_PTR) in Check_GetMemObjectInfo()
240 if ((this->buffer_mem_flag & CL_MEM_USE_HOST_PTR) && dataPtr != this->pHost_ptr ) { in verify_RW_Buffer_mapping()
Dchecker.h54 cl_mem_flags buffer_mem_flag; variable
79 cl_int CreateBuffer(cl_mem_flags buffer_mem_flag, void * pdata);
89 virtual cl_int Check_GetMemObjectInfo(cl_mem_flags buffer_mem_flag);
113 buffer_mem_flag = CL_MEM_READ_WRITE; in cBuffer_checker()
233 cl_int cBuffer_checker<T>::CreateBuffer(cl_mem_flags buffer_mem_flag, void *pdata) in CreateBuffer() argument
238 m_buffer = clCreateBuffer(m_context, buffer_mem_flag, block_size_in_byte, pdata, &err); in CreateBuffer()
244 cl_int cBuffer_checker<T>::Check_GetMemObjectInfo(cl_mem_flags buffer_mem_flag) in Check_GetMemObjectInfo() argument
251 if (buffer_mem_flag_Check != buffer_mem_flag) { in Check_GetMemObjectInfo()
Dchecker_mem_host_no_access.hpp55 this->m_buffer = clCreateBuffer(this->m_context, this->buffer_mem_flag, in SetupBuffer()
58 err = this->Check_GetMemObjectInfo(this->buffer_mem_flag); in SetupBuffer()
60 if (this->buffer_mem_flag | CL_MEM_USE_HOST_PTR) in SetupBuffer()
Dchecker_mem_host_write_only.hpp66 this->m_buffer = clCreateBuffer(this->m_context, this->buffer_mem_flag, in SetupBuffer()
70 err = this->Check_GetMemObjectInfo(this->buffer_mem_flag); in SetupBuffer()
72 if (this->buffer_mem_flag | CL_MEM_USE_HOST_PTR) in SetupBuffer()
323 if ((this->buffer_mem_flag & CL_MEM_USE_HOST_PTR) && dataPtr != this->pHost_ptr){ in verify_RW_Buffer_mapping()
Dchecker_image_mem_host_read_only.hpp82 if (this->buffer_mem_flag & CL_MEM_USE_HOST_PTR) in verify_mapping_ptr()
147 this-> m_Image = clCreateImage(this->m_context, this->buffer_mem_flag, in SetupImage()