SWDEV-425460, SWDEV-426132, SWDEV-426133, SWDEV-426137 - Revert "SWDEV-399623 - [ABI Break] Remove 'memoryType' from hipPointerAttribute_t"
This reverts commit24ad87502d. Reason for revert: This causes build failure in AMG, UCC & UCX Change-Id: I9198de12f04fa1790cfbd8b65955723e05700c8a [ROCm/hip commit:8ed05a1567]
This commit is contained in:
@@ -186,7 +186,11 @@ typedef enum hipMemoryType {
|
||||
* Pointer attributes
|
||||
*/
|
||||
typedef struct hipPointerAttribute_t {
|
||||
enum hipMemoryType type;
|
||||
union {
|
||||
// Deprecated, use instead type
|
||||
enum hipMemoryType memoryType;
|
||||
enum hipMemoryType type;
|
||||
};
|
||||
int device;
|
||||
void* devicePointer;
|
||||
void* hostPointer;
|
||||
|
||||
مرجع در شماره جدید
Block a user