Forum Discussion
empty report issue
We installed Intel Quartus 19.2 and Intel FPGA SDK for OpenCL version 19.4 for the D5005 acceleration card. When we tried to compile the example vectorAdd openCL kernel code with aoc -rtl vector_add.cl -report (or aoc -o vector_add.aocx vector_add.cl -report), we alway get empty report at vector_add/reports/report.html. Could you please advise?
Here is my running env
export QUARTUS_HOME="/opt/intelFPGA_pro/quartus_19.2.0b57/quartus"
export OPAE_PLATFORM_ROOT="/opt/intel/fpga-d5005/inteldevstack/d5005_ias_2_0_1_b237"
export AOCL_BOARD_PACKAGE_ROOT="/opt/intel/fpga-d5005/inteldevstack/d5005_ias_2_0_1_b237/opencl/opencl_bsp"
if ls /dev/intel-fpga-* 1> /dev/null 2>&1; then
if [ `id -u` = 0 ]; then
source $AOCL_BOARD_PACKAGE_ROOT/linux64/libexec/setup_permissions.sh >> /dev/null
fi
fi
OPAE_PLATFORM_BIN="/opt/intel/fpga-d5005/inteldevstack/d5005_ias_2_0_1_b237/bin"
if [[ ":${PATH}:" = *":${OPAE_PLATFORM_BIN}:"* ]] ;then
echo "\$OPAE_PLATFORM_ROOT/bin is in PATH already"
else
echo "Adding \$OPAE_PLATFORM_ROOT/bin to PATH"
export PATH="${PATH}":"${OPAE_PLATFORM_BIN}"
fi
export INTELFPGAOCLSDKROOT="/opt/intelFPGA_pro/19.4/hld"
export ALTERAOCLSDKROOT=$INTELFPGAOCLSDKROOT
export PAC_DMA_WORK_THREAD=yes
QUARTUS_BIN="/opt/intelFPGA_pro/quartus_19.2.0b57/quartus/bin"
if [[ ":${PATH}:" = *":${QUARTUS_BIN}:"* ]] ;then
echo "\$QUARTUS_HOME/bin is in PATH already"
else
echo "Adding \$QUARTUS_HOME/bin to PATH"
export PATH="${QUARTUS_BIN}":"${PATH}"
fi
source $INTELFPGAOCLSDKROOT/init_opencl.sh >> /dev/null
export QUARTUS_ROOTDIR_OVERRIDE="/opt/intelFPGA_pro/quartus_19.2.0b57/quartus"
5 Replies
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
Were you able to compile the kernel? Did you encounter any errors during compilation?
If yes, could you share them.
- beiwang2003
New Contributor
The compiling went through well, no compiling error. Thanks
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
Can you check if you have gotten your main sources renamed, which may have caused the issue?
There is a related discussion that might related to this issue:
https://community.intel.com/t5/Software-Archive/Empty-Optimization-Report/m-p/1148246