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

ID 767253
Date 7/13/2023
Public

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

Document Table of Contents

Device Offload Compilation Considerations

SYCL compilation performs a compile that generates both host and target binaries for a single source file. The SYCL compilation flow generates file dependencies from the device compilation to the host compilation. These dependent files are considered to be integration files that are included in the host side compilation.

A file, called an integration footer, is added to the end of the original source file before being compiled. To accomplish this process, a new temporary source file is generated and is considered the host source file for the compilation. The file is a new source dependency and could break your build environments that track the generated files during a compilation. These build environments need to be configured in the SYCL space for the additional intermediate file to be part of the compilation flow.

The location of the additional file is generated in the common temporary file location, specified by the TMP then TEMP environment variables.