DLPrimitives
|
Class used for benchmarking of the model. More...
#include <include/dlprim/context.hpp>
Classes | |
struct | Data |
struct | Section |
Public Types | |
typedef std::chrono::high_resolution_clock | clock_type |
typedef std::chrono::time_point< clock_type > | time_point_type |
Public Member Functions | |
void | enter (char const *name) |
void | leave () |
void | reset () |
std::shared_ptr< Data > | add_event (char const *name, int index=-1, cl::Event *ev=nullptr) |
std::vector< Section > & | sections () |
std::vector< std::shared_ptr< Data > > & | events () |
Public Attributes | |
bool | cpu_only =false |
Class used for benchmarking of the model.
Detailed description TBD