diff --git a/rocclr/device/device.hpp b/rocclr/device/device.hpp index 1a3cc4744f..1488536688 100644 --- a/rocclr/device/device.hpp +++ b/rocclr/device/device.hpp @@ -1404,7 +1404,10 @@ class Device : public RuntimeObject { return nullptr; } - virtual bool IpcDetach(amd::Memory& memory) const { ShouldNotReachHere(); } + virtual bool IpcDetach(amd::Memory& memory) const { + ShouldNotReachHere(); + return false; + } //! Return private global device context for P2P allocations amd::Context& GlbCtx() const { return *glb_ctx_; }