Skip to content

Commit ca5443d

Browse files
Add comment
1 parent 289e406 commit ca5443d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/source/detail/program_manager/program_manager.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3391,6 +3391,7 @@ bool doesImageTargetMatchDevice(const RTDeviceBinaryImage &Img,
33913391
// Device image has the compile_target property, so it is AOT compiled for
33923392
// some device, check if that architecture is Device's architecture.
33933393
auto CompileTargetByteArray = DeviceBinaryProperty(*PropIt).asByteArray();
3394+
// Drop 8 bytes describing the size of the byte array.
33943395
CompileTargetByteArray.dropBytes(8);
33953396
std::string_view CompileTarget(
33963397
reinterpret_cast<const char *>(&CompileTargetByteArray[0]),

0 commit comments

Comments
 (0)