已合并
【PR】: Correct product support annotations for IPC Event and IPC Notify interfaces in Ascend 950DT(UB) scenario #3278
【PR】: Correct product support annotations for IPC Event and IPC Notify interfaces in Ascend 950DT(UB) scenario #3278
已合并
rui创建于 7月1日
2 个文件变更+11-6
@@ -154,7 +154,7 @@ aclError aclrtCreateEventExWithFlag(aclrtEvent *event, uint32_t flag)
154| 参数名 | 输入/输出 | 说明 |154| 参数名 | 输入/输出 | 说明 |
155| --- | :---: | --- |155| --- | :---: | --- |
156| event | 输出 | Event的指针。类型定义请参见[aclrtEvent](25_数据类型及其操作接口.md#aclrtEvent)。 |156| event | 输出 | Event的指针。类型定义请参见[aclrtEvent](25_数据类型及其操作接口.md#aclrtEvent)。 |
157-| flag | 输入 | Event指针的flag。<br>当前支持将flag设置为如下宏:<br><br> - ACL_EVENT_TIME_LINE:使能该bit表示创建的Event需要记录时间戳信息。注意:使能时间戳功能会影响Event相关接口的性能。<br><br><br> - ACL_EVENT_SYNC:使能该bit表示创建的Event支持多Stream间的同步。<br> - ACL_EVENT_CAPTURE_STREAM_PROGRESS:使能该bit表示创建的Event用于跟踪stream的任务执行进度。<br> - ACL_EVENT_IPC:使能该bit表示创建的Event用于进程间通信,详细说明请参见[aclrtIpcGetEventHandle](#aclrtIpcGetEventHandle)。注意:该flag不支持与其他flag进行位或操作。本flag创建出来的Event不支持在以下接口或场景中使用:[aclrtResetEvent](#aclrtResetEvent)、[aclrtQueryEvent](#aclrtQueryEvent(废弃))、[aclrtQueryEventWaitStatus](#aclrtQueryEventWaitStatus)、[aclrtEventElapsedTime](#aclrtEventElapsedTime)、[aclrtEventGetTimestamp](#aclrtEventGetTimestamp)、[aclrtGetEventId](#aclrtGetEventId)、模型捕获场景(参见[aclmdlRICaptureBegin](15_模型运行实例管理.md#aclmdlRICaptureBegin)中的说明),否则返回报错。<br><br><br>宏的定义如下:<br>#define ACL_EVENT_TIME_LINE 0x00000008U<br>#define ACL_EVENT_SYNC 0x00000001U<br>#define ACL_EVENT_CAPTURE_STREAM_PROGRESS 0x00000002U<br>#define ACL_EVENT_IPC 0x00000040U |157+| flag | 输入 | Event指针的flag。<br>当前支持将flag设置为如下宏:<br><br> - ACL_EVENT_TIME_LINE:使能该bit表示创建的Event需要记录时间戳信息。注意:使能时间戳功能会影响Event相关接口的性能。<br><br><br> - ACL_EVENT_SYNC:使能该bit表示创建的Event支持多Stream间的同步。<br> - ACL_EVENT_CAPTURE_STREAM_PROGRESS:使能该bit表示创建的Event用于跟踪stream的任务执行进度。<br> - ACL_EVENT_IPC:使能该bit表示创建的Event用于进程间通信,详细说明请参见[aclrtIpcGetEventHandle](#aclrtIpcGetEventHandle)。注意:该flag不支持与其他flag进行位或操作。Ascend 950DT不支持使用本flag创建Event。本flag创建出来的Event不支持在以下接口或场景中使用:[aclrtResetEvent](#aclrtResetEvent)、[aclrtQueryEvent](#aclrtQueryEvent(废弃))、[aclrtQueryEventWaitStatus](#aclrtQueryEventWaitStatus)、[aclrtEventElapsedTime](#aclrtEventElapsedTime)、[aclrtEventGetTimestamp](#aclrtEventGetTimestamp)、[aclrtGetEventId](#aclrtGetEventId)、模型捕获场景(参见[aclmdlRICaptureBegin](15_模型运行实例管理.md#aclmdlRICaptureBegin)中的说明),否则返回报错。<br><br><br>宏的定义如下:<br>#define ACL_EVENT_TIME_LINE 0x00000008U<br>#define ACL_EVENT_SYNC 0x00000001U<br>#define ACL_EVENT_CAPTURE_STREAM_PROGRESS 0x00000002U<br>#define ACL_EVENT_IPC 0x00000040U |
158 158 
159### 返回值说明159### 返回值说明
160 160 
@@ -840,7 +840,8 @@ aclError aclrtIpcGetEventHandle(aclrtEvent event, aclrtIpcEventHandle *handle)
840 840 
841| 产品 | 是否支持 |841| 产品 | 是否支持 |
842| --- | :---: |842| --- | :---: |
843-| Ascend 950PR/Ascend 950DT | √ |843+| Ascend 950PR | √ |
844+| Ascend 950DT | ☓ |
844| Atlas A3 训练系列产品/Atlas A3 推理系列产品 | √ |845| Atlas A3 训练系列产品/Atlas A3 推理系列产品 | √ |
845| Atlas A2 训练系列产品/Atlas A2 推理系列产品 | √ |846| Atlas A2 训练系列产品/Atlas A2 推理系列产品 | √ |
846 847 
@@ -894,7 +895,8 @@ aclError aclrtIpcOpenEventHandle(aclrtIpcEventHandle handle, aclrtEvent *event)
894 895 
895| 产品 | 是否支持 |896| 产品 | 是否支持 |
896| --- | :---: |897| --- | :---: |
897-| Ascend 950PR/Ascend 950DT | √ |898+| Ascend 950PR | √ |
899+| Ascend 950DT | ☓ |
898| Atlas A3 训练系列产品/Atlas A3 推理系列产品 | √ |900| Atlas A3 训练系列产品/Atlas A3 推理系列产品 | √ |
899| Atlas A2 训练系列产品/Atlas A2 推理系列产品 | √ |901| Atlas A2 训练系列产品/Atlas A2 推理系列产品 | √ |
900 902 
@@ -283,7 +283,8 @@ aclError aclrtNotifyGetExportKey(aclrtNotify notify, char *key, size_t len, uint
283 283 
284| 产品 | 是否支持 |284| 产品 | 是否支持 |
285| --- | :---: |285| --- | :---: |
286-| Ascend 950PR/Ascend 950DT | √ |286+| Ascend 950PR | √ |
287+| Ascend 950DT | ☓ |
287| Atlas A3 训练系列产品/Atlas A3 推理系列产品 | √ |288| Atlas A3 训练系列产品/Atlas A3 推理系列产品 | √ |
288| Atlas A2 训练系列产品/Atlas A2 推理系列产品 | √ |289| Atlas A2 训练系列产品/Atlas A2 推理系列产品 | √ |
289 290 
@@ -354,7 +355,8 @@ aclError aclrtNotifySetImportPid(aclrtNotify notify, int32_t *pid, size_t num)
354 355 
355| 产品 | 是否支持 |356| 产品 | 是否支持 |
356| --- | :---: |357| --- | :---: |
357-| Ascend 950PR/Ascend 950DT | √ |358+| Ascend 950PR | √ |
359+| Ascend 950DT | ☓ |
358| Atlas A3 训练系列产品/Atlas A3 推理系列产品 | √ |360| Atlas A3 训练系列产品/Atlas A3 推理系列产品 | √ |
359| Atlas A2 训练系列产品/Atlas A2 推理系列产品 | √ |361| Atlas A2 训练系列产品/Atlas A2 推理系列产品 | √ |
360 362 
@@ -444,7 +446,8 @@ aclError aclrtNotifyImportByKey(aclrtNotify *notify, const char *key, uint64_t f
444 446 
445| 产品 | 是否支持 |447| 产品 | 是否支持 |
446| --- | :---: |448| --- | :---: |
447-| Ascend 950PR/Ascend 950DT | √ |449+| Ascend 950PR | √ |
450+| Ascend 950DT | ☓ |
448| Atlas A3 训练系列产品/Atlas A3 推理系列产品 | √ |451| Atlas A3 训练系列产品/Atlas A3 推理系列产品 | √ |
449| Atlas A2 训练系列产品/Atlas A2 推理系列产品 | √ |452| Atlas A2 训练系列产品/Atlas A2 推理系列产品 | √ |
450 453