Closed crazyboycjr closed 2 years ago
Consider the following code
id.post_send(&mr, ...)?; drop(mr); // ----> NIC issues DMA to this dropped mr in the future
The user must ensure that the mr remains valid until the corresponding completion is generated.
mr
We can mark this function as unsafe, or make it returns a Future, which requires an asynchronous runtime for ibverbs. That's a lot of work.
Demikernel may have already included a runtime for that. Need some investigations later.
Consider the following code
The user must ensure that the
mr
remains valid until the corresponding completion is generated.We can mark this function as unsafe, or make it returns a Future, which requires an asynchronous runtime for ibverbs. That's a lot of work.