Skip to content

Commit

Permalink
[SYCL] Fix self-build compilation after PR intel#9873 (intel#10018)
Browse files Browse the repository at this point in the history
  • Loading branch information
dm-vodopyanov authored Jun 22, 2023
1 parent 8c4e3cd commit 936016a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,8 @@ urKernelSetArgMemObj(ur_kernel_handle_t hKernel, uint32_t argIndex,

UR_ASSERT(hKernel, UR_RESULT_ERROR_INVALID_NULL_HANDLE);

std::ignore = Properties;

// Below sets kernel arg when zero-sized buffers are handled.
// In such case the corresponding memory is null.
if (hArgValue == nullptr) {
Expand Down

0 comments on commit 936016a

Please sign in to comment.