Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

fsycl-instrument-device-code

Enables or disables linking of the Instrumentation and Tracing Technology (ITT) device libraries for VTune™.

Syntax

Linux:

-fsycl-instrument-device-code

-fno-sycl-instrument-device-code

Windows:

-fsycl-instrument-device-code

-fno-sycl-instrument-device-code

Arguments

None

Default

ON

The device libraries needed for Instrumentation and Tracing Technology (ITT) are enabled.

Description

This option enables or disables linking of the Instrumentation and Tracing Technology (ITT) device libraries for VTune™. This provides annotations to intercept various events inside kernels generated by Just in Time (JIT) compilation.

NOTE:

When using this option, you must also specify option -fsycl.

If you specify -fno-sycl-instrument-device-code, no linking occurs to the Instrumentation and Tracing Technology (ITT) device libraries.

For information about available SYCL drivers, refer to Invoke the Compiler.

NOTE:

When SYCL offloading is enabled, this option only applies to device-specific compilation.

IDE Equivalent

None

Alternate Options

None