gpt4 book ai didi

intel-ipp - IPP - 英特尔性能集成原语

转载 作者:行者123 更新时间:2023-12-04 12:52:31 30 4
gpt4 key购买 nike

IPP 是否对其处理的数据(例如对齐等)提出了任何要求?

最佳答案

在 Windows 上,使用 x86 二进制文件(这是我目前使用的全部),您不需要对齐内存,但 userguide_win_ia32.pdf 文档在第 7 章(来自 IPP v6.1)中简要提到了对齐:

Memory Alignment

The performance of Intel IPP functions can be significantly different
when operating on aligned or misaligned data. Access to memory is faster
if pointers to the data are aligned. Use the following Intel IPP
functions for pointer alignment, memory allocation and deallocation:

使用一些引用的函数:[参见 ippMalloc、ippAlignPtr、ippFree 等...]。

最重要的是,对齐可以帮助提高性能,但在您配置和不对齐配置之前,您不会知道在多大程度上。

关于intel-ipp - IPP - 英特尔性能集成原语,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10596930/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com