MCPcopy Create free account
hub / github.com/clMathLibraries/clSPARSE / StatData

Class StatData

src/clsparseTimer/clsparseTimer-device.hpp:40–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 */
39
40struct StatData
41{
42 cl_ulong deltaNanoSec;
43 double doubleNanoSec;
44
45 std::vector< cl::Event > outEvents;
46
47 StatData( ): deltaNanoSec( 0 ), doubleNanoSec( 0 )
48 {}
49
50 StatData( std::vector< cl::Event >& vecEvent ): deltaNanoSec( 0 ), doubleNanoSec( 0 )
51 {
52 outEvents.swap( vecEvent );
53 }
54
55 double calcFlops( )
56 {
57 return 0.0;
58 }
59
60};
61
62// Sorting operator for struct StatData, such that it can be used in a map
63bool operator<( const StatData& lhs, const StatData& rhs );

Callers 1

AddSampleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected