SumDimMsk(const DAD* res, const DAD* src, const int dim, const DAD* msk)The source array is described by the DAD *src and the result array is described by the DAD *res. They will both have elements of type T. The reduction occurs in dimension dim. The mask array is described by the DAD *msk.