Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- Software
- Software Development SDKs and Libraries
- Intel® Integrated Performance Primitives
- which libraries to include in matrix multiplication program

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

prakrati

Beginner

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-23-2010
01:01 AM

137 Views

which libraries to include in matrix multiplication program

Link Copied

3 Replies

Vladimir_Dudnik

Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-23-2010
02:49 AM

137 Views

thanks for your interest to Intel IPP product.

I would recomend you to check IPP Reference Manual, volume 3, Small Matrices and Realistic Rendering, for more details on relevant functions.

For example, Multiply matrix-matrix operations supported in IPP are(you may find more operations in IPP document):

**Case 13: Matrix - matrix operation**

IppStatus ippmMul_mm_32f(const Ipp32f* pSrc1, int src1Stride1, int src1Stride2, int src1Width, int src1Height, const Ipp32f* pSrc2, int src2Stride1, int src2Stride2, int src2Width, int src2Height, Ipp32f* pDst, int dstStride1, int dstStride2);

IppStatus ippmMul_mm_64f(const Ipp64f* pSrc1, int src1Stride1, int src1Stride2, int src1Width, int src1Height, const Ipp64f* pSrc2, int src2Stride1, int src2Stride2, int src2Width, int src2Height, Ipp64f* pDst, int dstStride1, int dstStride2);

IppStatus ippmMul_mm_32f_P(const Ipp32f** ppSrc1, int src1RoiShift, int src1Width, int src1Height, const Ipp32f** ppSrc2, int src2RoiShift, int src2Width, int src2Height, Ipp32f** ppDst, int dstRoiShift);

IppStatus ippmMul_mm_64f_P(const Ipp64f** ppSrc1, int src1RoiShift, int src1Width, int src1Height, const Ipp64f** ppSrc2, int src2RoiShift, int src2Width, int src2Height, Ipp64f** ppDst, int dstRoiShift);

Please also note that in IPP we provide optimization for special case of small matrix sizes (like 3x3, 5x5, 7x7, 9x9, 11x11). In case you work with matrices of bigger size I would recomend you to take a look at Intel Math Kernel library (Intel MKL), which provides optimization for big matrices.

Regards,

Vladimir

Gennady_F_Intel

Moderator

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-23-2010
04:44 AM

137 Views

prakrati,

could you please look at this KB article:"Building apllication Using IPP v 5* and v.6*". You can find there the list of libraries you need tol link depend of linking mode...

--Gennady

Gennady_F_Intel

Moderator

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

08-23-2010
04:52 AM

137 Views

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

For more complete information about compiler optimizations, see our Optimization Notice.