ADXL Data Structures
MemType
Specifies the memory type.
1 2 3 4 | enum MemType { MEM_DEVICE, MEM_HOST } |
TransferOp
Specifies the type of the transmission operation.
1 2 3 4 | enum TransferOp { READ, WRITE } |
MemDesc
Represents the memory description.
1 2 3 4 5 | struct MemDesc { uintptr_t addr; size_t len; uint8_t reserved[128] = {}; } |
TransferOpDesc
Represents the transmission operation description.
1 2 3 4 5 | struct TransferOpDesc { uintptr_t local_addr; uintptr_t remote_addr; size_t len; } |
MemHandle
Specifies the handle of the registered memory.
1 | using MemHandle = void *; |
NotifyDesc
Represents the notification description.
1 2 3 4 | struct NotifyDesc { AscendString name; AscendString notify_msg; } |
Parent topic: ADXL (to Be Deprecated)