UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

取消
显示结果 
搜索替代 
您的意思是: 
Observer willyeyeball
Observer
217 次查看
注册日期: ‎12-21-2018

SDAccel Emulation-SW 模式會由 ACCELERATOR Device 來運算 kernel 源代碼嗎 ?

Hi 您好 :

我編譯SDAccel專案時採用 Emulation-SW 模式,

請問執行時,

kernel 源代碼會由 accelerator device 硬體來執行嗎 ?

還是說如果要由 accelerator device 硬體來執行,

則要設為 System 模式呢 ?

Best Regards

willyeyeball

0 项奖励
4 条回复
Xilinx Employee
Xilinx Employee
214 次查看
注册日期: ‎07-17-2008

回复: SDAccel Emulation-SW 模式會由 ACCELERATOR Device 來運算 kernel 源代碼嗎 ?

不会。SW Emu只会在主机端执行host和kernel代码。

三种目标模式的具体描述,请参考UG1023,pg58,Build Targets章节内容。

http://www.xilinx.com/support/documentation/sw_manuals/xilinx2018_3/ug1023-sdaccel-user-guide.pdf

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 项奖励
Observer willyeyeball
Observer
187 次查看
注册日期: ‎12-21-2018

回复: SDAccel Emulation-SW 模式會由 ACCELERATOR Device 來運算 kernel 源代碼嗎 ?

Hi 您好 :

(1) Software Emulation :

For software emulation, both the host code and the kernel code are
compiled to run on the host x86 processor.

(2) Hardware Emulation:

During emulation kernels are
executed with a hardware simulator, but the rest of the system still uses a C simulator.

(3) System :

However, because the kernels will be
running on actual hardware, their execution times will be extremely fast.

 

所以  kernel 源代碼 真正在 accelerator device 硬體執行,

應該僅有在 System 模式, 對否 ?

另外,

要如何證明 kernel code 確實在 accelerator device 硬體執行 呢?

Best Regards

willyeyeball

 

0 项奖励
Xilinx Employee
Xilinx Employee
171 次查看
注册日期: ‎07-17-2008

回复: SDAccel Emulation-SW 模式會由 ACCELERATOR Device 來運算 kernel 源代碼嗎 ?

如果是需要下载到硬件执行,那么设置成System模式,前两种均为仿真模式。

在运行System Run之前,你要确认已在主机上正确安装了加速板卡,否则会报错。

例如,对于vcu1525,可参考其用户手册中的Board Installation部分。

http://www.xilinx.com/support/documentation/boards_and_kits/vcu1525/ug1268-vcu1525-reconfig-accel-platform.pdf

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 项奖励
Visitor willyeyem5
Visitor
115 次查看
注册日期: ‎12-18-2018

回复: SDAccel Emulation-SW 模式會由 ACCELERATOR Device 來運算 kernel 源代碼嗎 ?

Hi 您好 :

已知道, 謝謝您 !

Best Regards

willyeyeball

0 项奖励