Developer Reference for Intel® Integrated Performance Primitives 2019
Returns maximum size of the L2 and L3 caches of the processor.
IppStatus ippGetMaxCacheSizeB(int* pSizeByte);
ippcore.h
pSizeByte |
Pointer to the output result. |
This function finds the maximum size (in bytes) of the L2 and L3 caches of the processor used on your computer system. The result is stored in the pSizeByte.
Intel® Itanium® processors are not supported.
If the processor is not supported, or size of cache is unknown, the result is 0, and the function returns corresponding warning message.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition when the pSizeByte pointer is NULL. |
ippStsNotSupportedCpu |
Indicates that the processor is not supported. |
ippStsUnknownCacheSize |
Indicates that the size of the cache is unknown. |