@@ -300,8 +300,8 @@ int __tgt_interop_use(ident_t *LocRef, omp_interop_val_t *Interop,
300300
301301 auto DeviceOrErr = Interop->getDevice ();
302302 if (!DeviceOrErr) {
303- REPORT (" Failed to get device for interop " DPxMOD " : %s\n " ,
304- DPxPTR (Interop), toString (DeviceOrErr.takeError ()).c_str ());
303+ REPORT (" Failed to get device for interop " DPxMOD " : %s\n " , DPxPTR (Interop),
304+ toString (DeviceOrErr.takeError ()).c_str ());
305305 return OFFLOAD_FAIL;
306306 }
307307 auto &IOPDevice = *DeviceOrErr;
@@ -338,8 +338,8 @@ int __tgt_interop_release(ident_t *LocRef, omp_interop_val_t *Interop,
338338
339339 auto DeviceOrErr = Interop->getDevice ();
340340 if (!DeviceOrErr) {
341- REPORT (" Failed to get device for interop " DPxMOD " : %s\n " ,
342- DPxPTR (Interop), toString (DeviceOrErr.takeError ()).c_str ());
341+ REPORT (" Failed to get device for interop " DPxMOD " : %s\n " , DPxPTR (Interop),
342+ toString (DeviceOrErr.takeError ()).c_str ());
343343 return OFFLOAD_FAIL;
344344 }
345345
@@ -364,7 +364,7 @@ EXTERN int ompx_interop_add_completion_callback(omp_interop_val_t *Interop,
364364} // extern "C"
365365
366366llvm::Expected<DeviceTy &> omp_interop_val_t::getDevice () const {
367- return PM->getDevice (device_id);
367+ return PM->getDevice (device_id);
368368}
369369
370370bool omp_interop_val_t::isCompatibleWith (int32_t InteropType,
@@ -432,8 +432,8 @@ void syncImplicitInterops(int Gtid, void *Event) {
432432
433433 auto DeviceOrErr = iop->getDevice ();
434434 if (!DeviceOrErr) {
435- REPORT (" Failed to get device for interop " DPxMOD " : %s\n " ,
436- DPxPTR (iop), toString (DeviceOrErr.takeError ()).c_str ());
435+ REPORT (" Failed to get device for interop " DPxMOD " : %s\n " , DPxPTR (iop),
436+ toString (DeviceOrErr.takeError ()).c_str ());
437437 continue ;
438438 }
439439 auto &IOPDevice = *DeviceOrErr;
@@ -462,8 +462,8 @@ void InteropTblTy::clear() {
462462 PerThreadTable::clear ([](auto &IOP) {
463463 auto DeviceOrErr = IOP->getDevice ();
464464 if (!DeviceOrErr) {
465- REPORT (" Failed to get device for interop " DPxMOD " : %s\n " ,
466- DPxPTR (IOP), toString (DeviceOrErr.takeError ()).c_str ());
465+ REPORT (" Failed to get device for interop " DPxMOD " : %s\n " , DPxPTR (IOP),
466+ toString (DeviceOrErr.takeError ()).c_str ());
467467 return ;
468468 }
469469 IOP->release (*DeviceOrErr);
0 commit comments