Skip to content

Commit 82ba74b

Browse files
[SYCL][NFC] Fix build with clang (#17628)
This is a cherry-pick of #16264 and #16268 Patch-by: Victor Lomuller <[email protected]> Co-authored-by: Nick Sarnie <[email protected]>
1 parent cba981a commit 82ba74b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/scheduler/commands.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2509,7 +2509,7 @@ static ur_result_t SetKernelParamsAndLaunch(
25092509
// If there is no implicit arg, let the driver handle it via a property
25102510
if (WorkGroupMemorySize && !ImplicitLocalArg.has_value()) {
25112511
property_list.push_back(
2512-
{UR_EXP_LAUNCH_PROPERTY_ID_WORK_GROUP_MEMORY, WorkGroupMemorySize});
2512+
{UR_EXP_LAUNCH_PROPERTY_ID_WORK_GROUP_MEMORY, {{WorkGroupMemorySize}}});
25132513
}
25142514
if (!property_list.empty()) {
25152515
ur_event_handle_t UREvent = nullptr;

0 commit comments

Comments
 (0)