简体   繁体   English

VC ++是否支持_mm_malloc?

[英]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

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM