Skip to content

Commit 5e31e12

Browse files
committed
Replace urEnqueueKernelLaunch property list with pNext chain property structs
1 parent cf176de commit 5e31e12

38 files changed

+800
-462
lines changed

sycl/source/detail/scheduler/commands.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2545,7 +2545,6 @@ static ur_result_t SetKernelParamsAndLaunch(
25452545
Queue.getHandleRef(), Kernel, NDRDesc.Dims,
25462546
HasOffset ? &NDRDesc.GlobalOffset[0] : nullptr,
25472547
&NDRDesc.GlobalSize[0], LocalSize, UrArgs.size(), UrArgs.data(),
2548-
property_list.size(),
25492548
property_list.empty() ? nullptr : property_list.data(),
25502549
RawEvents.size(), RawEvents.empty() ? nullptr : &RawEvents[0],
25512550
OutEventImpl ? &UREvent : nullptr);

unified-runtime/examples/codegen/codegen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ int main() {
150150
const size_t lWorkSize[] = {1, 1, 1};
151151
ur_event_handle_t event;
152152
ur_check(urEnqueueKernelLaunch(queue, hKernel, 3, gWorkOffset, gWorkSize,
153-
lWorkSize, 0, nullptr, &event));
153+
lWorkSize, nullptr, &event));
154154

155155
ur_check(urEnqueueMemBufferRead(queue, dB, true, 0, a_size * sizeof(int),
156156
b.data, 1, &event, nullptr));

unified-runtime/include/ur_api.h

Lines changed: 94 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unified-runtime/include/ur_ddi.h

Lines changed: 5 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unified-runtime/include/ur_print.h

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)