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> |
Set the range of formatting. The values are:
|
--format-style=<value> |
Set the formatting style. The values are:
Example for the .clang-format file content:
|
Options to Specify Additional Migration Rules
Option |
Description |
---|---|
--rule-file=<file> |
Specify the rule file for migration. Also, reference the predefined rules in the extensions directory in the root folder of the tool. |
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:
|