Go to the source code of this file.
Classes | |
class | LbmNormalizerExecStreamTest |
Test case for LbmNormalizerExecStream. More... | |
class | NormalizerExecStreamGenerator |
Functions | |
uint | getValueCount (uint nRows, uint interval, uint value) |
Returns the number of times a value repeats over nRows. | |
FENNEL_UNIT_TEST_SUITE (LbmNormalizerExecStreamTest) |
FENNEL_UNIT_TEST_SUITE | ( | LbmNormalizerExecStreamTest | ) |
Returns the number of times a value repeats over nRows.
Definition at line 81 of file LbmNormalizerExecStreamTest.cpp.
Referenced by SortedAggExecStreamGenerator::generateValue(), and NormalizerExecStreamGenerator::NormalizerExecStreamGenerator().
00082 { 00083 uint nCopies = nRows / interval; 00084 if (value < nRows % interval) { 00085 nCopies++; 00086 } 00087 return nCopies; 00088 }