4

アラインメントなど、IPP が扱うデータについて、IPP で定められている要件はありますか?

4

1 に答える 1

3

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 などを参照...]。

要するに、アラインメントはパフォーマンスに役立ちますが、アラインメントの有無にかかわらずプロファイリングを行うまで、その程度はわかりません。

于 2012-06-26T00:19:58.533 に答える