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: scripts/YaML.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -621,12 +621,13 @@ class ur_name_t(Structure):
621
621
-`out` is used for params that are write-only; if the param is a pointer, then the memory being pointed to is also write-only
622
622
-`in,out` is used for params that are both read and write; typically this is used for pointers to other data structures that contain both read and write params
623
623
-`nocheck` is used to specify that no additional validation checks will be generated.
624
-
+`desc` may include one the following annotations: {`"[optional]"`, `"[range(start,end)]"`, `"[retain]"`, `"[release]"`, `"[typename(typeVarName)]"`, `"[bounds(offset,size)]"`}
624
+
+`desc` may include one or more of the following annotations: {`"[optional]"`, `"[range(start,end)]"`, `"[alloc]"`, `"[retain]"`, `"[release]"`, `"[typename(typeVarName)]"`, `"[bounds(offset,size)]"`}
625
625
-`optional` is used for params that are handles or pointers where it is legal for the value to be `nullptr`
626
626
-`range` is used for params that are array pointers to specify the valid range that the is valid to read
627
627
+`start` and `end` must be an ISO-C standard identifier or literal
628
628
+`start` is inclusive and `end` is exclusive
629
-
-`retain` is used for params that are handles or pointers to handles where the function will increment the reference counter associated with the handle(s).
629
+
-`alloc` is used for output params that are handles or pointers to handles where the function will either increase the reference count by one or create a new handle with an initial reference count of one.
630
+
-`retain` is used for params that are handles or pointers to handles where the function will increment the reference counter associated with the handle(s). The handle will not be created and must be valid.
630
631
-`release` is used for params that are handles or pointers to handles where the function will decrement the handle's reference count, potentially leaving it in an invalid state if the reference count reaches zero.
631
632
-`typename` is used to denote the type enum for params that are opaque pointers to values of tagged data types.
632
633
-`bounds` is used for params that are memory objects or USM allocations. It specifies the range within the memory allocation represented by the param that will be accessed by the operation.
Copy file name to clipboardexpand all lines: scripts/core/exp-bindless-images.yml
+8-8
Original file line number
Diff line number
Diff line change
@@ -429,7 +429,7 @@ params:
429
429
desc: "[in] pointer to image description"
430
430
- type: $x_exp_image_mem_native_handle_t*
431
431
name: phImageMem
432
-
desc: "[out] pointer to handle of image memory allocated"
432
+
desc: "[out][alloc] pointer to handle of image memory allocated"
433
433
returns:
434
434
- $X_RESULT_ERROR_INVALID_CONTEXT
435
435
- $X_RESULT_ERROR_INVALID_VALUE
@@ -484,7 +484,7 @@ params:
484
484
desc: "[in] pointer to image description"
485
485
- type: $x_exp_image_native_handle_t*
486
486
name: phImage
487
-
desc: "[out] pointer to handle of image object created"
487
+
desc: "[out][alloc] pointer to handle of image object created"
488
488
returns:
489
489
- $X_RESULT_ERROR_INVALID_CONTEXT
490
490
- $X_RESULT_ERROR_INVALID_VALUE
@@ -522,7 +522,7 @@ params:
522
522
desc: "[in] sampler to be used"
523
523
- type: $x_exp_image_native_handle_t*
524
524
name: phImage
525
-
desc: "[out] pointer to handle of image object created"
525
+
desc: "[out][alloc] pointer to handle of image object created"
526
526
returns:
527
527
- $X_RESULT_ERROR_INVALID_CONTEXT
528
528
- $X_RESULT_ERROR_INVALID_VALUE
@@ -583,7 +583,7 @@ params:
583
583
- type: $x_event_handle_t*
584
584
name: phEvent
585
585
desc: |
586
-
[out][optional] return an event object that identifies this particular command instance. If phEventWaitList and phEvent are not NULL, phEvent must not refer to an element of the phEventWaitList array.
586
+
[out][optional][alloc] return an event object that identifies this particular command instance. If phEventWaitList and phEvent are not NULL, phEvent must not refer to an element of the phEventWaitList array.
587
587
returns:
588
588
- $X_RESULT_ERROR_INVALID_QUEUE
589
589
- $X_RESULT_ERROR_INVALID_VALUE
@@ -699,7 +699,7 @@ params:
699
699
desc: "[in] the external memory descriptor"
700
700
- type: $x_exp_external_mem_handle_t*
701
701
name: phExternalMem
702
-
desc: "[out] external memory handle to the external memory"
702
+
desc: "[out][alloc] external memory handle to the external memory"
703
703
returns:
704
704
- $X_RESULT_ERROR_INVALID_CONTEXT
705
705
- $X_RESULT_ERROR_INVALID_VALUE
@@ -812,7 +812,7 @@ params:
812
812
desc: "[in] the external semaphore descriptor"
813
813
- type: $x_exp_external_semaphore_handle_t*
814
814
name: phExternalSemaphore
815
-
desc: "[out] external semaphore handle to the external semaphore"
815
+
desc: "[out][alloc] external semaphore handle to the external semaphore"
816
816
returns:
817
817
- $X_RESULT_ERROR_INVALID_CONTEXT
818
818
- $X_RESULT_ERROR_INVALID_VALUE
@@ -872,7 +872,7 @@ params:
872
872
- type: $x_event_handle_t*
873
873
name: phEvent
874
874
desc: |
875
-
[out][optional] return an event object that identifies this particular command instance. If phEventWaitList and phEvent are not NULL, phEvent must not refer to an element of the phEventWaitList array.
875
+
[out][optional][alloc] return an event object that identifies this particular command instance. If phEventWaitList and phEvent are not NULL, phEvent must not refer to an element of the phEventWaitList array.
876
876
returns:
877
877
- $X_RESULT_ERROR_INVALID_QUEUE
878
878
- $X_RESULT_ERROR_INVALID_VALUE
@@ -911,7 +911,7 @@ params:
911
911
- type: $x_event_handle_t*
912
912
name: phEvent
913
913
desc: |
914
-
[out][optional] return an event object that identifies this particular command instance. If phEventWaitList and phEvent are not NULL, phEvent must not refer to an element of the phEventWaitList array.
914
+
[out][optional][alloc] return an event object that identifies this particular command instance. If phEventWaitList and phEvent are not NULL, phEvent must not refer to an element of the phEventWaitList array.
Copy file name to clipboardexpand all lines: scripts/core/exp-command-buffer.yml
+25-25
Original file line number
Diff line number
Diff line change
@@ -285,7 +285,7 @@ params:
285
285
desc: "[in][optional] command-buffer descriptor."
286
286
- type: "$x_exp_command_buffer_handle_t*"
287
287
name: phCommandBuffer
288
-
desc: "[out] Pointer to command-Buffer handle."
288
+
desc: "[out][alloc] Pointer to command-Buffer handle."
289
289
returns:
290
290
- $X_RESULT_ERROR_INVALID_CONTEXT
291
291
- $X_RESULT_ERROR_INVALID_DEVICE
@@ -386,10 +386,10 @@ params:
386
386
desc: "[out][optional] Sync point associated with this command."
387
387
- type: $x_event_handle_t*
388
388
name: phEvent
389
-
desc: "[out][optional] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
389
+
desc: "[out][optional][alloc] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
390
390
- type: "$x_exp_command_buffer_command_handle_t*"
391
391
name: phCommand
392
-
desc: "[out][optional] Handle to this command. Only available if the
392
+
desc: "[out][optional][alloc] Handle to this command. Only available if the
393
393
command-buffer is updatable."
394
394
returns:
395
395
- $X_RESULT_ERROR_INVALID_COMMAND_BUFFER_EXP
@@ -451,10 +451,10 @@ params:
451
451
desc: "[out][optional] Sync point associated with this command."
452
452
- type: $x_event_handle_t*
453
453
name: phEvent
454
-
desc: "[out][optional] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
454
+
desc: "[out][optional][alloc] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
455
455
- type: "$x_exp_command_buffer_command_handle_t*"
456
456
name: phCommand
457
-
desc: "[out][optional] Handle to this command."
457
+
desc: "[out][optional][alloc] Handle to this command."
458
458
returns:
459
459
- $X_RESULT_ERROR_INVALID_COMMAND_BUFFER_EXP
460
460
- $X_RESULT_ERROR_INVALID_SIZE:
@@ -513,10 +513,10 @@ params:
513
513
desc: "[out][optional] sync point associated with this command."
514
514
- type: $x_event_handle_t*
515
515
name: phEvent
516
-
desc: "[out][optional] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
516
+
desc: "[out][optional][alloc] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
517
517
- type: "$x_exp_command_buffer_command_handle_t*"
518
518
name: phCommand
519
-
desc: "[out][optional] Handle to this command."
519
+
desc: "[out][optional][alloc] Handle to this command."
520
520
returns:
521
521
- $X_RESULT_ERROR_INVALID_COMMAND_BUFFER_EXP
522
522
- $X_RESULT_ERROR_INVALID_SIZE:
@@ -580,10 +580,10 @@ params:
580
580
desc: "[out][optional] Sync point associated with this command."
581
581
- type: $x_event_handle_t*
582
582
name: phEvent
583
-
desc: "[out][optional] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
583
+
desc: "[out][optional][alloc] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
584
584
- type: "$x_exp_command_buffer_command_handle_t*"
585
585
name: phCommand
586
-
desc: "[out][optional] Handle to this command."
586
+
desc: "[out][optional][alloc] Handle to this command."
desc: "[out][optional] Sync point associated with this command."
640
640
- type: $x_event_handle_t*
641
641
name: phEvent
642
-
desc: "[out][optional] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
642
+
desc: "[out][optional][alloc] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
643
643
- type: "$x_exp_command_buffer_command_handle_t*"
644
644
name: phCommand
645
-
desc: "[out][optional] Handle to this command."
645
+
desc: "[out][optional][alloc] Handle to this command."
desc: "[out][optional] Sync point associated with this command."
699
699
- type: $x_event_handle_t*
700
700
name: phEvent
701
-
desc: "[out][optional] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
701
+
desc: "[out][optional][alloc] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
702
702
- type: "$x_exp_command_buffer_command_handle_t*"
703
703
name: phCommand
704
-
desc: "[out][optional] Handle to this command."
704
+
desc: "[out][optional][alloc] Handle to this command."
desc: "[out][optional] Sync point associated with this command."
773
773
- type: $x_event_handle_t*
774
774
name: phEvent
775
-
desc: "[out][optional] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
775
+
desc: "[out][optional][alloc] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
776
776
- type: "$x_exp_command_buffer_command_handle_t*"
777
777
name: phCommand
778
-
desc: "[out][optional] Handle to this command."
778
+
desc: "[out][optional][alloc] Handle to this command."
desc: "[out][optional] Sync point associated with this command."
847
847
- type: $x_event_handle_t*
848
848
name: phEvent
849
-
desc: "[out][optional] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
849
+
desc: "[out][optional][alloc] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
850
850
- type: "$x_exp_command_buffer_command_handle_t*"
851
851
name: phCommand
852
-
desc: "[out][optional] Handle to this command."
852
+
desc: "[out][optional][alloc] Handle to this command."
desc: "[out][optional] sync point associated with this command."
983
983
- type: $x_event_handle_t*
984
984
name: phEvent
985
-
desc: "[out][optional] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
985
+
desc: "[out][optional][alloc] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
986
986
- type: "$x_exp_command_buffer_command_handle_t*"
987
987
name: phCommand
988
-
desc: "[out][optional] Handle to this command."
988
+
desc: "[out][optional][alloc] Handle to this command."
desc: "[out][optional] sync point associated with this command."
1044
1044
- type: $x_event_handle_t*
1045
1045
name: phEvent
1046
-
desc: "[out][optional] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
1046
+
desc: "[out][optional][alloc] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
1047
1047
- type: "$x_exp_command_buffer_command_handle_t*"
1048
1048
name: phCommand
1049
-
desc: "[out][optional] Handle to this command."
1049
+
desc: "[out][optional][alloc] Handle to this command."
desc: "[out][optional] sync point associated with this command."
1107
1107
- type: $x_event_handle_t*
1108
1108
name: phEvent
1109
-
desc: "[out][optional] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
1109
+
desc: "[out][optional][alloc] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
1110
1110
- type: "$x_exp_command_buffer_command_handle_t*"
1111
1111
name: phCommand
1112
-
desc: "[out][optional] Handle to this command."
1112
+
desc: "[out][optional][alloc] Handle to this command."
[out][optional] return an event object that identifies this particular command-buffer execution instance. If phEventWaitList and phEvent are not NULL, phEvent must not refer to an element of the phEventWaitList array.
1155
+
[out][optional][alloc] return an event object that identifies this particular command-buffer execution instance. If phEventWaitList and phEvent are not NULL, phEvent must not refer to an element of the phEventWaitList array.
1156
1156
returns:
1157
1157
- $X_RESULT_ERROR_INVALID_COMMAND_BUFFER_EXP
1158
1158
- $X_RESULT_ERROR_INVALID_QUEUE
@@ -1213,7 +1213,7 @@ params:
1213
1213
desc: "[in] Handle of the command-buffer command to update."
1214
1214
- type: "$x_event_handle_t*"
1215
1215
name: phSignalEvent
1216
-
desc: "[out] Event to be signaled."
1216
+
desc: "[out][alloc] Event to be signaled."
1217
1217
returns:
1218
1218
- $X_RESULT_ERROR_UNSUPPORTED_FEATURE:
1219
1219
- "If $X_DEVICE_COMMAND_BUFFER_UPDATE_CAPABILITY_FLAG_EVENTS is not supported by the device associated with `hCommand`."
Copy file name to clipboardexpand all lines: scripts/core/exp-cooperative-kernels.yml
+1-1
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ params:
55
55
- type: $x_event_handle_t*
56
56
name: phEvent
57
57
desc: |
58
-
[out][optional] return an event object that identifies this particular kernel execution instance. If phEventWaitList and phEvent are not NULL, phEvent must not refer to an element of the phEventWaitList array.
58
+
[out][optional][alloc] return an event object that identifies this particular kernel execution instance. If phEventWaitList and phEvent are not NULL, phEvent must not refer to an element of the phEventWaitList array.
Copy file name to clipboardexpand all lines: scripts/core/exp-launch-properties.yml
+1-1
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,7 @@ params:
111
111
desc: "[in][optional][range(0, numEventsInWaitList)] pointer to a list of events that must be complete before the kernel execution. If nullptr, the numEventsInWaitList must be 0, indicating that no wait event. "
112
112
- type: $x_event_handle_t*
113
113
name: phEvent
114
-
desc: "[out][optional] return an event object that identifies this particular kernel execution instance. If phEventWaitList and phEvent are not NULL, phEvent must not refer to an element of the phEventWaitList array."
114
+
desc: "[out][optional][alloc] return an event object that identifies this particular kernel execution instance. If phEventWaitList and phEvent are not NULL, phEvent must not refer to an element of the phEventWaitList array."
0 commit comments