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
+31-3Lines changed: 31 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -612,7 +612,7 @@ Stop migration and generation of reports if parsing errors happened. Default: ``
612
612
.. _desc-suppress-warnings:
613
613
614
614
A comma-separated list of migration warnings to suppress. Valid warning IDs
615
-
range from 1000 to 1127. Hyphen-separated ranges are also allowed. For
615
+
range from 1000 to 1132. Hyphen-separated ranges are also allowed. For
616
616
example: ``-suppress-warnings=1000-1010,1011``.
617
617
618
618
.. _end-suppress-warnings:
@@ -690,7 +690,9 @@ The values are:
690
690
- ``=masked-sub-group-operation``: Experimental helper function used to execute
691
691
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
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``: Experimental helper function used to help cross-group synchronization during migration. See more details in ``dpct::experimental::nd_range_barrier`` in header file ``util.hpp``.
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``
694
+
- ``=root-group``: Experimental extension that allows use of root group class and relative API.
695
+
- ``=graph``: Experimental extension that allows use of SYCL Graph APIs.
694
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``.
695
697
- ``=user-defined-reductions``: Experimental extension that allows user-defined
696
698
reductions. `See more details <https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/experimental/sycl_ext_oneapi_user_defined_reductions.asciidoc>`__.
@@ -710,11 +712,12 @@ The values are:
710
712
.. _desc-use-explicit-namespace:
711
713
712
714
Define the namespaces to use explicitly in generated code. The value is
713
-
a comma-separated list. Default: ``dpct, sycl``.
715
+
a comma-separated list. Default: ``dpct/syclcompat, sycl``.
714
716
715
717
Possible values are:
716
718
717
719
- ``=dpct``: Generate code with ``dpct::`` namespace.
720
+
- ``=syclcompat``: Generate code with ``syclcompat::`` namespace.
718
721
- ``=none``: Generate code without any namespaces. Cannot be used with other values.
719
722
- ``=sycl``: Generate code with ``sycl::`` namespace. Cannot be used with ``cl``
720
723
or ``sycl-math`` values.
@@ -725,6 +728,18 @@ Possible values are:
725
728
726
729
727
730
731
+
.. _opt-use-syclcompat:
732
+
733
+
``--use-syclcompat``
734
+
735
+
.. _desc-use-syclcompat:
736
+
737
+
Use SYCLcompat header-only library (``syclcompat::`` namespace) to assist the migration of input source code. Default: ``off``.
738
+
739
+
.. _end-use-syclcompat:
740
+
741
+
742
+
728
743
.. _opt-usm-level:
729
744
730
745
``--usm-level=<value>``
@@ -739,6 +754,8 @@ Set the Unified Shared Memory (USM) level to use in source code generation:
739
754
740
755
.. _end-usm-level:
741
756
757
+
758
+
742
759
.. _opt-vcxprojfile:
743
760
744
761
``--vcxprojfile=<file>``
@@ -783,6 +800,7 @@ Same as -p.
783
800
.. _end-compilation-db:
784
801
785
802
803
+
786
804
.. _opt-gen-helper-func:
787
805
788
806
``--gen-helper-function``
@@ -794,6 +812,7 @@ Generate helper function files in the ``--out-root`` directory. Default: ``off``
794
812
.. _end-gen-helper-func:
795
813
796
814
815
+
797
816
.. _opt-analysis-mode:
798
817
799
818
``--analysis-mode``
@@ -805,6 +824,7 @@ Only generate a report for porting effort. Default: ``off``.
805
824
.. _end-analysis-mode:
806
825
807
826
827
+
808
828
.. _opt-analysis-mode-output-file:
809
829
810
830
``--analysis-mode-output-file``
@@ -816,6 +836,7 @@ Specify the file where the analysis mode report is saved. Default: Output to ``s
816
836
.. _end-analysis-mode-output-file:
817
837
818
838
839
+
819
840
.. _opt-codepin-report:
820
841
821
842
``--codepin-report``
@@ -826,6 +847,8 @@ Call ``codepin-report.py`` to generate CodePin report by parsing execution log f
826
847
827
848
.. _end-codepin-report:
828
849
850
+
851
+
829
852
.. _opt-enable-codepin:
830
853
831
854
``--enable-codepin``
@@ -837,6 +860,7 @@ EXPERIMENTAL: Generate instrumented CUDA and SYCL code for debug and verificatio
837
860
.. _end-enable-codepin:
838
861
839
862
863
+
840
864
.. _opt-intercept-build:
841
865
842
866
``--intercept-build``
@@ -848,6 +872,7 @@ Intercept build tool to generate a compilation database.
0 commit comments