Visible to Intel only — GUID: syd1521053503740
Ixiasoft
Visible to Intel only — GUID: syd1521053503740
Ixiasoft
12.1.9. OpenCL Library Command-Line Options
Command Option | Description |
---|---|
-shared | In conjunction with the -c command option, compiles an OpenCL source file into an object file (.aoco) that you can then include into a library. aoc -c -shared <OpenCL source file name>.cl -o <OpenCL object file name>.aoco |
-I=<library_directory> | Adds <library directory> to the header file search path. aocl -I <library_header_file_directory> -l <library_file_name>.aoclib <kernel_file_name>.cl |
-L=<library directory> | Adds <library directory> to the OpenCL library search path. Space after "-L" is optional. aoc -l=<library_file_name>.aoclib [-L=<library directory>] <kernel file name>.cl |
-l=<library_file_name>.aoclib | Specifies the OpenCL library file ( <library_file_name>.aoclib). Space after -l is optional. aoc -l=<library_file_name>.aoclib [-L=<library directory>] <kernel file name>.cl |
-library-debug | Generates debug output that relates to libraries. Part of the additional output appears in stdout, the other part appears in the <kernel_file_name>/<kernel_file_name>.log file. aoc -l=<library_file_name>.aoclib -library-debug <kernel_file_name>.cl |
Command Option | Description |
---|---|
hdl-comp-pkg <XML_specification_ file>.xml | Packages a single HDL component into a .aoco file that you then include into a library. Invoking this command option is similar to invoking aoc -c <XML_specification_file>.xml. However, the processing time is faster because the aocl utility will not perform any environment checks. aocl library hdl-comp-pkg <XML_specification_ file>.xml -o <output_file>.aoco |
-c <XML_specification_ file>.xml | Same function as hdl-comp-pkg <XML_specification_ file>.xml. aocl library -c <XML_specification_ file>.xml |
create | Creates a library file from the .aoco files that you created by invoking the hdl-comp-pkg utility option or the aoc -shared command, and any other .aoclib libraries. aocl library create [-name <library_name>] [-vendor <library_vendor>] [-version <library_version>] [-o <output_file>.aoclib] [.aoco...] [.aoclib...] where -name, -vendor, and -version are optional information strings you can specify and add to the library. |
list <library_name> | Lists all the RTL components in the library. Currently, this option is not available for use to list OpenCL functions. aocl library list <library_name> |
help | Prints the list of Intel® FPGA SDK for OpenCL™ library utility options and their descriptions on screen. aocl library help |