vsip_block_f* vsip_mdestroy_f(vsip_mview_f *matrix); vsip_cblock_f* vsip_cmdestroy_f(vsip_cmview_f *matrix);
This function destroys a matrix view and returns its associated data block.
vsip_dmview_p* matrix: Pointer to the matrix view to be destroyed.
vsip_mview_f *matrix; // Create a matrix matrix = vsip_mcreate_f(100, 100, VSIP_ROW, VSIP_MEM_NONE); // Use the matrix... // ... // Destroy the matrix when no longer needed vsip_mdestroy_f(matrix);