Draft: Runtime information and advanced memory management
- Add a
rpk_rntm_t
parameter to pass runtime metadata about rapack matrix operands. - Add a set of hooks
malloc
,free
,lrmem_should_realloc
,lrmem_alloc
,lrmem_free
to allow the user to implement advanced memory management strategies. For example, it will be used in Chameleon to make the runtime aware of rapack data. It will fix the memory leak problem and provide better data optimization capabilities.