MCPcopy Create free account
hub / github.com/clMathLibraries/clFFT / Accumulator< StatData >

Class Accumulator< StatData >

src/statTimer/statisticalTimer.GPU.cpp:67–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65// Functor object to help with accumulating values in vectors
66template< >
67struct Accumulator< StatData >
68{
69 StatData acc;
70
71 Accumulator( ) {}
72 void operator( )( const StatData& x )
73 {
74 acc.deltaNanoSec += x.deltaNanoSec;
75 }
76};
77
78
79// Unary predicate used for remove_if() algorithm

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected