ippEnableCpu

Enables automatic dispatching for the specified processor type.

Syntax

IppStatus ippEnableCpu(IppCpuType cpu);

Parameters

cpu

Processor type.

Description

The function ippEnableCpu is declared in the ippcore.h file.

This function enables automatic dispatching of the library code for processors with Intel® Advanced Vector Extensions (AVX) on Intel® AVX enabled hardware or simulators. To do this the function ippEnableCpu must be called with the parameter cpu=ippCpuAVX before the function ippInit.

Return Values

ippStsNoErr

Indicates that the required processor-specific code is successfully set.

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.