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:
zatwierdzone przez
Rakesh Roy
rodzic
cbf6c333a7
commit
99c48bfc6d
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user