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

int Impala::Core::Array::Pattern::PxLclStartX ( int  cpu  )  [inline]

Definition at line 453 of file PxPartition.h.

References _minLocalW, _overflowX, and PxGridIndexX().

Referenced by PatGeometricOp(), PxLclStart(), and PxRedistArray().

00454 {
00455     /* Gives index in x-direction of global array representing the
00456      * start of the partial array for which CPU 'cpu' is responsible.
00457      */
00458             
00459     if (PxGridIndexX(cpu) < _overflowX) {
00460         return (PxGridIndexX(cpu) * (_minLocalW + 1));
00461     } else {
00462         return (PxGridIndexX(cpu) * _minLocalW + _overflowX);
00463     }
00464 }

Here is the call graph for this function:


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