- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi -- I'm trying to run the hello_world example from http://www.terasic.com.tw/attachment...opencl_v02.pdf (http://www.terasic.com.tw/attachment/archive/836/de1soc_opencl_v02.pdf)
However when I type 'aoc program hello_world.aocx' it throws following error: aocl program: Running reprogram from /home/root/opencl_arm32_rte/board/c5soc/arm32/bin Couldn't open /dev/ac10 device! Did you load the driver? aocl program: Program failed. https://alteraforum.com/forum/attachment.php?attachmentid=13572&stc=1 But I can find the driver in that folder. Initializing OpenCL Platform: Altera SDK for OpenCL Using 1 device(s) de1soc_sharedonly : Cyclone V SoC Development Kit Using AOCX: vectorAdd.aocx ERROR: can't load drive Failed programLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Moving to the OpenCL forum so that the right people see this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@moningWYL, did you read terasic's opencl manual (http://www.terasic.com.tw/attachment/archive/836/de1soc_opencl_v02.pdf)? It has step-by-step instructions as to how you can run the hello_world and vector_add examples. You probably didn't run the "source ./init_opencl.sh" command to set up the environment and load the kernel driver.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes ,I read it,and I run the vector_add examples following DE1SOC_OpenCL_v02.pdf.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page