Hi Siqing,
You may consider other two library also: Intel IPP or Intel DAAL
https://software.intel.com/en-us/intel-ipp/documentation,
https://software.intel.com/en-us/intel-daal
Which should provide such functionality.
Best Regards,
Ying
For more complete information about compiler optimizations, see our Optimization Notice.