Skip to content

Commit

Permalink
mr_cache: Define ofi_mr_info::flags
Browse files Browse the repository at this point in the history
This can be used by providers to store flags, such as FI_HMEM_HOST_ALLOC
or FI_HMEM_DEVICE_ONLY, with the MR.

Signed-off-by: Ian Ziemba <[email protected]>
  • Loading branch information
iziemba authored and j-xiong committed Oct 20, 2023
1 parent 2e53fbf commit 29a73ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/ofi_mr.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ struct ofi_mr_info {
struct iovec iov;
enum fi_hmem_iface iface;
uint64_t device;
uint64_t flags;

uint64_t peer_id;
void *mapped_addr;
Expand Down

0 comments on commit 29a73ec

Please sign in to comment.