hwlocality_api_version(3) Hardware Locality (hwloc) hwlocality_api_version(3)

hwlocality_api_version - API version


#define HWLOC_API_VERSION 0x00020800
#define HWLOC_COMPONENT_ABI 7


unsigned hwloc_get_api_version (void)

Indicate at build time which hwloc API version is being used. This number is updated to (X<<16)+(Y<<8)+Z when a new release X.Y.Z actually modifies the API.

Users may check for available features at build time using this number (see How do I handle API changes?).

Note

This should not be confused with HWLOC_VERSION, the library version. Two stable releases of the same series usually have the same HWLOC_API_VERSION even if their HWLOC_VERSION are different.

Current component and plugin ABI version (see hwloc/plugins.h)

Indicate at runtime which hwloc API version was used at build time. Should be HWLOC_API_VERSION if running on the same version.

Returns

the build-time version number.

Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.

Mon Dec 4 2023 Version 2.10.0