GetICachePreloadStatus (ISASI)

Supported Products

Product

Supported/Unsupported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

x

Atlas inference product's AI Core

x

Atlas inference product's Vector Core

x

Atlas training products

x

Function Usage

Obtains the PreLoad status of the iCache.

Prototype

1
__aicore__ inline int64_t GetICachePreloadStatus()

Parameters

None

Return Value Description

int64_t type. The value 0 indicates idle, and the value 1 indicates busy.

Constraints

None

Example

1
int64_t cachePreloadStatus = AscendC::GetICachePreloadStatus();