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

void Impala::Core::Array::Pattern::PxInitDistribution ( int  aw,
int  ah,
int  ad,
int  xcpus,
int  ycpus,
int  zcpus 
) [inline]

Definition at line 54 of file PxDistribution.h.

References _logCPUs, _maxCPUs, _myCPU, _nrCPUs, PxInitPartition(), PxMyCPU(), and PxNrCPUs().

Referenced by PxArrayPreStateTrans().

00056 {
00057     _myCPU   = PxMyCPU();
00058     _nrCPUs  = PxNrCPUs();
00059     _logCPUs = log((double)_nrCPUs)/log(2.0);
00060     _maxCPUs = pow((double)2, _logCPUs);
00061     if (_maxCPUs < _nrCPUs) {
00062         _logCPUs++;
00063         _maxCPUs *= 2;
00064     }
00065     PxInitPartition(aw, ah, ad, xcpus, ycpus, zcpus);
00066 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:02:33 2010 for ImpalaSrc by  doxygen 1.5.1