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.16 vsip_dvgetoffset_p - Get the Offset of a Vector View

vsip_offset vsip_vgetoffset_f(const vsip_vview_f* v); 
vsip_offset vsip_vgetoffset_bl(const vsip_vview_bl* v); 
vsip_offset vsip_vgetoffset_vi(const vsip_vview_vi* v); 
vsip_offset vsip_vgetoffset_mi(const vsip_vview_mi* v); 
vsip_offset vsip_cvgetoffset_f(const vsip_cvview_f* v);
Description

This function returns the offset within the data block where the vector view v starts.

Parameters
Return Value
Example

vsip_vview_f *vector_view; 
vsip_offset offset; 
 
// Assuming vector_view has been properly initialized 
offset = vsip_vgetoffset_f(vector_view);