Intel® DPC++ Compatibility Tool Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Advanced Migration Options
The following tables list advanced options to control migrated source, generate reports, and query API mapping.
Options to Format Migrated Code
Option |
Description |
---|---|
--format-range=<value> |
Sets the range of formatting. The values are:
|
--format-style=<value> |
Sets the formatting style. The values are:
Example for the .clang-format file content:
|
Options to Specify Additional Migration Rules
Option |
Description |
---|---|
--rule-file=<file> |
Specifies the rule file path that contains rules used for migration. |
Options to Control SYCL Extensions and Experimental Features
Option |
Description |
---|---|
--no-dpcpp-extensions=<value> |
A comma-separated list of extensions not to be used in migrated code. By default, these extensions are used in migrated code. The values are:
|
--use-dpcpp-extensions=<value> |
A comma-separated list of extensions to be used in migrated code. By default, these extensions are not used in migrated code.
|
--use-experimental-features=<value> |
A comma-separated list of experimental features to be used in migrated code. By default, experimental features will not be used in migrated code. The values are:
|