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

void Impala::Persistency::DistributedAccessRepositoryInFile::WritePartsAsOne ( DistributedAccess da,
const KernelMatrixLocator loc 
) [inline, private]

Definition at line 421 of file DistributedAccessRepositoryInFile.h.

References Impala::Core::Matrix::VirtualMatrix::CopyFrom(), GetDir(), Impala::Persistency::KernelMatrixLocator::GetFeature(), Impala::Persistency::RepositoryInFileSystem::GetFile(), Impala::Persistency::File::GetPath(), Impala::Persistency::KernelMatrixLocator::GetWriteReal32(), Impala::Core::Matrix::DistributedAccess::NrCol(), Impala::Core::Matrix::DistributedAccess::NrRow(), and RepFS().

Referenced by Add().

00422     {
00423         typedef Core::Matrix::VirtualMatrixFactory VirtualMatrixFactory;
00424         String dir = GetDir(loc);
00425         String filename = loc.GetFeature() + ".precomputed.part-R0-C0.raw" ;
00426         File file = RepFS().GetFile(loc, dir, filename, true, false);
00427         ILOG_INFO_NODE("Saving part in " << file.GetPath());
00428         VirtualMatrixFactory& vmf = VirtualMatrixFactory::GetInstance();
00429         Core::Matrix::VirtualMatrix* dst = 
00430             vmf.ConstructIOBufferWriter(da->NrRow(), da->NrCol(), file,
00431                                         loc.GetWriteReal32(), false);
00432         dst->CopyFrom(da);
00433         delete dst;
00434     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:22:41 2011 for ImpalaSrc by  doxygen 1.5.1