Forum Discussion
Altera_Forum
Honored Contributor
8 years agohelloworld issue on arria10Gx development kit
Hi, I am trying to compile and run hello_world example of OpenCL SDK on Arria10Gx development board. Example fails to run with below error code. kindly check below steps and comment on any wrong...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Thanks for the response. I compiled helloworld example as per readme file. aoc -march=emulator device/hello_world.cl -o bin/hello_world.aocx -board=a10gx and ran host code by using "bin/host". Did I missed any device/target setting?? --- Quote End --- "-march=emulator" compiles for emulation. Are you trying to run the code on an actual board, or are you trying to emulate it? If you are trying to run on a board, you should remove "-march=emulator" from your command line.