-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BINDINGS/GO: Add RMA support #10214
base: master
Are you sure you want to change the base?
BINDINGS/GO: Add RMA support #10214
Conversation
0ca3eef
to
e34c38c
Compare
1c77a86
to
9bb4bb7
Compare
88146e3
to
c924888
Compare
func (m *UcpMemory) Pack() (*UcpRKeyBuffer, error) { | ||
result := &UcpRKeyBuffer{} | ||
|
||
if status := C.ucp_rkey_pack(m.context, m.memHandle, &result.buffer, &result.size); status != C.UCS_OK { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ucp_rkey_pack
is deprecated. Please use ucp_memh_pack
.
size C.size_t | ||
} | ||
|
||
func NewRKeyBuffer(buffer []byte) *UcpRKeyBuffer { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that the method is unused.
} | ||
|
||
func (m *UcpMemory) Pack() (*UcpRKeyBuffer, error) { | ||
result := &UcpRKeyBuffer{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
result := &UcpRKeyBuffer{} | |
rkeyBuffer := &UcpRKeyBuffer{} |
} | ||
|
||
func (e *UcpEp) Unpack(buffer *UcpRKeyBuffer) (*UcpRKey, error) { | ||
result := &UcpRKey{} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
result := &UcpRKey{} | |
rkey := &UcpRKey{} |
} | ||
} | ||
|
||
func (m *UcpMemory) Pack() (*UcpRKeyBuffer, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a description for each interface.
No description provided.