GetICachePreloadStatus (ISASI)

Product Support

Product

Supported

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

Obtains the PreLoad status of the iCache.

Prototype

1
__aicore__ inline int64_t GetICachePreloadStatus()

Parameters

None

Returns

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

Restrictions

None

Example

1
int64_t cachePreloadStatus = AscendC::GetICachePreloadStatus();