CLLD(1) Standard Compute Layer (CL) Manual CLLD(1)
NAME
clld - CL program source and binary linker
SYNOPSIS
clld [options] [--cl-platform platform] [--cl-device device]
[--cl-source] [--cl-binary]
file...
DESCRIPTION
clld combines a number of CL program source and binary files and gener-
ates a linkable ELF file with special sections that may be linked into
an executable program or shared library and loaded at run-time.
clld generates thefollowing sections:
.clprgs CL program source table
.clprgb CL program binary table
.cltexts CL program source text
.cltextb CL program binary text
.clstrtab string table referenced by other sections
The resulting ELF file is linkable and may be combined with a stndard
linker such as ld to incorporate these CL-specific sections into a pro-
gram executable or shared libary or relocatable opject file.
The name of the output file generated by clld may be specified with -o
and if this option is not specified the default name "out_clld.o" is
used.
OPTIONS
--cl-device device
Marks the files that follow as targeting a specific /fIdevice/fP.
--cl-binary
The files that follow will be interpreted as CL source files.
This option may be used as many times as necessary.
--cl-platform platform
Marks the files that follow as targeting a specific /fIplat-
form/fP.
--cl-source
The files that follow will be interpreted as CL binary files.
This option may be used as many times as necessary.
-o filename
Use /fIfilename/fP as the name for the output file generated by
clld. If this option is not used the name "out_clld.o" is used
by default.
EXAMPLE
clld --cl-device ATI_RADEON_5850 --cl-platform AMD_GPU --cl-source
foo_kern.cl bar_kern.cl --cl-binary delta_kern.il -o my_prog_cl.o
AUTHOR
Written by David Richie.
REPORTING BUGS
Report bugs to <support@browndeertechnology.com>
COPYRIGHT
Copyright (C) 2009 Brown Deer Technology, LLC. Licensed under the GNU
Lesser General Public License version 3 (LGPLv3). There is NO WARRANTY
to the extent permitted by law.
SEE ALSO
stdcl(3), elf(5), ld(1), readelf(1)
libstdcl-0.7 2009-11-10 CLLD(1)