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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user