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

```
typedef enum {
    ACL_RT_CNT_NOTIFY_RECORD_SET_VALUE_MODE = 0,      // 覆盖模式，CntNotify计数值 = value
    ACL_RT_CNT_NOTIFY_RECORD_ADD_MODE = 1,            // 累加模式，CntNotify计数值 = 当前值 + value
    ACL_RT_CNT_NOTIFY_RECORD_BIT_OR_MODE = 2,         // bit或模式，CntNotify计数值 = 当前值 | value
    ACL_RT_CNT_NOTIFY_RECORD_BIT_AND_MODE = 4,        // bit与模式，CntNotify计数值 = 当前值 & value
} aclrtCntNotifyRecordMode;
```
