Adelsbach/VSIPL
Core Programming Reference Guide
DD-00016-015
Core

This manual is preliminary and incomplete.
While our Core implementation implements all functions given in the standard we are still working on completing this documentation.

Please refer to the VSIPL standard for a complete function reference of the Core profile until we have completed work on this documentation.

1.3.11 vsip_dvgetblock_p - Get the Data Block of a Vector View

vsip_block_f* vsip_vgetblock_f(const vsip_vview_f* v); 
vsip_block_bl* vsip_vgetblock_bl(const vsip_vview_bl* v); 
vsip_block_vi* vsip_vgetblock_vi(const vsip_vview_vi* v); 
vsip_block_mi* vsip_vgetblock_mi(const vsip_vview_mi* v); 
vsip_cblock_f* vsip_cvgetblock_f(const vsip_cvview_f* v);
Description

This function returns the data block associated with the vector view v.

Parameters
Return Value
Example

vsip_vview_f *vector_view; 
vsip_block_f *data_block; 
 
// Assuming vector_view has been properly initialized 
data_block = vsip_vgetblock_f(vector_view); 
 
if (data_block == NULL) { 
    // Handle error 
}

x