Relative Content

Tag Archive for clinuxlinkermallocintel-mkl

Using custom malloc implementation within MKL

I am writing a program that uses Intel’s MKL to do some matrix multiplications. I have a frustrating requirement that only a custom version of dynamic memory allocation is utilized. I’m aware this is usually considered a terrible idea, but I am using the linker’s --wrap functionality to wrap malloc and free with my own custom implementation. In general, this has gone well so far.