I know that dynamic arrays being used by the Intel MKL functions needed to be allocated and deleted by the mkl_malloc and mkl_free. I was wondering if there was an mkl_realloc function provided in case you wanted to attempt and change the amount of memory allocated for a specific address stored inside a pointer.
MKL only has the malloc functions, and no remalloc functions. mkl_malloc is calling the system malloc function, and it may allocate a little larger memory size, and make sure it can return the aligned the memory address. If you need to have a aligned remalloc function, I think may do something like that with system remalloc system call.