分享

Intel Acceleration Stack快速入门指南: Intel FPGA Programmable Acceleration Card D5005

 pterodactyl2007 2021-06-21
sudo fpgasupdate $OPAE_PLATFORM_ROOT/hw/samples/nlb_mode_3/bin/nlb_mode_3_unsigned.gbs

如果您需要在多卡系统中针对一个特定的 Intel® FPGA PAC,那么fpgasupdate工具接受PCIe B:D:F。

在下面命令中将PCIe B:D:F值替换成相应值:

$ fpgadiag -B 0x82 -D 0x00 -F 0x00 --mode=read --read-vc=vh0 --write-vc=vh0 --multi-cl=4 --begin=1024 --end=1024 --timeout-sec=5 --cont
Cachelines Read_Count Write_Count Cache_Rd_Hit Cache_Wr_Hit Cache_Rd_Miss 
      1024  888206752           0            0            0             0 

Cache_Wr_Miss   Eviction 'Clocks(@250 MHz)'   Rd_Bandwidth   Wr_Bandwidth
            0          0       1250013605      11.369 GB/s     0.000 GB/s

VH0_Rd_Count VH0_Wr_Count VH1_Rd_Count VH1_Wr_Count VL0_Rd_Count 
   888206756            1            0            0            0  

VL0_Wr_Count
          0
$ fpgadiag -B 0x82 -D 0x00 -F 0x00 --mode=write --read-vc=vh0 --write-vc=vh0 --multi-cl=4 --begin=1024 --end=1024 --timeout-sec=5 --cont
Cachelines Read_Count Write_Count Cache_Rd_Hit Cache_Wr_Hit Cache_Rd_Miss 
      1024          0  1000011208            0            0             0 

Cache_Wr_Miss   Eviction 'Clocks(@250 MHz)'   Rd_Bandwidth   Wr_Bandwidth
            0          0       1250014578       0.000 GB/s    12.800 GB/s

VH0_Rd_Count VH0_Wr_Count VH1_Rd_Count VH1_Wr_Count VL0_Rd_Count 
           0   1000011209            0            0            0 

VL0_Wr_Count
          0
$ fpgadiag -B 0x82 -D 0x00 -F 0x00 --mode=trput --read-vc=vh0 --write-vc=vh0 --multi-cl=4 --begin=1024 --end=1024 --timeout-sec=5 --cont
Cachelines Read_Count Write_Count Cache_Rd_Hit Cache_Wr_Hit Cache_Rd_Miss 
      1024  812096892   836718216            0            0             0 

Cache_Wr_Miss   Eviction 'Clocks(@250 MHz)'   Rd_Bandwidth   Wr_Bandwidth
            0          0       1250012621      10.395 GB/s    10.710 GB/s

VH0_Rd_Count VH0_Wr_Count VH1_Rd_Count VH1_Wr_Count VL0_Rd_Count
   812096892    836718217            0            0            0 

VL0_Wr_Count
          0
关于详细信息,请参考fpgadiag工具。 

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多