---
title: aclrtCmoType
description: "```"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/runtimeapi/aclcppdevg_03_1410.html
sourcePath: /source/zh/canncommercial/900/API/runtimeapi/aclcppdevg_03_1410.html
indexId: d85ecb4132cae97ae94191137e4507912266aab8d57ec74724174c60935edd1268
---
# aclrtCmoType

```
typedef enum aclrtCmoType {
    ACL_RT_CMO_TYPE_PREFETCH = 0,     // 内存预取，从内存预取到Cache
    ACL_RT_CMO_TYPE_WRITEBACK,        // 把Cache中的数据刷新到内存中，并在Cache中保留副本
    ACL_RT_CMO_TYPE_INVALID,          // 丢弃Cache中的数据
    ACL_RT_CMO_TYPE_FLUSH,            // 把Cache中的数据刷新到内存中，不保留Cache中的副本
} aclrtCmoType;
```
