Does Visual Studio C++ 2008/2010 support _mm_malloc
officially? It is defined in malloc.h
but I can't find its description in the MSDN library.
Doesn't answer your question directly, but I think you're suppose to use _aligned_malloc
. If my understanding is correct, _mm_malloc
is for Intel compilers.
使用<malloc.h>
标头在Visual Studio 2013中支持_mm_malloc/_mm_free
。
请参阅_mm_类型函数的等效C代码,以及更远距离相关的, 如何仅使用标准库分配对齐的内存?
Doesn't memalign() in <malloc.h>
solve this? The man-page says it's obsolete, but ...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.