Adelsbach/VSIPL
Core Light Double Precision Programming Reference Guide
DD-00014-015
Core Light +DP

6.5 vsip_dvgetoffset_p - Get the Offset of a Vector View

vsip_offset vsip_vgetoffset_f(const vsip_vview_f* v); 
vsip_offset vsip_vgetoffset_d(const vsip_vview_d* v); 
vsip_offset vsip_cvgetoffset_f(const vsip_cvview_f* v); 
vsip_offset vsip_cvgetoffset_d(const vsip_cvview_d* 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);