OS Manuals

/usr/lib/llvm-21/bin/clang-sycl-linker

C language family frontend for LLVM 21

From clang-21 21.1.8-r17 (os), captured 2026-11-05 by running clang-sycl-linker --help (exit 0). permalink

OVERVIEW: A utility that wraps around several steps required to link SYCL device files.
This enables LLVM IR linking, post-linking and code generation for SYCL targets.

USAGE: clang-sycl-linker [options] <options to sycl link steps>

OPTIONS:
  --arch=<arch>           The device architecture
  --device-libs=<value>   A comma separated list of device libraries that are linked during the device link.
  --dry-run               Print generated commands without running.
  -help-hidden            Display all available options
  -help                   Display available options (--help-hidden for more)
  --ocloc-options=<value> Options passed to ocloc for Intel GPU AOT compilation
  --opencl-aot-options=<value>
                          Options passed to opencl-aot for Intel CPU AOT compilation
  -o <path>               Path to file to write output
  --print-linked-module   Print the linked module's IR for testing
  --save-temps            Save intermediate results
  --spirv-dump-device-code=<value>
                          Path to the folder where the tool dumps SPIR-V device code. Other formats aren't dumped.
  --triple=<triple>       The device target triple
  --version               Display the version number and exit
  -v                      Print verbose information
Options (13)
OptionDescriptionSource
--arch archThe device architecturehelp
--device-libs valueA comma separated list of device libraries that are linked during the device link.help
--dry-runPrint generated commands without running.help
-help-hiddenDisplay all available optionshelp
-helpDisplay available options (--help-hidden for more)help
--opencl-aot-options valueOptions passed to opencl-aot for Intel CPU AOT compilationhelp
-o pathPath to file to write outputhelp
--print-linked-modulePrint the linked module's IR for testinghelp
--save-tempsSave intermediate resultshelp
--spirv-dump-device-code valuePath to the folder where the tool dumps SPIR-V device code.help
--triple tripleThe device target triplehelp
--versionDisplay the version number and exithelp
-vPrint verbose informationhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.