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.17 vsip_dvputoffset_p - Set the Offset of a Vector View

vsip_vview_f* vsip_vputoffset_f(vsip_vview_f* v, vsip_offset o); 
vsip_vview_bl* vsip_vputoffset_bl(vsip_vview_bl* v, vsip_offset o); 
vsip_vview_vi* vsip_vputoffset_vi(vsip_vview_vi* v, vsip_offset o); 
vsip_vview_mi* vsip_vputoffset_mi(vsip_vview_mi* v, vsip_offset o); 
vsip_cvview_f* vsip_cvputoffset_f(vsip_cvview_f* v, vsip_offset o);
Description

This function sets the offset within the data block for the vector view v to the specified value o.

Parameters
Return Value
Example

vsip_vview_f *vector_view; 
vsip_offset new_offset = 5; 
 
// Assuming vector_view has been properly initialized 
vector_view = vsip_vputoffset_f(vector_view, new_offset); 
 
if (vector_view == NULL) { 
    // Handle error 
}