GetICachePreloadStatus (ISASI)
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
x |
|
x |
|
x |
|
x |
Function Usage
Obtains the PreLoad status of the iCache.
Prototype
1 | __aicore__ inline int64_t GetICachePreloadStatus() |
Parameters
None
Returns
int64_t type. 0: idle; 1: busy.
Constraints
None
Example
1 2 | // Obtain the prefetch status. 0: idle; 1: busy. int64_t cachePreloadStatus = AscendC::GetICachePreloadStatus(); |
Parent topic: Cache Control