You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_include_files/options_def.rst
+26-11Lines changed: 26 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,6 @@ to be migrated. Default: the value of ``--in-root``.
27
27
28
28
29
29
30
-
31
-
32
30
.. _opt-assume-nd-range-dim:
33
31
34
32
``--assume-nd-range-dim=<value>``
@@ -587,7 +585,8 @@ Specify the type of migration report. Values are:
587
585
588
586
.. _desc-rule-file:
589
587
590
-
Specify the rule file path that contains rules used for migration.
588
+
Specify the rule file for migration. Also, reference the predefined rules in the
589
+
``extensions`` directory in the root folder of the tool.
591
590
592
591
.. _end-rule-file:
593
592
@@ -612,7 +611,7 @@ Stop migration and generation of reports if parsing errors happened. Default: ``
612
611
.. _desc-suppress-warnings:
613
612
614
613
A comma-separated list of migration warnings to suppress. Valid warning IDs
615
-
range from 1000 to 1132. Hyphen-separated ranges are also allowed. For
614
+
range from 1000 to 1136. Hyphen-separated ranges are also allowed. For
616
615
example: ``-suppress-warnings=1000-1010,1011``.
617
616
618
617
.. _end-suppress-warnings:
@@ -676,8 +675,10 @@ By default, experimental features will not be used in migrated code.
676
675
677
676
The values are:
678
677
679
-
- ``=bfloat16_math_functions``: Experimental extension that allows use of bfloat16 math functions. `See more details <https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_bfloat16_math_functions.asciidoc>`__.
680
-
- ``=bindless_images``: Experimental extension that allows use of bindless images APIs. `See more details <https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_bindless_images.asciidoc>`__.
678
+
- ``=bfloat16_math_functions``: Experimental extension that allows use of bfloat16 math
679
+
functions. `See more details <https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_bfloat16_math_functions.asciidoc>`__.
680
+
- ``=bindless_images``: Experimental extension that allows use of bindless images APIs.
681
+
`See more details <https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_bindless_images.asciidoc>`__.
681
682
- ``=dpl-experimental-api``: Experimental extension that allows use of experimental
682
683
oneDPL APIs. `See more details <https://github.com/oneapi-src/oneDPL/tree/main/include/oneapi/dpl/pstl/experimental>`__.
683
684
- ``=free-function-queries``: Experimental extension that allows getting
@@ -689,16 +690,29 @@ The values are:
689
690
group work-items. See more details in ``dpct::experimental::logical_group`` in header file ``util.hpp``.
690
691
- ``=masked-sub-group-operation``: Experimental helper function used to execute
691
692
sub-group operation with mask. See more details in ``dpct::experimental::select_from_sub_group``, ``dpct::experimental::shift_sub_group_left``, ``dpct::experimental::shift_sub_group_right`` and ``dpct::experimental::shift_sub_group_right`` in header file ``util.hpp``.
692
-
- ``=matrix``: Experimental extension that allows use of matrix extension like class ``joint_matrix``. `See more details <https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_matrix/sycl_ext_oneapi_matrix.asciidoc>`__.
693
-
- ``=nd_range_barrier``: DEPRECATED. Experimental helper function used to help cross-group synchronization during migration. Please use the following option instead: ``--use-experimental-features=root-group``
693
+
- ``=matrix``: Experimental extension that allows use of matrix extension like class
694
+
``joint_matrix``. `See more details <https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_matrix/sycl_ext_oneapi_matrix.asciidoc>`__.
695
+
- ``=nd_range_barrier``: DEPRECATED. Experimental helper function used to help cross-group
696
+
synchronization during migration. Please use the following option instead: ``--use-experimental-features=root-group``
694
697
- ``=root-group``: Experimental extension that allows use of root group class and relative API.
695
698
- ``=graph``: Experimental extension that allows use of SYCL Graph APIs.
696
-
- ``=occupancy-calculation``: Experimental helper function used to calculate occupancy. See more details in ``dpct::experimental::calculate_max_active_wg_per_xecore`` and ``dpct::experimental::calculate_max_potential_wg`` in header file ``util.hpp``.
699
+
- ``=occupancy-calculation``: Experimental helper function used to calculate occupancy. See more
700
+
details in ``dpct::experimental::calculate_max_active_wg_per_xecore`` and ``dpct::experimental::calculate_max_potential_wg`` in header file ``util.hpp``.
697
701
- ``=user-defined-reductions``: Experimental extension that allows user-defined
698
702
reductions. `See more details <https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_user_defined_reductions.asciidoc>`__.
699
-
- ``=non-uniform-groups``: Experimental extension that allows use of non-uniform groups. `See more details <https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_non_uniform_groups.asciidoc>`__.
700
-
- ``=device_global``: Experimental extension that allows device scoped memory allocations into SYCL that can
703
+
- ``=non-uniform-groups``: Experimental extension that allows use of non-uniform groups.
704
+
`See more details <https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_non_uniform_groups.asciidoc>`__.
705
+
- ``=device_global``: Experimental extension that allows device scoped memory allocations into
706
+
SYCL that can
701
707
be accessed within a kernel using syntax similar to C++ global variables. `See more details <https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_device_global.asciidoc>`__.
708
+
- ``=virtual_mem``: Experimental extension that allows for mapping of an address range
709
+
onto multiple allocations of physical memory.
710
+
- ``=in_order_queue_events``: Experimental extension that allows getting the event from
711
+
the last command submission into the queue and setting an external event as an implicit
712
+
dependence on the next command submitted to the queue.
713
+
- ``=non-standard-sycl-builtins``: Experimental extension that allows use of non standard
714
+
SYCL builtin functions.
715
+
- ``=prefetch``: Experimental extension that allows use of SYCL prefetch APIs.
702
716
- ``=all``: Enable all experimental extensions listed in this option.
703
717
704
718
.. _end-use-experimental-features:
@@ -882,6 +896,7 @@ Intercept build tool to generate a compilation database.
882
896
EXPERIMENTAL: Migrate build script(s).
883
897
884
898
- ``=CMake``: Migrate the CMake file(s).
899
+
- ``=Python``: Migrate the Python build script file(s) of PyTorch based project.
0 commit comments