this requires moving #include <ostream>, #include <istream> into thrust/tuple.h