dataflow和pipeline验证情况

1 没有dataflow没有pipeline,无法并行

  • Performance & Resource Estimates:

PS: '+' for module; 'o' for loop; '*' for dataflow

+-----------------------------------------+------+------+---------+-----------+----------+---------+------+----------+------+----+-----------+-----------+-----+

| Modules | Issue| | Latency | Latency | Iteration| | Trip | | | | | | |

| & Loops | Type | Slack| (cycles)| (ns) | Latency | Interval| Count| Pipelined| BRAM | DSP| FF | LUT | URAM|

+-----------------------------------------+------+------+---------+-----------+----------+---------+------+----------+------+----+-----------+-----------+-----+

|+ kernel_core | -| 0.57| 410| 1.367e+03| -| 411| -| no| -| -| 336 (~0%)| 467 (~0%)| -|

| + kernel_core_Pipeline_VITIS_LOOP_33_1 | -| 1.33| 202| 673.266| -| 202| -| no| -| -| 93 (~0%)| 118 (~0%)| -|

| o VITIS_LOOP_33_1 | -| 2.43| 200| 666.600| 2| 1| 200| yes| -| -| -| -| -|

| + kernel_core_Pipeline_VITIS_LOOP_50_1 | -| 1.34| 202| 673.266| -| 202| -| no| -| -| 93 (~0%)| 94 (~0%)| -|

| o VITIS_LOOP_50_1 | -| 2.43| 200| 666.600| 2| 1| 200| yes| -| -| -| -| -|

+-----------------------------------------+------+------+---------+-----------+----------+---------+------+----------+------+----+-----------+-----------+-----+

2 有dataflow没有pipeline,可以并行

  • Performance & Resource Estimates:

PS: '+' for module; 'o' for loop; '*' for dataflow

+----------------------+------+------+---------+---------+----------+---------+------+----------+------+----+-----------+-----------+-----+

| Modules | Issue| | Latency | Latency | Iteration| | Trip | | | | | | |

| & Loops | Type | Slack| (cycles)| (ns) | Latency | Interval| Count| Pipelined| BRAM | DSP| FF | LUT | URAM|

+----------------------+------+------+---------+---------+----------+---------+------+----------+------+----+-----------+-----------+-----+

|+ kernel_core* | -| 0.59| 205| 683.265| -| 206| -| dataflow| -| -| 339 (~0%)| 473 (~0%)| -|

| + Block_entry1_proc | -| 0.59| 205| 683.265| -| 205| -| no| -| -| 230 (~0%)| 305 (~0%)| -|

| + send_pkt1_data | -| 1.33| 203| 676.599| -| 203| -| no| -| -| 96 (~0%)| 126 (~0%)| -|

| o VITIS_LOOP_33_1 | -| 2.43| 201| 669.933| 3| 1| 200| yes| -| -| -| -| -|

| + send_pkt2_data | -| 1.34| 203| 676.599| -| 203| -| no| -| -| 96 (~0%)| 102 (~0%)| -|

| o VITIS_LOOP_50_1 | -| 2.43| 201| 669.933| 3| 1| 200| yes| -| -| -| -| -|

+----------------------+------+------+---------+---------+----------+---------+------+----------+------+----+-----------+-----------+-----+

3 有pipeline(在循环内部,作用域循环体)没有dateflow,不能并行

  • Performance & Resource Estimates:

PS: '+' for module; 'o' for loop; '*' for dataflow

+-----------------------------------------+------+------+---------+-----------+----------+---------+------+----------+------+----+-----------+-----------+-----+

| Modules | Issue| | Latency | Latency | Iteration| | Trip | | | | | | |

| & Loops | Type | Slack| (cycles)| (ns) | Latency | Interval| Count| Pipelined| BRAM | DSP| FF | LUT | URAM|

+-----------------------------------------+------+------+---------+-----------+----------+---------+------+----------+------+----+-----------+-----------+-----+

|+ kernel_core | -| 0.57| 410| 1.367e+03| -| 411| -| no| -| -| 336 (~0%)| 467 (~0%)| -|

| + kernel_core_Pipeline_VITIS_LOOP_33_1 | -| 1.33| 202| 673.266| -| 202| -| no| -| -| 93 (~0%)| 118 (~0%)| -|

| o VITIS_LOOP_33_1 | -| 2.43| 200| 666.600| 2| 1| 200| yes| -| -| -| -| -|

| + kernel_core_Pipeline_VITIS_LOOP_50_1 | -| 1.34| 202| 673.266| -| 202| -| no| -| -| 93 (~0%)| 94 (~0%)| -|

| o VITIS_LOOP_50_1 | -| 2.43| 200| 666.600| 2| 1| 200| yes| -| -| -| -| -|

+-----------------------------------------+------+------+---------+-----------+----------+---------+------+----------+------+----+-----------+-----------+-----+

4 有pipeline(在循环外部,作用域整个函数)没有dataflow,可以并行

  • Performance & Resource Estimates:

PS: '+' for module; 'o' for loop; '*' for dataflow

+-------------------+------+------+---------+---------+----------+---------+------+----------+------+----+------------+------------+-----+

| Modules | Issue| | Latency | Latency | Iteration| | Trip | | | | | | |

| & Loops | Type | Slack| (cycles)| (ns) | Latency | Interval| Count| Pipelined| BRAM | DSP| FF | LUT | URAM|

+-------------------+------+------+---------+---------+----------+---------+------+----------+------+----+------------+------------+-----+

|+ kernel_core | -| 0.57| 203| 676.599| -| 204| -| no| -| -| 1774 (~0%)| 13261 (1%)| -|

| + send_pkt1_data | II| 1.45| 201| 669.933| -| 200| -| yes| -| -| 745 (~0%)| 8154 (~0%)| -|

| + send_pkt2_data | II| 2.43| 201| 669.933| -| 200| -| yes| -| -| 682 (~0%)| 3770 (~0%)| -|

+-------------------+------+------+---------+---------+----------+---------+------+----------+------+----+------------+------------+-----+

基于上述验证,使用dataflow可以做到并行;对需要并行的函数使用pipeline也可以做到并行;如果两个都有肯定可以并行;如果两个都没有肯定不行

相关推荐
Christal_pyy21 分钟前
树莓派4基于Debian GNU/Linux 12 (Bookworm)添加多个静态ipv4网络
linux·网络·debian
csbDD1 小时前
2025年网络安全(黑客技术)三个月自学手册
linux·网络·python·安全·web安全
李狗蛋儿啊1 小时前
zero自动化框架搭建---Git安装详解
运维·git·自动化
小金的学习笔记2 小时前
如何在本地和服务器新建mysql用户和密码
运维·服务器·mysql
s_fox_2 小时前
nginx ngx_http_module(7) 指令详解
运维·nginx·http
EasyNVR2 小时前
EasyRTC智能硬件:实时畅联、沉浸互动、消音护航
运维·服务器·网络·安全·音视频·webrtc·p2p
CarryBest3 小时前
Jenkins 环境搭建---基于 Docker
运维·jenkins
若云止水3 小时前
Ubuntu 下 nginx-1.24.0 源码分析 - ngx_process_options
运维·nginx
s_fox_3 小时前
nginx ngx_http_module(9) 指令详解
运维·nginx·http
风口上的猪20153 小时前
thingboard告警信息格式美化
java·服务器·前端