Skip to content

Commit 16c5bc3

Browse files
authored
[SYCLomatic][DOC]2025.1 Migration Rules update (#2691)
1 parent f711f11 commit 16c5bc3

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

docs/dev_guide/migration/migration-rules.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Migration rules are specified in YAML files. A single rule file may contain mult
5656
- Required. Specifies the priority of the rule: ``Takeover`` > ``Default`` > ``Fallback``.
5757
When there are rule conflicts, the rule with higher priority will take precedence.
5858
* - Kind
59-
- ``Macro`` | ``API`` | ``Header`` | ``Type`` | ``Class`` | ``Enum`` | ``DisableAPIMigration`` | ``PatternRewriter`` | ``CMakeRule`` | ``PythonRule``
59+
- ``Macro`` | ``API`` | ``Header`` | ``Type`` | ``Class`` | ``Enum`` | ``DisableAPIMigration`` | ``PatternRewriter`` | ``CMakeRule`` | ``PythonRule`` | ``HelperFunction`` |
6060
- Required. Specifies the rule type.
6161
* - CmakeSyntax
6262
- String value
@@ -180,6 +180,11 @@ rule types. The behavior of each rule is explained in the corresponding comment:
180180
# is the user-defined name which is defined in "In".
181181
In: a # Match pattern "a" in ${args}
182182
Out: b # Replace the pattern string to "b" in ${args}
183+
- Rule: rule_default_queue
184+
Kind: HelperFunction
185+
Priority: Takeover
186+
In: get_in_order_queue # Replacing the helper function "get_in_order_queue" in the migrated code
187+
Out: getUserDefinedQueue() # with "getUserDefinedQueue()"
183188
... # [YAML syntax] End the document
184189
185190

0 commit comments

Comments
 (0)