Forum Discussion

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

OpenCL Initialization Error, Ver. 14.0.1.205

I have no problems building and running the vector addition example using Ver. 14.0 of the Altera OpenCL SDK (I'm running the Bittware s5phq). However, after installing the recent update (Ver. 14.0.1.205), I can still build the .aocx file with no errors:

Microsoft Windows [Version 6.1.7601]

>vcvars64.bat

>aoc -v -c vectorAdd.cl

aoc: Environment checks are completed successfully.

aoc: Selected target board s5phq_d5

aoc: Running OpenCL parser....

aoc: OpenCL parser completed successfully.

aoc: Compiling....

aoc: Linking with IP library ...

aoc: First stage compilation completed successfully.

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

>aoc -v vectorAdd.aoco -o vectorAdd_20140904.aocx

aoc: Environment checks are completed successfully.

aoc: Setting up project for CvP revision flow....

aoc: Hardware generation completed successfully.

But now I have new problems when attempting to run the example:

Initializing OpenCL

Platform: Altera SDK for OpenCL

Using 1 device(s)

s5phq_d5 : S5PHQ

Using AOCX: vectorAdd.aocx

MMD INFO : [acl0] New FPGA design has different periphery from programmed design.

MMD INFO : AOCX base and CvP periphery hashes differ. Programming will fail in hardware, so aborting.

MMD INFO : executing "quartus_pgm -c 1 -m jtag -o "P;reprogram_temp.sof@1""

'quartus_pgm' is not recognized as an internal or external command,

operable program or batch file.

'quartus_pgm' is not recognized as an internal or external command,

operable program or batch file.

'quartus_pgm' is not recognized as an internal or external command,

operable program or batch file.

MMD INFO : Link currently operating at 5 GT/s.

MMD INFO : Link operating at Gen 2 with 8 lanes.

MMD INFO : Expected peak bandwidth = 4000 MB/s

mmd program_device: Board reprogram failed

MMD FATAL: acl_pcie.cpp:59: can't find handle -1 -- aborting

What is all of this about? Anyone else have issues like this with the latest update installed?

Thanks!

3 Replies

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

    --- Quote Start ---

    Did you re-flash the board with an updated image?

    --- Quote End ---

    Hi Rudy, that's a great observation. I was under the impression that the latest Bittware top.rbf files were generated under 14.0 (not 14.0.1, but maybe I'm wrong on that). Anyway, now that I have a new top.rb file generated from the Vector Addition example using Ver. 14.0.1, I'll load that version, at least that is what I suspect might work based on your feedback. I'll let you know how it turns out.

    Thanks again!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Hi Rudy, that's a great observation. I was under the impression that the latest Bittware top.rbf files were generated under 14.0 (not 14.0.1, but maybe I'm wrong on that). Anyway, now that I have a new top.rb file generated from the Vector Addition example using Ver. 14.0.1, I'll load that version, at least that is what I suspect might work based on your feedback. I'll let you know how it turns out.

    Thanks again!

    --- Quote End ---

    Rudy - that did it! Thanks for catching my error.