《运行DE10-Pro OpenCL 报错 》

From Terasic Wiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
'''运行DE10-Pro OpenCL 报错 " Program was complied for different board-aocx is for board s10_sh2e1_4Gx2 whereas device is s10_sh2e1" '''
+
'''运行DE10-Pro OpenCL 19.1 报错 " Program was complied for different board-aocx is for board s10_sh2e1_4Gx2 whereas device is s10_sh2e1" '''
[[File:Error_s10_sh2e1.jpg]]
[[File:Error_s10_sh2e1.jpg]]
'''解决方法:将vector_add编译出来的top.sof替换DE10_Pro_OpenCL_BSP_19.1\de10_pro\bringup\s10_sh2e1_4Gx2里面的top.sof文件,然后重新配置(用bring up 重新烧写或固化)即可,需重新编译hello_world,替换bringup\s10_sh2e1_4Gx2下的hello_world.aocx。
'''解决方法:将vector_add编译出来的top.sof替换DE10_Pro_OpenCL_BSP_19.1\de10_pro\bringup\s10_sh2e1_4Gx2里面的top.sof文件,然后重新配置(用bring up 重新烧写或固化)即可,需重新编译hello_world,替换bringup\s10_sh2e1_4Gx2下的hello_world.aocx。

Revision as of 16:57, 12 August 2019

运行DE10-Pro OpenCL 19.1 报错 " Program was complied for different board-aocx is for board s10_sh2e1_4Gx2 whereas device is s10_sh2e1"

Error s10 sh2e1.jpg

解决方法:将vector_add编译出来的top.sof替换DE10_Pro_OpenCL_BSP_19.1\de10_pro\bringup\s10_sh2e1_4Gx2里面的top.sof文件,然后重新配置(用bring up 重新烧写或固化)即可,需重新编译hello_world,替换bringup\s10_sh2e1_4Gx2下的hello_world.aocx。