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
Add new launch property to support work_group_scratch_memory
intel/llvm#15061 introduces a new property work_group_scratch_memory which allow the user to set a given amount of local memory to be used.
In order to pass this information to the adaptor, the patch adds a new launch property to urEnqueueKernelLaunchCustomExp.
The patch also changes the signature of urEnqueueKernelLaunchCustomExp to add global offset in order to maintain features when using this extension.
Signed-off-by: Victor Lomuller <[email protected]>
desc: "[in] number of dimensions, from 1 to 3, to specify the global and work-group work-items"
91
+
- type: "const size_t*"
92
+
name: pGlobalWorkOffset
93
+
desc: "[in] pointer to an array of workDim unsigned values that specify the offset used to calculate the global ID of a work-item"
85
94
- type: const size_t*
86
95
name: pGlobalWorkSize
87
96
desc: "[in] pointer to an array of workDim unsigned values that specify the number of global work-items in workDim that will execute the kernel function"
@@ -97,10 +106,10 @@ params:
97
106
- type: uint32_t
98
107
name: numEventsInWaitList
99
108
desc: "[in] size of the event wait list"
100
-
- type: const ur_event_handle_t*
109
+
- type: const $x_event_handle_t*
101
110
name: phEventWaitList
102
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. "
103
-
- type: ur_event_handle_t*
112
+
- type: $x_event_handle_t*
104
113
name: phEvent
105
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."
0 commit comments