[llvm] [Offload] Debug message update part 2 (PR #171683)
Alex Duran via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 11 04:54:58 PST 2025
================
@@ -411,16 +416,15 @@ static int loadImagesOntoDevice(DeviceTy &Device) {
"Not expecting a device ID outside the table's bounds!");
__tgt_device_image *Img = TransTable->TargetsImages[DeviceId];
if (!Img) {
- REPORT("No image loaded for device id %d.\n", DeviceId);
+ REPORT() << "No image loaded for device id " << DeviceId;
----------------
adurang wrote:
```suggestion
REPORT() << "No image loaded for device id " << DeviceId << ".";
```
https://github.com/llvm/llvm-project/pull/171683
More information about the llvm-commits
mailing list