Audit math-library runtime usage
cconvey opened this issue · comments
On OS X High Sierra, investigate which math libraries are used at runtime by MXnet in general as well as MXnet's instance of nGraph. If anything looks amiss, create follow-on Issues to address the problems.
TL;DR
MXnet is pretty flexible regarding which math libraries it uses, and linking with nGraph adds to that complexity.
That complexity, combined with the sophisticated logic used by Linux's and OSX's dynamic loaders, can result in unexpected runtime bindings. Those unintended bindings can in turn cause performance-related bugs.
We have this problem somewhat sorted out on Linux, but we haven't checked on OS X to see what problems (if any) we face.