[英]Does VC++ support _mm_malloc?
Does Visual Studio C++ 2008/2010 support _mm_malloc
officially? Visual Studio C ++
_mm_malloc
正式支持_mm_malloc
? It is defined in malloc.h
but I can't find its description in the MSDN library. 它在
malloc.h
中定义,但我在MSDN库中找不到它的描述。
Doesn't answer your question directly, but I think you're suppose to use _aligned_malloc
. 不直接回答你的问题,但我认为你应该使用
_aligned_malloc
。 If my understanding is correct, _mm_malloc
is for Intel compilers. 如果我的理解是正确的,
_mm_malloc
适用于英特尔编译器。
使用<malloc.h>
标头在Visual Studio 2013中支持_mm_malloc/_mm_free
。
请参阅_mm_类型函数的等效C代码,以及更远距离相关的, 如何仅使用标准库分配对齐的内存?
Doesn't memalign() in <malloc.h>
solve this? <malloc.h>
memalign()不解决这个问题吗? The man-page says it's obsolete, but ... 该手册页说它已经过时,但......
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.