File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,10 @@ BEGIN_C_DECLS
3434 * It is used to enable backward compatibility support.
3535 */
3636enum ucp_device_mem_list_elem_field {
37- UCP_DEVICE_MEM_LIST_ELEM_FIELD_MEMH = UCS_BIT (0 ), /**< Source memory handle */
38- UCP_DEVICE_MEM_LIST_ELEM_FIELD_RKEY = UCS_BIT (1 ) /**< Unpacked remote memory key */
37+ UCP_DEVICE_MEM_LIST_ELEM_FIELD_MEMH = UCS_BIT (0 ), /**< Source memory handle */
38+ UCP_DEVICE_MEM_LIST_ELEM_FIELD_RKEY = UCS_BIT (1 ), /**< Unpacked remote memory key */
39+ UCP_DEVICE_MEM_LIST_ELEM_FIELD_LOCAL_ADDR = UCS_BIT (2 ), /**< Local address */
40+ UCP_DEVICE_MEM_LIST_ELEM_FIELD_REMOTE_ADDR = UCS_BIT (3 ) /**< Remote address */
3941};
4042
4143
@@ -60,6 +62,16 @@ typedef struct ucp_device_mem_list_elem {
6062 */
6163 ucp_mem_h memh ;
6264
65+ /**
66+ * Local memory address for the device transfer operations.
67+ */
68+ void * local_addr ;
69+
70+ /**
71+ * Remote memory address for the device transfer operations.
72+ */
73+ uint64_t remote_addr ;
74+
6375 /**
6476 * Unpacked memory key for the remote memory endpoint.
6577 */
You can’t perform that action at this time.
0 commit comments