昇腾社区首页
中文
注册
开发者
下载

SendNotify

产品支持情况

产品

是否支持

Atlas A3 训练系列产品 / Atlas A3 推理系列产品

Atlas A2 训练系列产品 / Atlas A2 推理系列产品

Atlas 200I/500 A2 推理产品

x

Atlas 推理系列产品

x

Atlas 训练系列产品

x

说明:针对 Atlas A2 训练系列产品 / Atlas A2 推理系列产品 ,仅支持Atlas 800I A2 推理服务器、Atlas 300I A2 推理卡、A200I A2 Box 异构组件。

函数功能

向远端engine发送Notify信息。

函数原型

Status SendNotify(const AscendString &remote_engine, const NotifyDesc &notify, int32_t timeout_in_millis = 1000)

参数说明

参数名称

输入/输出

取值说明

remote_engine

输入

远端AdxlEngine的唯一标识

notify

输入

需要发送的Notify内容。

内容中的name和notify_msg长度上限均为1024字符。

timeout_in_millis

输入

发送超时时间,单位ms。缺省值:1000

调用示例

返回值

  • SUCCESS:成功
  • 其他:失败

约束说明