Changeset 4873
- Timestamp:
- 06/30/09 16:02:00 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
mpich2/trunk/src/mpid/common/datatype/dataloop/segment_ops.c
r4872 r4873 931 931 */ 932 932 *blocks_p -= (blocks_left + (size / (int) el_size)); 933 #ifdef MPID_SP_VERBOSE934 MPIU_dbg_printf("\t[vector to vec exiting (1): next ind = %d, " MPI_AINT_FMT_DEC_SPEC " blocks processed.\n",935 paramp->u.pack_vector.index,936 *blocks_p);937 #endif938 933 return 1; 939 934 } … … 944 939 } 945 940 else { 946 /* Since bufp can be a displacement and can be negative, we cannot use947 * MPI_VOID_PTR_CAST_TO_MPI_AINT to cast the sum to a pointer. Just let it948 * sign extend.941 /* Since bufp can be a displacement and can be negative, we cannot 942 * use MPI_VOID_PTR_CAST_TO_MPI_AINT to cast the sum to a pointer. 943 * Just let it sign extend. 949 944 */ 950 paramp->disps[last_idx+1] = MPI_PTR_DISP_CAST_TO_MPI_AINT bufp + rel_off + offsetarray[last_idx+1]; 945 paramp->disps[last_idx+1] = MPI_PTR_DISP_CAST_TO_MPI_AINT bufp + 946 rel_off + offsetarray[last_idx+1]; 951 947 paramp->blklens[last_idx+1] = size; 952 948 paramp->index++; … … 955 951 rel_off += offsetarray[i]; 956 952 } 957 958 #ifdef MPID_SP_VERBOSE959 MPIU_dbg_printf("\t[vector to vec exiting (2): next ind = %d, " MPI_AINT_FMT_DEC_SPEC " blocks processed.\n",960 paramp->u.pack_vector.index,961 *blocks_p);962 #endif963 953 964 954 /* if we get here then we processed ALL the blocks; don't need to update
