Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Missing report after change to AOCL version 14.0

Hi all,

after changing from version 13.1 to 14.0 the aoc optmization report is missing.

Only the resource usage is given back with the paramter --report.

aoc --report -c -v -g test.cl

aoc: Environment checks are completed successfully.

aoc: Selected target board pcie385n_a7

aoc: Running OpenCL parser....

aoc: OpenCL parser completed successfully.

aoc: Compiling....

aoc: Linking with IP library ...

+--------------------------------------------------------------------+

; Estimated Resource Usage Summary ;

+----------------------------------------+---------------------------+

; Resource + Usage ;

+----------------------------------------+---------------------------+

; Logic utilization ; 19% ;

; Dedicated logic registers ; 8% ;

; Memory blocks ; 18% ;

; DSP blocks ; 0% ;

+----------------------------------------+---------------------------;

aoc: First stage compilation completed successfully.

aoc: To compile this project, run "aoc test.aoco"

To make shure that it is not dependant on the kernel code I also used the example from the Best Practices Guide Page 1-31.

But it is the same with arbitrary code.# define N 128

__kernel void unoptimized (__global int * restrict A,

__global int * restrict B,

__global int* restrict result)

{

int sum = 0;

for (unsigned i = 0; i < N; i++) {

for (unsigned j = 0; j < N; j++) {

sum += A[i*N+j];

}

sum += B[i];

}

* result = sum;

}

Can you help me?

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The opt report is not printed to the screen, but can be found in the log file.