Immediate Map Operation Support Functions

Functions

ARBB_VM_EXPORT arbb_error_t arbb_push_map_coord (arbb_context_t context, uint64_t x, uint64_t y, uint64_t z, arbb_error_details_t *details)
 Pushes a new coordinate on the map stack with values [x, y, z] representing the coordinate along the first, second and third dimension, respectively.
ARBB_VM_EXPORT arbb_error_t arbb_pop_map_coord (arbb_context_t context, arbb_error_details_t *details)
 Pops the current coordinate from the map coordinate stack.
ARBB_VM_EXPORT arbb_error_t arbb_set_scalar_source_element (arbb_context_t context, arbb_variable_t scalar, arbb_variable_t source_container, arbb_error_details_t *details)
 Associates the global scalar variable scalar with the global container source_container.
ARBB_VM_EXPORT arbb_error_t arbb_set_copy_scalar_source_element (arbb_context_t context, arbb_variable_t scalar, arbb_error_details_t *out_error_details)
 Sets flag to copy the source container of scalar the next time it is used as the input to arbb_op_copy in emulation mode.

Function Documentation

ARBB_VM_EXPORT arbb_error_t arbb_push_map_coord ( arbb_context_t  context,
uint64_t  x,
uint64_t  y,
uint64_t  z,
arbb_error_details_t details 
)

Pushes a new coordinate on the map stack with values [x, y, z] representing the coordinate along the first, second and third dimension, respectively.

Returns:
An error code depending on the result of the operation:
ARBB_VM_EXPORT arbb_error_t arbb_pop_map_coord ( arbb_context_t  context,
arbb_error_details_t details 
)

Pops the current coordinate from the map coordinate stack.

Returns:
An error code depending on the result of the operation:
ARBB_VM_EXPORT arbb_error_t arbb_set_scalar_source_element ( arbb_context_t  context,
arbb_variable_t  scalar,
arbb_variable_t  source_container,
arbb_error_details_t details 
)

Associates the global scalar variable scalar with the global container source_container.

Any immediate invocations of arbb_op_get_neighbor operations over the provided scalar fetch data from the provided container using the current map coordinate.

Returns:
An error code depending on the result of the operation:
ARBB_VM_EXPORT arbb_error_t arbb_set_copy_scalar_source_element ( arbb_context_t  context,
arbb_variable_t  scalar,
arbb_error_details_t out_error_details 
)

Sets flag to copy the source container of scalar the next time it is used as the input to arbb_op_copy in emulation mode.

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

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.