- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm currently using the Arrow SocKit of Altera (http://www.altera.com/b/arrow-sockit.html). To do this, I'm using OpenCl instead of VHDL. Compiling the vectAdd example using the Alter Offline Compiler (AOC) was successfully completed without any errors. But, the point here is that I got an estimated resource usage which seems to me not efficient at all. +--------------------------------------------------------------------+ ; estimated resource usage summary ; +----------------------------------------+---------------------------+ ; resource + usage ; +----------------------------------------+---------------------------+ ; logic utilization ; 26% ; ; dedicated logic registers ; 9% ; ; memory blocks ; 24% ; ; dsp blocks ; 0% ; +----------------------------------------+---------------------------; aoc: first stage compilation completed successfully. aoc: setting up project for qxp preservation flow.... aoc: hardware generation completed successfully. the compiled kernel is the following: // acl kernel for adding two input vectors __kernel void vectoradd(__global const float *x, __global const float *y, __global float *restrict z) { // get index of the work item int index = get_global_id(0); // add the vector elements z[index] = x[index] + y[index]; } could any one please explain me why this small kernel requires all these resources ?
http://www.alteraforum.com/forum/attachment.php?attachmentid=9908&stc=1
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Those estimated resources include the board support package (all the interfaces and controllers needed to create an entire FPGA accelerator system) as well as your kernel. If you browse through some of the log files from your compilation you may find the resources for the kernel only, which on my system is very small. For such small designs the estimated resources are almost always dominated by the board support package.
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