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

This reverts commit 8ed05a1567.

Reason for revert: Bringing back original change

Change-Id: I33bbc9b698e07ca8e03ee6b15bcb66f5795bbe4e
Этот коммит содержится в:
Rahul Garg
2023-10-13 20:04:54 -04:00
коммит произвёл Rakesh Roy
родитель 6240eb30d4
Коммит 504e670d73
+1 -5
Просмотреть файл
@@ -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;