Developer Guide

Contents

Essential Interfaces for Algorithms

In addition to Generic Interfaces, more methods enable interfacing tensors with algorithms.
The key methods that
Intel DAAL
algorithms use for per-block data access are
getSubtensor()
/
releaseSubtensor()
. These methods access a part of the tensor assuming the row-major order. The efficiency of data access highly depends on the data layout and on whether the data type is natively supported by the algorithm without type conversions. Refer to the Performance Considerations section in the description of a particular algorithm for a discussion of the data layout and natively supported data types.
Use the
getSize()
method to get the number of elements stored in a
Tensor
object.

Special Interfaces for the
HomogenTensor
Class

Use the
getArray()
method to get direct access to the memory block associated with the
HomogenTensor
object.
Use the
setArray()
method to set the number of dimensions, dimension values and associate the memory buffer with the
HomogenTensor
object.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804