Adelsbach/VSIPL
Core Light Programming Reference Guide
DD-00014-015
Core Light

6.4 vsip_dvgetblock_p - Get the Data Block of a Vector View

vsip_block_f* vsip_vgetblock_f(const vsip_vview_f* 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 
}