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

6.18 vsip_dvalldestroy_p - Destroy a Vector View and Its Data Block

void vsip_valldestroy_f(vsip_vview_f *v); 
void vsip_cvalldestroy_f(vsip_cvview_f* v);
Description

This function destroys a vector view v and its underlying data block. After calling this function, both the vector view and the data block are no longer valid.

Parameters
Example

vsip_vview_f *vector_view; 
 
// Assuming vector_view has been properly initialized 
vsip_valldestroy_f(vector_view); 
 
// Both the vector view and its data block are now invalid