Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

int Impala::Core::Matrix::DistributedAccess::GetData ( double *  buffer,
int  bufferlength,
Util::PropertySet cmd,
const std::vector< int > &  parts 
) [inline, private]

Definition at line 488 of file DistributedAccess.h.

References Impala::Util::PropertySet::Add(), Impala::Util::PropertySet::GetDescription(), and GetOwnerOfPart().

Referenced by GetColumn(), GetDiagonal(), and GetRow().

00490     {
00491         //ILOG_DEBUG_NODE("GetData: bufferlength = " << bufferlength << ", received = " << 0);
00492         int received=0;
00493         for(int i=0 ; i<parts.size(); ++i)
00494         {
00495             int owner = GetOwnerOfPart(parts[i]);
00496             cmd.Add("part",parts[i]);
00497             Link::Mpi::SendString(cmd.GetDescription(), owner);
00498             double* b = buffer+received;
00499             int l = Link::Mpi::ReceiveData(b, bufferlength-received, owner);
00500             received +=l;
00501             //ILOG_DEBUG_NODE("GetData: bufferlength = " << bufferlength << ", received = " << received);
00502         }
00503         return received;
00504     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:16:30 2010 for ImpalaSrc by  doxygen 1.5.1