We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0704389 commit c745854Copy full SHA for c745854
ompi/mca/mtl/mxm/mtl_mxm_send.c
@@ -57,6 +57,17 @@ static inline __opal_attribute_always_inline__ int
57
58
size_t *buffer_len = &mxm_send_req->base.data.buffer.length;
59
60
+#if !(OPAL_ENABLE_HETEROGENEOUS_SUPPORT)
61
+ if (convertor->pDesc &&
62
+ opal_datatype_is_contiguous_memory_layout(convertor->pDesc,
63
+ convertor->count)) {
64
+ mxm_send_req->base.data.buffer.ptr = convertor->pBaseBuf;
65
+ mxm_send_req->base.data.buffer.length = convertor->local_size;
66
+ mxm_send_req->base.data_type = MXM_REQ_DATA_BUFFER;
67
+ return OMPI_SUCCESS;
68
+ }
69
+#endif
70
+
71
opal_convertor_get_packed_size(convertor, buffer_len);
72
if (0 == *buffer_len) {
73
mxm_send_req->base.data.buffer.ptr = NULL;
0 commit comments