Returns information about the active version of Intel IPP signal processing software.
const IppLibraryVersion* ippsGetLibVersion(void);
The function ippsGetLibVersion is declared in the ipps.h file. This function returns a pointer to a static data structure IppLibraryVersion that contains information about the current version of the Intel IPP software for signal processing. There is no need for you to 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 |
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 6.1, library name is ippsp8, and build date is November, 26, 2009, then the fields in this structure are set as:
major = 6 minor = 1, Name = "ippsp8", Version = “v6.1”, BuildDate = "Nov 26 09"
The example below shows how to use the function ippsGetLibVersion.
void libinfo(void) {
const IppLibraryVersion* lib = ippsGetLibVersion();
printf(“%s %s %d.%d.%d.%d\n”, lib->Name, lib->Version,
lib->major, lib->minor, lib->majorBuild, lib->build);
}
Output:
ippsp8 v6.1.137.836
Each sub-library that is used in the signal processing domain has its own similar function to retrieve information about the active library version. These functions are: ippGetLibVersion, ippacGetLibVersion, ippchGetLibVersion, ippdcGetLibVersion, ippdiGetLibVersion, ippdgenGetLibVersion, ippscGetLibVersion, ippvmGetLibVersion. They are declared in the following header files: ippcore.h, ippac.h, ippch.h, ippdc.h, ippdi.h, ipps.h, ippsc.h, ippvm.h, respectively, and have the same interface as the function ippsGetLibVersion.
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.