18 #include <kvikio/shim/cufile_h_wrapper.hpp> 
   19 #include <kvikio/shim/utils.hpp> 
   32   decltype(cuFileHandleRegister)* HandleRegister{
nullptr};
 
   33   decltype(cuFileHandleDeregister)* HandleDeregister{
nullptr};
 
   34   decltype(cuFileRead)* Read{
nullptr};
 
   35   decltype(cuFileWrite)* Write{
nullptr};
 
   36   decltype(cuFileBufRegister)* BufRegister{
nullptr};
 
   37   decltype(cuFileBufDeregister)* BufDeregister{
nullptr};
 
   38   decltype(cuFileDriverGetProperties)* DriverGetProperties{
nullptr};
 
   39   decltype(cuFileDriverSetPollMode)* DriverSetPollMode{
nullptr};
 
   40   decltype(cuFileDriverSetMaxCacheSize)* DriverSetMaxCacheSize{
nullptr};
 
   41   decltype(cuFileDriverSetMaxPinnedMemSize)* DriverSetMaxPinnedMemSize{
nullptr};
 
   42   decltype(cuFileBatchIOSetUp)* BatchIOSetUp{
nullptr};
 
   43   decltype(cuFileBatchIOSubmit)* BatchIOSubmit{
nullptr};
 
   44   decltype(cuFileBatchIOGetStatus)* BatchIOGetStatus{
nullptr};
 
   45   decltype(cuFileBatchIOCancel)* BatchIOCancel{
nullptr};
 
   46   decltype(cuFileBatchIODestroy)* BatchIODestroy{
nullptr};
 
   47   decltype(cuFileReadAsync)* ReadAsync{
nullptr};
 
   48   decltype(cuFileWriteAsync)* WriteAsync{
nullptr};
 
   49   decltype(cuFileStreamRegister)* StreamRegister{
nullptr};
 
   50   decltype(cuFileStreamDeregister)* StreamDeregister{
nullptr};
 
   54   decltype(cuFileDriverOpen)* DriverOpen{
nullptr};
 
   55   decltype(cuFileDriverClose)* DriverClose{
nullptr};
 
   58   decltype(cuFileGetVersion)* GetVersion{
nullptr};
 
   68   void operator=(
cuFileAPI const&)  = 
delete;
 
   70   void operator=(
cuFileAPI const&&) = 
delete;
 
   72   KVIKIO_EXPORT 
static cuFileAPI& instance();
 
   95 #ifdef KVIKIO_CUFILE_FOUND 
Shim layer of the cuFile C-API.
 
void driver_open()
Open the cuFile driver.
 
void driver_close()
Close the cuFile driver.
 
constexpr bool is_cufile_library_available() noexcept
Check if the cuFile library is available.
 
bool is_cufile_available() noexcept
Check if the cuFile is available and expected to work.
 
bool is_stream_api_available() noexcept
Check if cuFile's stream (async) API is available.
 
bool is_batch_api_available() noexcept
Check if cuFile's batch API is available.
 
int cufile_version() noexcept
Get cufile version (or zero if older than v1.8).