Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

OpenCL + Cyclone V SoC

$
0
0
Hello,

Whilst I have lots of experience with embedded ARM C/Linux I'm new to FPGAs and new to OpenCL. I have a SoCKit plus some no doubt dumb questions:

1. It seems C2H is no longer supported, so OpenCL is currently the best option for coding in a high(ish) level language. Have I understood that correctly?

2. I've seen the Cyclone V SoC ray tracing video on YouTube, but cannot find any example source anywhere. Am I missing something?

3. I have downloaded the OpenCL "Hello World" example, but I don't have a Nallatech board. My dev box runs Scientific Linux 6.4, and I have installed Quartus II web edition + OpenCL. My altera/13.1/hld/board contains a "c5soc" section, which sounds like what I need, but....

4. [jim@development hello_world]$ aoc --list-boards
Board list:
pcie385n_a7
pcie385n_d5

5. [jim@development device]$ aoc hello_world.cl --board pcie385n_a7
Error: aoc: Can't find a valid license for the Altera SDK for OpenCL

6. [jim@development device]$ aoc hello_world.cl --board c5soc
Error: No board_spec.xml found for board 'c5soc' (/home/jim/altera/13.1/hld/board/pcie385n/hardware/c5soc/board_spec.xml).

7. [jim@development device]$ aoc hello_world.cl --board s5phq_d8
Error: No board_spec.xml found for board 's5phq_d8' (/home/jim/altera/13.1/hld/board/pcie385n/hardware/s5phq_d8/board_spec.xml).

What should I try next? To start with it seems as though aoc is hard coded to only know about the Nallatech Stratix V board. How can I get over that hurdle?

Thanks,

Jim

Viewing all articles
Browse latest Browse all 19390

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>