---
title: GetICachePreloadStatus(ISASI)
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendcopapi/atlasascendc_api_07_0277.html
sourcePath: /source/zh/canncommercial/900/API/ascendcopapi/atlasascendc_api_07_0277.html
indexId: 141c445338c31e4bb65cc956227b3e4cc46f36482c62dc6a08afc2fd95f77f6e76
---
# GetICachePreloadStatus(ISASI)

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas 350 加速卡 | √ |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | √ |
| Atlas 200I/500 A2 推理产品 | x |
| Atlas 推理系列产品 AI Core | x |
| Atlas 推理系列产品 Vector Core | x |
| Atlas 训练系列产品 | x |


#### 功能说明

获取ICACHE的PreLoad的状态。


#### 函数原型

```
__aicore__ inline int64_t GetICachePreloadStatus()
```


#### 参数说明

无


#### 返回值说明

int64_t类型，0表示空闲，1表示忙。


#### 约束说明

无


#### 调用示例

```
// 获取预取状态，0-空闲，1-忙
int64_t cachePreloadStatus = AscendC::GetICachePreloadStatus();
```
