Intel CPU specific properties

Overview

Set of Intel CPU specific properties. More…

// global variables

static constexpr Property<bool> ov::intel_cpu::denormals_optimization {"CPU_DENORMALS_OPTIMIZATION"};

Detailed Documentation

Set of Intel CPU specific properties.

Global Variables

static constexpr Property<bool> ov::intel_cpu::denormals_optimization {"CPU_DENORMALS_OPTIMIZATION"}

This property define whether to perform denormals optimization.

Computation with denormals is very time consuming. FTZ(Flushing denormals to zero) and DAZ(Denormals as zero) could significantly improve the performance, but it does not comply with IEEE standard. In most cases, this behavior has little impact on model accuracy. Users could enable this optimization if no or acceptable accuracy drop is seen. The following code enables denormals optimization

ie.set_property(ov::denormals_optimization(true)); // enable denormals optimization

The following code disables denormals optimization

ie.set_property(ov::denormals_optimization(false)); // disable denormals optimization