New VML functions with additional parameter for setting the accuracy mode

New VML functions with additional parameter for setting the accuracy mode

Intel MKL 10.3 Beta introduced new functions with an additional parameter for setting the accuracy mode.

For example, ifI want to use VML Exp() function with high accuracy, before MKL 10.3 Beta release, I can use the following the way:

vmlSetMode(VML_HA);
vdExp(1000, r, r);

vmlSetMode() may impact all of VML functions behavior in my application. If I am writing some multithreading application, each thread are using individual VML functions, and have different accuracy requirement, that will would be difficult for me to use vmlSetMode() function to control the accuracy.

MKL 10.3 includes some new functions, which allows adding additional accuracy parameters in the VML function call. For example , I can call VML function as the following :

vmdSin(1000, r, r, VML_HA);

These new functions can allows using VML functions with different accuracy at the same time.

The following article includes some more examples on new VML functions.
http://software.intel.com/en-us/articles/dynamic-accuracy-control-for-vml/

Thanks,
Chao

Check here to register for MKL 10.3 Beta, and provide us the feedback via the forum.

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.