Developer Reference

  • 2020
  • 07/15/2020
  • Public Content
Contents

GetMaxCacheSizeB

Returns maximum size of the L2 and L3 caches of the processor.

Syntax

IppStatus ippGetMaxCacheSizeB(int*
pSizeByte
);
Include Files
ippcore.h
Parameters
pSizeByte
Pointer to the output result.
Description
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.
Return Values
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.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804