clSPARSE
v0.10.0.0
a software library containing Sparse functions written in OpenCL
|
A timer class that provides a cross platform timer for use in timing code progress with a high degree of accuracy. This class is implemented entirely in the header, to facilitate inclusion into multiple projects without needing to compile an object file for each project. More...
Go to the source code of this file.
Typedefs | |
typedef clsparseTimer *(* | PFCLSPARSETIMER) (const clsparseTimerType type) |
Clients can use this typedefs to help create function pointers that can be initialized to point to the functions exported from this module. | |
Enumerations | |
enum | clsparseTimerType { CLSPARSE_GPU = 1, CLSPARSE_CPU } |
Different timer back-ends that can be requested. | |
Functions | |
CLSPARSETIMER_EXPORT clsparseTimer * | clsparseGetTimer (const clsparseTimerType type) |
This returns a reference to the singleton timer. Guarantees only 1 timer class is ever instantiated within a compilable executable. | |
A timer class that provides a cross platform timer for use in timing code progress with a high degree of accuracy. This class is implemented entirely in the header, to facilitate inclusion into multiple projects without needing to compile an object file for each project.