|
My Project
|
The CuBlasHandle class provides a singleton for the simulator universal cuBlasHandle. More...
#include <CuBlasHandle.hpp>
Public Member Functions | |
| CuBlasHandle (const CuBlasHandle &)=delete | |
| CuBlasHandle & | operator= (const CuBlasHandle &)=delete |
| ~CuBlasHandle () | |
| Calls cublasDestroy() on the handle. | |
| cublasHandle_t | get () |
| get returns the underlying cuBlas handle (to be used in calls to cublas) | |
Static Public Member Functions | |
| static CuBlasHandle & | getInstance () |
| getInstance creates (if necessary) and returns the single unique instance of CuBlasHandle (singleton) | |
The CuBlasHandle class provides a singleton for the simulator universal cuBlasHandle.
Example use: