This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
hello, I have noticed that gfortran implements TRANSPOSE by manipulating the array descriptor, switching dimensions and updating strides accordingly, instead of copying. I'm thinking of two more intrinsics that could be implemented in this way - RESHAPE for contiguous argument, and SPREAD by using zero strides in array descriptors. For code using whole array manipulation extensively, I'd expect there could be a significant speed-up. Would zero strides cause problems anywhere else?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |