SWDEV-322620 - Virtual Memory Management Part 1

Adding opaque data handle to memory. This is used to look back the HIP object associated with it.

Change-Id: I1bbb14a915bed79c6c3593a29a627778c7aaf13a
Este commit está contenido en:
Christophe Paquot authored and Christophe Paquot committed 2022-03-31 21:12:26 -04:00
1 padre 7fb80a027a
commit 867346520f
1 file changed
+2 -1
+2 -1
Ver fichero
@@ -143,7 +143,8 @@ class Memory : public amd::RuntimeObject {
struct UserData
{
int deviceId = 0;
int deviceId = 0; //!< Device ID memory is allocated on
void* data = nullptr; //!< Opaque user data from CL or HIP or etc.
};
protected: