Functions | |
ARBB_VM_EXPORT arbb_error_t | arbb_create_dense_binding (arbb_context_t context, arbb_binding_t *out_binding, void *user_data, unsigned int dimensionality, const uint64_t *sizes, const uint64_t *byte_pitches, arbb_error_details_t *details) |
Creates a binding suitable for a dense container with the specified parameters. | |
ARBB_VM_EXPORT arbb_error_t | arbb_free_binding (arbb_context_t context, arbb_binding_t binding, arbb_error_details_t *details) |
Releases all resources associated with the binding . |
ARBB_VM_EXPORT arbb_error_t arbb_create_dense_binding | ( | arbb_context_t | context, | |
arbb_binding_t * | out_binding, | |||
void * | user_data, | |||
unsigned int | dimensionality, | |||
const uint64_t * | sizes, | |||
const uint64_t * | byte_pitches, | |||
arbb_error_details_t * | details | |||
) |
Creates a binding suitable for a dense container with the specified parameters.
The number of elements in the sizes
array must match the value of the dimensionality
parameter.
The number of elements in the byte_pitches
arrays must match the value of the dimensionality
parameter.
byte_pitches
[i] specifies the number of bytes between columns/rows/pages in the user data for i = 0, 1, 2, respectively.
context
is a null object.dimensionality
is not 1, 2, or 3.sizes
is a null pointer.user_data
is a null pointer.byte_pitches
is a null pointer.byte_pitches
are smaller than the element size.out_binding
is a null pointer. ARBB_VM_EXPORT arbb_error_t arbb_free_binding | ( | arbb_context_t | context, | |
arbb_binding_t | binding, | |||
arbb_error_details_t * | details | |||
) |
Releases all resources associated with the binding
.
context
is a null object.binding
is a null object. Copyright © 2010, Intel Corporation. All rights reserved.