SWDEV-399623 - [ABI Break] Remove 'memoryType' from hipPointerAttribute_t""

This reverts commit 8ed05a1567.

Reason for revert: Bringing back original change

Change-Id: I33bbc9b698e07ca8e03ee6b15bcb66f5795bbe4e
This commit is contained in:
Rahul Garg
2023-10-13 20:04:54 -04:00
committed by Rakesh Roy
parent 6240eb30d4
commit 504e670d73
+1 -5
View File
@@ -258,11 +258,7 @@ typedef enum hipMemoryType {
* Pointer attributes
*/
typedef struct hipPointerAttribute_t {
union {
// Deprecated, use instead type
enum hipMemoryType memoryType;
enum hipMemoryType type;
};
enum hipMemoryType type;
int device;
void* devicePointer;
void* hostPointer;