Skip to content
Snippets Groups Projects
Commit 0b5ef5d6 authored by Yichao Yu's avatar Yichao Yu
Browse files

missing typedef from cl_ext.h

parent 2c4be91c
Branches
Tags
No related merge requests found
...@@ -102,6 +102,19 @@ typedef struct _cl_buffer_region { ...@@ -102,6 +102,19 @@ typedef struct _cl_buffer_region {
size_t size; size_t size;
} cl_buffer_region; } cl_buffer_region;
/* cl_ext.h */
typedef cl_ulong cl_device_partition_property_ext;
typedef cl_uint cl_image_pitch_info_qcom;
typedef struct _cl_mem_ext_host_ptr {
cl_uint allocation_type;
cl_uint host_cache_policy;
} cl_mem_ext_host_ptr;
typedef struct _cl_mem_ion_host_ptr {
cl_mem_ext_host_ptr ext_host_ptr;
int ion_filedesc;
void* ion_hostptr;
} cl_mem_ion_host_ptr;
/* c++ class pointer */ /* c++ class pointer */
typedef struct clbase *clobj_t; typedef struct clbase *clobj_t;
""" """
......
...@@ -618,7 +618,6 @@ class CommandQueue(_Common): ...@@ -618,7 +618,6 @@ class CommandQueue(_Common):
_handle_error(_lib.command_queue__finish(self.ptr)) _handle_error(_lib.command_queue__finish(self.ptr))
def flush(self): def flush(self):
_handle_error(_lib.command_queue__flush(self.ptr)) _handle_error(_lib.command_queue__flush(self.ptr))
# TODO get_context?
# TODO set_property # TODO set_property
class MemoryObjectHolder(_Common): class MemoryObjectHolder(_Common):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment