Skip to content

Commit ca141b8

Browse files
author
Steffen Larsen
authored
[SYCL][NFC] Ignore unused argument in copy from host (#9239)
Fixes post-commit failure after #9215. Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
1 parent 5ff1695 commit ca141b8

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

sycl/source/detail/context_impl.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,9 @@ void context_impl::memcpyToHostOnlyDeviceGlobal(
417417

418418
void context_impl::memcpyFromHostOnlyDeviceGlobal(
419419
const std::shared_ptr<device_impl> &DeviceImpl, void *Dest,
420-
const void *DeviceGlobalPtr, size_t DeviceGlobalTSize,
421-
bool IsDeviceImageScoped, size_t NumBytes, size_t Offset) {
420+
const void *DeviceGlobalPtr, size_t, bool IsDeviceImageScoped,
421+
size_t NumBytes, size_t Offset) {
422+
422423
std::optional<RT::PiDevice> KeyDevice = std::nullopt;
423424
if (IsDeviceImageScoped)
424425
KeyDevice = DeviceImpl->getHandleRef();

0 commit comments

Comments
 (0)