added MKL memory functions
Merge branch 'test' into native