Altera_Forum
Honored Contributor
11 years agoAOC compiler, Estimated Resource Usage report !!!!!!
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