defined long long and ulonglong

This commit is contained in:
Chuntao Hong
2015-05-20 11:27:50 +08:00
parent 1582180e5b
commit 181ef47053
3 changed files with 17 additions and 5 deletions

View File

@@ -110,6 +110,8 @@ inline MPI::Datatype GetType(mpi::DataType dtype) {
case kULong: return MPI::UNSIGNED_LONG;
case kFloat: return MPI::FLOAT;
case kDouble: return MPI::DOUBLE;
case kLong: return MPI::LONG_LONG;
case kULong: return MPI::UNSIGNED_LONG_LONG;
}
utils::Error("unknown mpi::DataType");
return MPI::CHAR;