Shim layer of the cuFile C-API. More...
#include <cufile.hpp>
Public Member Functions | |
| cuFileAPI (cuFileAPI const &)=delete | |
| void | operator= (cuFileAPI const &)=delete | 
| cuFileAPI (cuFileAPI const &&)=delete | |
| void | operator= (cuFileAPI const &&)=delete | 
| void | driver_open () | 
| Open the cuFile driver.  More... | |
| void | driver_close () | 
| Close the cuFile driver.  | |
Static Public Member Functions | |
| static KVIKIO_EXPORT cuFileAPI & | instance () | 
Shim layer of the cuFile C-API.
This is a singleton class that use dlopen on construction to load the C-API of cuFile.
For example, cuFileAPI::instance().FileRead() corresponds to calling cuFileRead() 
Definition at line 30 of file cufile.hpp.
| void kvikio::cuFileAPI::driver_open | ( | ) | 
Open the cuFile driver.
cuFile allows multiple calls to cufileDriverOpen(), only the first call opens the driver, but every call should have a matching call to cufileDriverClose().