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

- To align with CUDA, 'memoryType' was deprecated & new member 'type' was added
 - Remove 'memoryType' and keep only 'type'

Change-Id: I6aef5cea117b1509a224b693ce373231b186a438
This commit is contained in:
Rakesh Roy
2023-08-01 20:06:34 +05:30
zatwierdzone przez Rakesh Roy
rodzic cbf6c333a7
commit 99c48bfc6d
+1 -5
Wyświetl plik
@@ -186,11 +186,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;