cf4ocl (C Framework for OpenCL)  v2.1.0
Object-oriented framework for developing and benchmarking OpenCL projects in C/C++
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Utility for offline compilation and linking of OpenCL kernels.

SYNOPSIS

ccl_c [OPTION]...

DESCRIPTION

The ccl_c tool performs offline compilation and analysis of OpenCL kernels. Here is a list of the available options:

-l, –list
List available devices and exit.
-d, –device=DEV
Specify a device on which to perform the task.
-t, –task=TASK
0 (Build, default), 1 (Compile) or 2 (Link). Tasks 1 and 2 are only available for platforms with support for OpenCL 1.2 or higher.
-0, –options=OPTIONS
Compiler/linker options.
-s, –src=FILE
Source input files. This option can be specified multiple times.
-i, –input-headers=FILE
Embedded header input files for the compile task. This option can be specified multiple times.
-n, –header-include-names=STRING
Embedded header include names for the compile task. This option can be specified multiple times and has a one to one correspondence with –input-headers.
-b, –bin=FILE
Binary input file. This option can be specified multiple times.
-o, –output=FILE
Binary output file.
-k, –kernel-info=STRING
Show information about the specified kernel. This option can be specified multiple times.
-u, –build-log=FILE
Save build log to the specified file. By default the build log is printed to stderr.
–version
Output version information and exit.
-h, –help, -?
Show help options and exit.

AUTHOR

Written by Nuno Fachada.

REPORTING BUGS

COPYRIGHT

Copyright (C) 2016 Nuno Fachada
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.