|
CoreFlow 1.0.0
A modern orchestration and execution runtime
|
The Internal User Data Object API. More...
Namespaces | |
| namespace | coreflow |
| The internal representation of a vx_array. | |
The Internal User Data Object API.
| vx_bool coreflow::UserDataObject::allocateUserDataObject | ( | ) |
#include <vx_user_data_object.h>
Allocate user data object.
| vx_status coreflow::UserDataObject::copy | ( | vx_size | offset, |
| vx_size | size, | ||
| void * | user_ptr, | ||
| vx_enum | usage, | ||
| vx_enum | user_mem_type ) |
#include <vx_user_data_object.h>
Copy data to/from user memory.
| offset | The offset in bytes |
| size | The size in bytes |
| user_ptr | The pointer to the user memory |
| usage | The usage of the memory (read/write) |
| user_mem_type | The type of memory (host, opencl, etc.) |
|
static |
#include <vx_user_data_object.h>
Create a user data object.
| context | The context associated with this obj |
| type_name | The type name of the user data object |
| size | The size of the user data object |
| ptr | The pointer to the user data object |
| vx_status coreflow::UserDataObject::map | ( | vx_size | offset, |
| vx_size | size, | ||
| vx_map_id * | map_id, | ||
| void ** | ptr, | ||
| vx_enum | usage, | ||
| vx_enum | mem_type, | ||
| vx_uint32 | flags ) |
#include <vx_user_data_object.h>
Map the user data object for access.
| offset | The offset in bytes |
| size | The size in bytes |
| map_id | The map ID to be used |
| ptr | Pointer to the mapped memory |
| usage | Memory usage type (read/write) |
| mem_type | Memory type (host, opencl, etc.) |
| flags | Additional flags for mapping |
| vx_size coreflow::UserDataObject::objSize | ( | ) | const |
#include <vx_user_data_object.h>
Get the size of the user data object.
| const vx_char * coreflow::UserDataObject::typeName | ( | ) | const |
#include <vx_user_data_object.h>
Get the type name of the user data object.
#include <vx_user_data_object.h>
Unmap the user data object from access.
| map_id | The map ID to be used |
| coreflow::UserDataObject::UserDataObject | ( | vx_context | context, |
| vx_reference | scope ) |
#include <vx_user_data_object.h>
Construct a new User Data Object object.
| context | The context associated with this obj |
| scope | The parent ref of this obj |
| coreflow::UserDataObject::~UserDataObject | ( | ) |
#include <vx_user_data_object.h>
Destroy the User Data Object object.