Developer Reference
Intel® oneAPI Math Kernel Library Vector Mathematics Performance and Accuracy Data
                    
                        ID
                        772989
                    
                
                
                    Date
                    12/04/2020
                
                
                    Public
                
            Tanh
Computes a hyperbolic tangent of real vector elements.
Performance:
| Intel® Xeon® Processor E5-2680 | Intel® Xeon® Processor E5-2699 v3 | Intel® Xeon® Processor E5-2699 v4 | Intel® Xeon® Gold 6148 Processor | ||
|---|---|---|---|---|---|
| single | HA | 23.10 | 6.64 | 6.22 | 1.08 | 
| LA | 4.79 | 4.20 | 3.78 | 1.03 | |
| EP | 4.79 | 4.19 | 3.78 | 0.71 | |
| double | HA | 13.89 | 11.62 | 10.49 | 5.65 | 
| LA | 12.12 | 10.00 | 9.29 | 5.34 | |
| EP | 11.94 | 10.00 | 9.29 | 3.18 | |
      Notes: 
    
 
    - Units - CPE (Clocks per Element)
- Performance was measured on "working" interval (double precision: [ -19.0, 19.0 ]; single precision: [ -9.0, 9.0 ]) 
- Data - vectors of 1000 elements with random generated numbers. 
- All data was collected with 64-bit libraries. 
Accuracy:
| Intel® Xeon® Processor E5-2680 | Intel® Xeon® Processor E5-2699 v3 | Intel® Xeon® Processor E5-2699 v4 | Intel® Xeon® Gold 6148 Processor | ||
|---|---|---|---|---|---|
| single | HA | 0.50 | 0.50 | 0.50 | 0.53 | 
| LA | 0.71 | 0.71 | 0.71 | 1.22 | |
| EP | 0.71 | 0.71 | 0.71 | 874.00 | |
| double | HA | 0.68 | 0.68 | 0.68 | 0.60 | 
| LA | 1.92 | 1.92 | 1.92 | 1.07 | |
| EP | 1.92 | 1.92 | 1.92 | 2.87E+07 | |
      NOTE: 
    
 Units - ULP (Units in the Last Place). 
   Performance Graphs:




 Parent topic: Hyperbolic Functions