Skip to content

Commit cee7110

Browse files
authored
[SYCL] Fix compiler warning about unused var in device_image_impl (#3344)
1 parent 7efb692 commit cee7110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/device_image_impl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class device_image_impl {
4747

4848
// Collect kernel names for the image
4949
pi_device_binary DevBin =
50-
const_cast<pi_device_binary>(&BinImage->getRawData());
50+
const_cast<pi_device_binary>(&MBinImage->getRawData());
5151
for (_pi_offload_entry EntriesIt = DevBin->EntriesBegin;
5252
EntriesIt != DevBin->EntriesEnd; ++EntriesIt) {
5353

0 commit comments

Comments
 (0)