Container Bindings

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.

Function Documentation

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.

Returns:
An error code depending on the result of the operation:
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.

Returns:
An error code depending on the result of the operation:

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.