Predefined Environment Variables

Standard C++ predefined environment variables are supported by the compiler. In addition, the SYCL* Specification defines the SYCL specific predefined environment variables.

The following predefined environment variables are supported by the compiler.

Directive

Description

SYCL_DUMP_IMAGES

If true, instructs runtime to dump the device image

SYCL_USE_KERNEL_SPV=<device binary>

Employ device binary to fulfill kernel launch request

SYCL_PROGRAM_BUILD_OPTIONS

Used to pass additional options for device program building.