Files
llvm-project/offload/libomptarget/DeviceImage.cpp
Yury Plyakhin ecd1767edb [offload] Fix DeviceImage to handle OffloadBinary::create returning vector (#180003)
OffloadBinary::create() now returns
`Expected<SmallVector<unique_ptr<OffloadBinary>>>`
instead of a single unique_ptr, to support multiple entries in version 2
format.

Updated DeviceImageTy constructor to extract the first binary from the
returned
vector, with empty check. In this context, only one image per
OffloadBinary is expected.
2026-02-05 12:41:03 -06:00

1.8 KiB