Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
510 Views

Compiling and Linking Your Kernels or Object Files without Building Hardware (-rtl) which don't work !

when I use " aoc -rtl <your_kernel_filename1>.cl". it issue an error :

 

aoc: Running OpenCL parser....

error: unknown argument: '-rtl'

Error: OpenCL parser FAILED.

Refer to hello_world/hello_world.log for details.

 

 

0 Kudos
6 Replies
Highlighted
Valued Contributor II
52 Views

I would guess you are using an older version of the compiler in which the -rtl switch was not available. This switch was added in v18.0 or 18.1 (don't remember exactly).

0 Kudos
Highlighted
52 Views

Hi Caron,

 

May I know what version you are using?

 

Thanks.

 

0 Kudos
Highlighted
Beginner
52 Views

Hi , thank you for your response !

my version is :

 

Intel(R) FPGA SDK for OpenCL(TM), 64-Bit Offline Compiler

Version 17.1.1 Build 273

Copyright (C) 2017 Intel Corporation

 

Maybe it is the version's problem.. How can I update the version ?? thank you .

0 Kudos
Highlighted
Valued Contributor II
52 Views

Indeed the -rtl switch is not available on Quartus v17.1.x. You can download all versions of Quartus from here:

 

https://www.intel.com/content/www/us/en/programmable/downloads/download-center.html

 

However, you should make sure to use a version of Quartus that is compatible with the OpenCL BSP of your board. Consult the documents from your board manufacturer to determine what version of Quartus to use.

0 Kudos
Highlighted
Beginner
52 Views

Hello KhaiY_Intel,

 

I have the same issue with this version :

 

Intel(R) FPGA SDK for OpenCL(TM), 64-Bit Offline Compiler

Version 19.1.0 Build 670 Standard Edition

Copyright (C) 2019 Intel Corporation

 

I downloaded this version : https://fpgasoftware.intel.com/opencl/19.1/?edition=standard&download_manager=direct

 

and the associated documentation explain howt to use -rtl : https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/opencl-sdk/aocl_programm...

 

Do you knouw why have this error ?

 

Thank you

 

0 Kudos
Highlighted
52 Views

Hi MMATT35,

 

This forum thread has been transitioned to community support. Can you open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.

 

 

Best regards,

KhaiY

0 Kudos