Code Generation Options#
The following table lists command line options to customize how your code is migrated.
Option |
Description |
---|---|
|
Use async exception handler when creating new |
|
Provide a hint to the tool on the dimensionality of nd_range to use in generated code. The values are:
|
|
Limit extension change to |
|
Enable detection and warnings about Unicode constructs that can be exploited by
using bi-directional formatting codes and homoglyphs in identifiers. Default: |
|
Insert comments explaining the generated code. Default: |
|
Use a C++17 class template argument deduction (CTAD) in your generated code. |
|
Enable SYCL* queue profiling in helper functions. Default: |
|
Generate helper function files in the |
|
The preference of helper function usage in migration. Value:
|
|
Keep the original code in the comments of generated SYCL files. Default: |
|
Do not use a Don’t Repeat Yourself (DRY) pattern when functions from the
|
|
Generate SYCL code applying more aggressive assumptions that
potentially may alter the semantics of your program. Default: |
|
Generate kernels with the kernel name. Default: |
|
Define the namespaces to use explicitly in generated code. The value is
a comma-separated list. Default: Possible values are:
|
|
Set the Unified Shared Memory (USM) level to use in source code generation:
|
|
EXPERIMENTAL: Generate instrumented CUDA and SYCL code for debug and verification purposes in the directory |