Intel® Integrated Performance Primitives Developer Guide and Reference

ID 790148
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

GetLibVersion

Returns information about the used version of Intel IPP software for image processing.

Syntax

const IppLibraryVersion* ippiGetLibVersion(void);

Include Files

ippi.h

Domain Dependencies

Headers: ippcore.h, ippvm.h, ipps.h

Libraries: ippcore.lib, ippvm.lib, ipps.lib

Description

This function returns a pointer to a static data structure IppLibraryVersion that contains information about the current version of Intel IPP for image processing. You need not release memory referenced by the returned pointer, as it points to a static variable. The following fields of the IppLibraryVersion structure are available:

major

the major number of the current library version

minor

the minor number of the current library version

majorBuild

the number of builds of the major version

build

current build number

targetCpu[4]

Intel® processor.

Name

the name of the current library version

Version

the library version string

BuildDate

the library version actual build date

For example, if the library version is 9.0, build revision number is 49671, library name is ippIP AVX2, target CPU is processor with Intel® Advanced Vector Extensions 2 (Intel® AVX2) and build date is “Dec 7 2015”, then the fields in this structure are set as:

major = 9, minor = 0, Name = “ippIP AVX2”, Version = “9.0.1 (r49671)”, targetCpu[4]=“h9”, BuildDate = “Dec 7 2015”

NOTE:

Each sub-library that is used in the image processing domain has its own similar function to retrieve information about the active library version. These functions are: ippiGetLibVersion, ippcvGetLibVersion, and ippccGetLibVersion. They are declared in the following header files: ippcore.h, ippcv.h, ippcc.h, respectively, and have the same interface as the above described function.