本节汇总了 AI 引擎运行时参数 (RTP) 支持状态。
AI 引擎 RTP (往来 PS) |
输入 | 输出 | ||
---|---|---|---|---|
同步 | 异步 | 同步 | 异步 | |
标量 | 默认 | 受支持 | 受支持 | 默认 |
阵列 | 默认 | 受支持 | 受支持 | 默认 |
往来 PS 的 RTP 连接的代码片段:
connect<parameter>(fromPS, first.in[0]); //Synchronous RTP, default for input
connect<parameter>(fromPS, sync(first.in[0])); //Synchronous RTP
connect<parameter>(fromPS, async(first.in[0])); //Asynchronous RTP
connect<parameter>(second.inout[0], toPS); //Asynchronous RTP, default for output
connect<parameter>(async(second.inout[0]), toPS); //Asynchronous RTP
connect<parameter>(sync(second.inout[0]), toPS); //Synchronous RTP