dpctl.SyclQueue.submit¶
- SyclQueue.submit(kernel, args, gS, lS=None, dEvents=None)¶
Submit
dpctl.program.SyclKernelfor execution.- Parameters:
kernel (dpctl.program.SyclKernel) – SYCL kernel object
args (List[object]) – List of kernel arguments
gS (List[int]) – Global iteration range. Must be a list of length 1, 2, or 3.
lS (List[int], optional) – Local iteration range. Must be
Noneor have the same length asgSand each element ofgSmust be divisible by respective element oflS.dEvents (List[dpctl.SyclEvent], optional) – List of events indicating ordering of this task relative to tasks associated with specified events.
- Returns:
An event which is always complete. May be ignored.
- Return type:
Note
dpctl.SyclQueue.submit()is a synchronizing method. Usedpctl.SyclQueue.submit_async()to avoid synchronization.