[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/1.4 (AMD VEGA) architecture and it can generate AMD Catalyst OpenCL binaries and the GalliumCompute OpenCL binaries. It is compatible with GNU assembler and support the almost GNU assembler's pseudo-operations (directives) including macros and repetitions.

Invoking an assembler

The clrxasm can be invoked in following way:

clrxasm [-6Swam?] [-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] [--llvmVersion=VERSION] [--newROCmBinFormat] [--forceAddSymbols] [--noWarnings] [--alternate] [--buggyFPLit] [--oldModParam] [--noMacroCase] [--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:

Environment

Following environment variables impacts on assembler work:

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 the error messages to stderr.

}}}