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® oneAPI Math Kernel Library
- Calling of VML Mathematical Functions [in-place operation]

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

Marcus_W_1

Beginner

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

04-01-2013
03:16 PM

85 Views

Calling of VML Mathematical Functions [in-place operation]

HI,

I have a question concerning the use of Vector Mathematical Functions. The documentation does not contain a hint whether one can apply the same argument twice [in-place operation] without any side effects. For example for two vectors a, b the operation a = a + b should be computed via

vdadd( n, a, b, a ); [in-place operation]

instead of creating a working array y first and copy the result to array a again:

[plain]y = new double

vdadd( n, a, b, y );

copy(source: y, destination: a);[/plain]

I have tested it and it works for vdadd. My question is is not restricted to vdadd, more general to all other Mathematical functions as for example vdsqr, vzconj, vdpow etc. I can test each function before I will use it but this is rather time consuming and can change from release to release of the MKL Library.

Thanks in advance,

Markus

Link Copied

3 Replies

Chao_Y_Intel

Employee

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

04-01-2013
07:14 PM

85 Views

Hi Markus,

It is true that all of the VML can work with the in-plance operation. Check the document here:

Thanks,

Chao

Marcus_W_1

Beginner

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

04-02-2013
02:57 PM

85 Views

Hi Chao,

thank you very much, I was blind...

Markus

Royi

Novice

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

05-25-2018
11:50 PM

85 Views

I think the updated place to look for it is:

Intel MKL Developer Reference - Vector Mathematical Functions.

At least the In Place support holds for Intel MKL 2018 Update 2.

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.