- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Caron,
May I know what version you are using?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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_programming_guide.pdf
Do you knouw why have this error ?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page