SWDEV-325379 - Fix for remote copy crash

Change-Id: I22152c0b3538cf7cfc80f82505bc255c01d98f7b
Этот коммит содержится в:
Sarbojit Sarkar authored and Sarbojit Sarkar committed 2022-06-16 23:59:11 -04:00
1 родитель 73ec7bada6
Коммит 356e22f910
2 files changed
+9 -3

No files matched your search

+3
Просмотреть файл
@@ -377,6 +377,8 @@ class Memory : public amd::RuntimeObject {
//!save the user data during memory allocation
UserData& getUserData() { return userData_; }
//!find if memory object is Arena memory
virtual bool isArena() { return false; }
};
//! Buffers are a specialization of memory. Just a wrapper, really,
@@ -673,6 +675,7 @@ public:
ArenaMemory(Context& context)
: Buffer(context, 0, std::numeric_limits<size_t>::max(),
reinterpret_cast<void*>(kArenaMemoryPtr)) {}
bool isArena() { return true; }
};
} // namespace amd