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


[ROCm/clr commit: 867346520f]
Tá an tiomantas seo le fáil i:
Christophe Paquot údaraithe agus Christophe Paquot tiomanta 2022-03-31 21:12:26 -04:00
1 tuismitheoir 31c0525344
tiomantas 0f954adf29
1 comhad athraithe
+2 -1
+2 -1
Féach ar an gComhad
@@ -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: