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
This commit is contained in:
committed by
Christophe Paquot
parent
7fb80a027a
commit
867346520f
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user