All variables in the VM have a corresponding type represented by a arbb_type_t object.
Enumerations | |
enum | arbb_scalar_type_t { arbb_i8, arbb_i16, arbb_i32, arbb_i64, arbb_u8, arbb_u16, arbb_u32, arbb_u64, arbb_f32, arbb_f64, arbb_boolean, arbb_usize, arbb_isize } |
The fixed set of scalar types provided. More... | |
Functions | |
ARBB_VM_EXPORT arbb_error_t | arbb_get_scalar_type (arbb_context_t context, arbb_type_t *out_type, arbb_scalar_type_t scalar_type, arbb_error_details_t *details) |
Sets out_type to the arbb_type_t object corresponding to a scalar of type scalar_type . | |
ARBB_VM_EXPORT arbb_error_t | arbb_sizeof_type (arbb_context_t context, uint64_t *out_size, arbb_type_t type, arbb_error_details_t *details) |
ARBB_VM_EXPORT arbb_error_t | arbb_get_dense_type (arbb_context_t context, arbb_type_t *out_type, arbb_type_t element_type, unsigned int dimensionality, arbb_error_details_t *details) |
Sets out_type to the arbb_type_t object corresponding to a dense container with the specified element type and dimensionality. | |
ARBB_VM_EXPORT arbb_error_t | arbb_get_nested_type (arbb_context_t context, arbb_type_t *out_type, arbb_type_t element_type, arbb_error_details_t *details) |
Sets *out_type to the arbb_type_t object corresponding to a nested container with the specified element type. |
enum arbb_scalar_type_t |
The fixed set of scalar types provided.
Definition at line 306 of file arbb_vmapi.h.
ARBB_VM_EXPORT arbb_error_t arbb_get_scalar_type | ( | arbb_context_t | context, | |
arbb_type_t * | out_type, | |||
arbb_scalar_type_t | scalar_type, | |||
arbb_error_details_t * | details | |||
) |
Sets out_type
to the arbb_type_t object corresponding to a scalar of type scalar_type
.
context
is a null object.out_type
is a null pointer.scalar_type
is an invalid value. ARBB_VM_EXPORT arbb_error_t arbb_sizeof_type | ( | arbb_context_t | context, | |
uint64_t * | out_size, | |||
arbb_type_t | type, | |||
arbb_error_details_t * | details | |||
) |
context
is a null object.out_size
is a null pointer.type
is a null object.type
is not a scalar type. ARBB_VM_EXPORT arbb_error_t arbb_get_dense_type | ( | arbb_context_t | context, | |
arbb_type_t * | out_type, | |||
arbb_type_t | element_type, | |||
unsigned int | dimensionality, | |||
arbb_error_details_t * | details | |||
) |
Sets out_type
to the arbb_type_t object corresponding to a dense container with the specified element type and dimensionality.
context
is a null object.out_type
is a null pointer.dimensionality
is not 1, 2, or 3.element_type
is a null object.element_type
is not a composable type. ARBB_VM_EXPORT arbb_error_t arbb_get_nested_type | ( | arbb_context_t | context, | |
arbb_type_t * | out_type, | |||
arbb_type_t | element_type, | |||
arbb_error_details_t * | details | |||
) |
Sets *out_type
to the arbb_type_t object corresponding to a nested container with the specified element type.
context
is a null object.out_type
is a null pointer.element_type
is a null object.element_type
is not a composable type. Copyright © 2010, Intel Corporation. All rights reserved.