Skip to content

Commit 91a8178

Browse files
committed
Update the option name
Signed-off-by: Chen, Sheng S <sheng.s.chen@intel.com>
1 parent 47e3ce4 commit 91a8178

5 files changed

Lines changed: 16 additions & 11 deletions

File tree

clang/include/clang/DPCT/DPCTOptions.inc

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -658,8 +658,12 @@ DPCT_ENUM_OPTION(
658658
int(DPCPPExtensionsDefaultEnabled::ExtDE_EnqueueBarrier),
659659
"Disable the enqueued barriers extension.", false),
660660
DPCT_OPTION_ENUM_VALUE(
661-
"free-function-queries", int(DPCPPExtensionsDefaultEnabled::ExtDE_FreeQueries),
662-
"Disable the free query extension.", false),
661+
"free-function-queries",
662+
int(DPCPPExtensionsDefaultEnabled::ExtDE_FreeQueries),
663+
"Disable the free function query experimental extension that "
664+
"allows getting 'id', 'item', 'nd_item', 'group', and 'sub_group' "
665+
"instances globally.",
666+
false),
663667
DPCT_OPTION_ENUM_VALUE(
664668
"peer_access", int(DPCPPExtensionsDefaultEnabled::ExtDE_PeerAccess),
665669
"Disable the peer access extension.", false),
@@ -728,7 +732,8 @@ DPCT_ENUM_OPTION(
728732
"free-function-queries", int(ExperimentalFeatures::Exp_FreeQueries),
729733
"DEPRECATED : Experimental extension that allows getting 'id', "
730734
"'item', 'nd_item', 'group', and\n"
731-
"'sub_group' instances globally. The free-function-queries will be enabled as default.",
735+
"'sub_group' instances globally. Deprecate this option as the "
736+
"feature is turned on by default.",
732737
false),
733738
DPCT_OPTION_ENUM_VALUE(
734739
"local-memory-kernel-scope-allocation",

clang/test/dpct/help_option_check/lin/help_advanced.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Advanced DPCT options
2424
=bfloat16 - Disable the SYCL extensions for bfloat16.
2525
=device_info - Disable the Intel extensions for device information, if supported by the compiler and the backend.
2626
=enqueued_barriers - Disable the enqueued barriers extension.
27-
=free-function-queries - Disable the free query extension.
27+
=free-function-queries - Disable the free function query experimental extension that allows getting 'id', 'item', 'nd_item', 'group', and 'sub_group' instances globally.
2828
=peer_access - Disable the peer access extension.
2929
=assert - Disable the assert extension.
3030
=queue_empty - Disable the queue empty extension.
@@ -43,7 +43,7 @@ Advanced DPCT options
4343
By default, experimental features will not be used in migrated code.
4444
The values are:
4545
=free-function-queries - DEPRECATED : Experimental extension that allows getting 'id', 'item', 'nd_item', 'group', and
46-
'sub_group' instances globally. The free-function-queries will be enabled as default.
46+
'sub_group' instances globally. Deprecate this option as the feature is turned on by default.
4747
=local-memory-kernel-scope-allocation - Experimental extension that allows allocation of local memory objects at the kernel
4848
functor scope
4949
=logical-group - Experimental helper function used to logically group work-items.

clang/test/dpct/help_option_check/lin/help_all.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ All DPCT options
8181
=bfloat16 - Disable the SYCL extensions for bfloat16.
8282
=device_info - Disable the Intel extensions for device information, if supported by the compiler and the backend.
8383
=enqueued_barriers - Disable the enqueued barriers extension.
84-
=free-function-queries - Disable the free query extension.
84+
=free-function-queries - Disable the free function query experimental extension that allows getting 'id', 'item', 'nd_item', 'group', and 'sub_group' instances globally.
8585
=peer_access - Disable the peer access extension.
8686
=assert - Disable the assert extension.
8787
=queue_empty - Disable the queue empty extension.
@@ -150,7 +150,7 @@ All DPCT options
150150
By default, experimental features will not be used in migrated code.
151151
The values are:
152152
=free-function-queries - DEPRECATED : Experimental extension that allows getting 'id', 'item', 'nd_item', 'group', and
153-
'sub_group' instances globally. The free-function-queries will be enabled as default.
153+
'sub_group' instances globally. Deprecate this option as the feature is turned on by default.
154154
=local-memory-kernel-scope-allocation - Experimental extension that allows allocation of local memory objects at the kernel
155155
functor scope
156156
=logical-group - Experimental helper function used to logically group work-items.

clang/test/dpct/help_option_check/win/help_advanced.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Advanced DPCT options
2424
=bfloat16 - Disable the SYCL extensions for bfloat16.
2525
=device_info - Disable the Intel extensions for device information, if supported by the compiler and the backend.
2626
=enqueued_barriers - Disable the enqueued barriers extension.
27-
=free-function-queries - Disable the free query extension.
27+
=free-function-queries - Disable the free function query experimental extension that allows getting 'id', 'item', 'nd_item', 'group', and 'sub_group' instances globally.
2828
=peer_access - Disable the peer access extension.
2929
=assert - Disable the assert extension.
3030
=queue_empty - Disable the queue empty extension.
@@ -43,7 +43,7 @@ Advanced DPCT options
4343
By default, experimental features will not be used in migrated code.
4444
The values are:
4545
=free-function-queries - DEPRECATED : Experimental extension that allows getting 'id', 'item', 'nd_item', 'group', and
46-
'sub_group' instances globally. The free-function-queries will be enabled as default.
46+
'sub_group' instances globally. Deprecate this option as the feature is turned on by default.
4747
=local-memory-kernel-scope-allocation - Experimental extension that allows allocation of local memory objects at the kernel
4848
functor scope
4949
=logical-group - Experimental helper function used to logically group work-items.

clang/test/dpct/help_option_check/win/help_all.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ All DPCT options
8080
=bfloat16 - Disable the SYCL extensions for bfloat16.
8181
=device_info - Disable the Intel extensions for device information, if supported by the compiler and the backend.
8282
=enqueued_barriers - Disable the enqueued barriers extension.
83-
=free-function-queries - Disable the free query extension.
83+
=free-function-queries - Disable the free function query experimental extension that allows getting 'id', 'item', 'nd_item', 'group', and 'sub_group' instances globally.
8484
=peer_access - Disable the peer access extension.
8585
=assert - Disable the assert extension.
8686
=queue_empty - Disable the queue empty extension.
@@ -149,7 +149,7 @@ All DPCT options
149149
By default, experimental features will not be used in migrated code.
150150
The values are:
151151
=free-function-queries - DEPRECATED : Experimental extension that allows getting 'id', 'item', 'nd_item', 'group', and
152-
'sub_group' instances globally. The free-function-queries will be enabled as default.
152+
'sub_group' instances globally. Deprecate this option as the feature is turned on by default.
153153
=local-memory-kernel-scope-allocation - Experimental extension that allows allocation of local memory objects at the kernel
154154
functor scope
155155
=logical-group - Experimental helper function used to logically group work-items.

0 commit comments

Comments
 (0)