int vsip_finalize(void*);
This function finalizes the VSIPL library, releasing all internal resources and memory. After calling this function, no other VSIPL functions may be called. The function can be called in a nested manner, but only the outermost call will actually free up the internal initialization memory.
void*: The argument is unused and should be set to 0 or NULL.
Returns 0 on success.
Returns a non-zero value on error.
int result; // Finalize the VSIPL library result = vsip_finalize(NULL); if (result != 0) { // Handle error }