ippGetMaxCacheSizeB

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

Syntax

IppStatus ippGetMaxCacheSizeB(int* pSizeByte);

Parameters

pSizeByte

Pointer to the output result.

Description

The function ippGetMaxCacheSizeB is declared in the ippcore.h file. This function finds the maximum size (in bytes) of the L2 and L3 caches of the processor used in your computer system. The result is stored it in the pSizeByte.

Caution iconCaution

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 processor is not supported.

ippStsUnknownCacheSize

Indicates that size of the cache is unknown.

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.