Skip to content

Commit be40bc1

Browse files
authored
Merge pull request #11528 from wckzhang/data_corruption
pml/cm: Fix datatype offset in isend
2 parents a1dc2f5 + f2b0858 commit be40bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/pml/cm/pml_cm_sendreq.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ do { \
246246
/* Sets CONVERTOR_ACCELERATOR flag if device buffer */ \
247247
opal_convertor_prepare_for_send( \
248248
&req_send->req_base.req_convertor, \
249-
&datatype->super, count, (unsigned char*)buf + datatype->super.true_lb); \
249+
&datatype->super, count, (unsigned char*)buf); \
250250
} else { \
251251
MCA_PML_CM_SWITCH_ACCELERATOR_CONVERTOR_OFF(flags, datatype, count); \
252252
opal_convertor_copy_and_prepare_for_send( \

0 commit comments

Comments
 (0)