Scalar Data Access

Functions

ARBB_VM_EXPORT arbb_error_t arbb_read_scalar (arbb_context_t context, arbb_variable_t variable, void *out_data, arbb_error_details_t *details)
 Copies data out of the given global scalar to the host.
ARBB_VM_EXPORT arbb_error_t arbb_write_scalar (arbb_context_t context, arbb_variable_t variable, const void *data, arbb_error_details_t *details)
 Copies data into the given global variable from the host.

Function Documentation

ARBB_VM_EXPORT arbb_error_t arbb_read_scalar ( arbb_context_t  context,
arbb_variable_t  variable,
void *  out_data,
arbb_error_details_t details 
)

Copies data out of the given global scalar to the host.

Returns:
An error code depending on the result of the operation:
ARBB_VM_EXPORT arbb_error_t arbb_write_scalar ( arbb_context_t  context,
arbb_variable_t  variable,
const void *  data,
arbb_error_details_t details 
)

Copies data into the given global variable from the host.

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

Submit feedback on this help topic

Copyright © 2010, Intel Corporation. All rights reserved.