The library assumes any buffers passed as arguments to
routines persist for the life of the input graph object or until the next call to an
routine for an existing format. Calling a set routine on an existing format resets the data of the graph object to the new data. After destroying the graph object or resetting its data, you can safely deallocate data used as input to an
Intel® oneAPI Math Kernel Library
never deallocates user-allocated memory.