[wiki:ClrxToc Back to Table of content] {{{ #!html

CLRadeonExtender Assembler

This is CLRadeonExtender assembler. This assembler can assemble code for all Radeon GPU's that based on the GCN1.0/1.1/1.2 architecture and it can generate AMD Catalyst OpenCL binaries and the GalliumCompute OpenCL binaries. It is compatible with GNU as and support the almost GNU as pseudo-operations (directives) including macros and repetitions.

Invoking an assembler

the clrxasm can be invoked in following way:

clrxasm [-6Sw?] [-D SYM[=VALUE]] [-I PATH] [-o OUTFILE] [-b BINFORMAT] [-g GPUDEVICE] [-A ARCH] [-t VERSION] [--defsym=SYM[=VALUE]] [--includePath=PATH] [--output OUTFILE] [--binaryFormat=BINFORMAT] [--64bit] [--gpuType=GPUDEVICE] [--arch=ARCH] [--driverVersion=VERSION] [--forceAddSymbols] [--noWarnings] [--help] [--usage] [--version] [file...]

Input

An assembler read source from many files. If no input file specified an assembler will read source from standard input.

Program options

Following options clrxasm can recognize:

Output

An assembler generates single output binary. If no output specified an assembler will generate a.out binary file. clrxasm returns 0 if succeeded, otherwise it returns 1 and prints an error messages to stderr.

}}}