Fix compile error in certain version of GCC

Change-Id: I27f021db908bf114a685427a47cd9f0d6b2e5693
Этот коммит содержится в:
Alex Xie
2020-05-20 13:13:55 -04:00
родитель 2ce6bbebc4
Коммит 966448c53b
+4 -1
Просмотреть файл
@@ -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_; }