Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bugfix][VTA] Fix FSIM compile error on macOS (#14655)
* [Bugfix][VTA] Fix FSIM compile error on macOS. VTA FSIM could not be built on macOS, for it leverages malloc.h and memalign, yet both have been deprecated and are not provided by macOS. This issue was captured in #13173. This commit stops including malloc.h in VTA Runtime as stdlib.h has provided functions we need. This commit uses posix_memalign instead of memalign. It is a portable standard function. * Fix format.
- Loading branch information