|
CoreFlow 1.0.0
A modern orchestration and execution runtime
|
The Internal Array API. More...
Namespaces | |
| namespace | coreflow |
| The internal representation of a vx_array. | |
The Internal Array API.
| vx_status coreflow::Array::accessArrayRange | ( | vx_size | start, |
| vx_size | end, | ||
| vx_size * | pStride, | ||
| void ** | ptr, | ||
| vx_enum | usage ) |
#include <vx_array.h>
Access array range in object.
| start | start index |
| end | end index |
| pStride | pointer of stride |
| ptr | pointer to data |
| usage | ro | rw | wo |
#include <vx_array.h>
Add items to array.
| count | number of items to add |
| ptr | pointer to data |
| stride | size of stride |
| vx_bool coreflow::Array::allocateArray | ( | ) |
#include <vx_array.h>
Allocate memory for array object.
| coreflow::Array::Array | ( | vx_context | context, |
| vx_enum | type, | ||
| vx_reference | scope ) |
#include <vx_array.h>
Construct a new Array object.
| context | The context associated with this object |
| type | The type of this array (arr or lut) |
| scope | The parent reference of this object |
| coreflow::Array::Array | ( | vx_context | context, |
| vx_reference | scope ) |
#include <vx_array.h>
Construct a new Array object.
| context | The context associated with this object |
| scope | The parent reference of this object |
#include <vx_array.h>
Commit array range.
| start | start index |
| end | end index |
| ptr | pointer to data |
| vx_status coreflow::Array::copyArrayRange | ( | vx_size | start, |
| vx_size | end, | ||
| vx_size | stride, | ||
| void * | ptr, | ||
| vx_enum | usage, | ||
| vx_enum | mem_type ) |
#include <vx_array.h>
Copy array range.
| start | start index |
| end | end index |
| stride | size of stride |
| ptr | pointer to data |
| usage | ro | rw | wo |
| mem_type | host | device |
|
static |
#include <vx_array.h>
Create a Array object.
| context | context object |
| item_type | array object type |
| capacity | capacity of array |
| is_virtual | is array virtual |
| type | array or lut |
|
static |
#include <vx_array.h>
Create a LUT object.
| context | context object |
| data_type | array object type |
| count | count of array |
|
finaloverridevirtual |
| void coreflow::Array::initArrayMemory | ( | ) |
#include <vx_array.h>
Initialize internal array memory.
#include <vx_array.h>
Initialize virutal array object.
| item_type | array object type |
| capacity | capacity of array |
#include <vx_array.h>
Validate array object.
| arr | array object to check |
|
static |
#include <vx_array.h>
Validate array item type.
| context | global context |
| item_type | item type |
| vx_size coreflow::Array::itemSize | ( | ) | const |
|
static |
#include <vx_array.h>
Get item size of type.
| context | global context |
| item_type | item type |
| vx_enum coreflow::Array::itemType | ( | ) | const |
| vx_status coreflow::Array::mapArrayRange | ( | vx_size | start, |
| vx_size | end, | ||
| vx_map_id * | map_id, | ||
| vx_size * | stride, | ||
| void ** | ptr, | ||
| vx_enum | usage, | ||
| vx_enum | mem_type, | ||
| vx_uint32 | flags ) |
#include <vx_array.h>
Map array range.
| start | start index |
| end | end index |
| map_id | memory map id |
| stride | size of stride |
| ptr | pointer to data |
| usage | ro | rw | wo |
| mem_type | host | device |
| flags | additional flags |
| vx_size coreflow::Array::numItems | ( | ) | const |
#include <vx_array.h>
Get number of items in array.
| vx_uint32 coreflow::Array::offsetVal | ( | ) | const |
|
static |
| vx_size coreflow::Array::totalCapacity | ( | ) | const |
| vx_size coreflow::Array::totalSize | ( | ) | const |
#include <vx_array.h>
Truncate array to new number of items.
| new_num_items | new number of items |
#include <vx_array.h>
Unmap array range.
| map_id | memory map id |
#include <vx_array.h>
Validate array object.
| item_type | array object type |
| capacity | capacity of array |
| coreflow::Array::~Array | ( | ) |
#include <vx_array.h>
Destroy the Array object.