Developer Reference
Intel® oneAPI Math Kernel Library Vector Mathematics Performance and Accuracy Data
                    
                        ID
                        772989
                    
                
                
                    Date
                    12/04/2020
                
                
                    Public
                
            Cos
Computes a cosine 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 | 3.44 | 3.10 | 2.61 | 1.81 | 
| LA | 2.62 | 1.92 | 1.66 | 0.95 | |
| EP | 2.14 | 1.61 | 1.34 | 0.83 | |
| double | HA | 8.61 | 7.95 | 6.92 | 2.95 | 
| LA | 6.88 | 4.45 | 3.89 | 1.61 | |
| EP | 4.23 | 3.10 | 2.73 | 1.61 | |
      Notes: 
    
 
    - Units - CPE (Clocks per Element)
- Performance was measured on "working" interval (double precision: [ -10000, 10000.0 ]; single precision: [ -10000.0, 10000.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.59 | 0.59 | 0.59 | 0.59 | 
| LA | 1.54 | 1.54 | 1.54 | 1.54 | |
| EP | 2.53E+03 | 2.53E+03 | 2.53E+03 | 2.53E+03 | |
| double | HA | 0.50 | 0.50 | 0.50 | 0.51 | 
| LA | 2.83 | 2.83 | 2.83 | 2.83 | |
| EP | 6.14E+07 | 6.14E+07 | 6.14E+07 | 2.83 | |
      NOTE: 
    
 Units - ULP (Units in the Last Place). 
   Performance Graphs:




 Parent topic: Trigonometric Functions