Developer Reference

Intel® oneAPI Math Kernel Library Vector Mathematics Performance and Accuracy Data

ID 772989
Date 12/04/2020
Public
Document Table of Contents

Fdim

Returns vector containing the differences of the corresponding elements of the vector arguments if the first is larger and +0 otherwise.

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 1.09 0.63 0.53 0.46
LA 1.09 0.63 0.53 0.46
EP 1.09 0.63 0.53 0.46
double HA 5.02 1.60 1.35 0.89
LA 5.01 1.59 1.35 0.89
EP 5.01 1.59 1.35 0.89
Notes:
  1. Units - CPE (Clocks per Element)
  2. Performance was measured on "working" interval (double precision: [ -10000.0, 10000.0 ] for both arguments; single precision: [ -10000.0, 10000.0 ] for both arguments)

  3. Data - vectors of 1000 elements with random generated numbers.

  4. 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.50
LA 0.50 0.50 0.50 0.50
EP 0.50 0.50 0.50 0.50
double HA 0.50 0.50 0.50 0.50
LA 0.50 0.50 0.50 0.50
EP 0.50 0.50 0.50 0.50
NOTE:
Units - ULP (Units in the Last Place).

Performance Graphs: