Strides

If the data is regularly organized, it is easier to describe it in terms of strides. Intel IPP for small matrices introduces three types of strides:

Stride 0

stride between matrices, vectors, or constants in the array.

Stride 1

stride between matrix rows.

Stride 2

stride between vector elements or matrix row elements.

When operating on regular matrices, you should specify stride1 and stride2.

When operating on transposed matrices, you should never exchange stride1 and stride2. Instead, use the function that operates on transposed matrices.

Note iconNote

All strides are measured in bytes. Stride value must be positive and divisible by the size of the data type. To convert stride value measured in elements to the number of bytes you should multiply it by the size of the data type.


Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.