25 #ifdef KVIKIO_CUFILE_FOUND
28 using CUfileDriverControlFlags_t =
enum CUfileDriverControlFlags {
29 CU_FILE_USE_POLL_MODE = 0,
30 CU_FILE_ALLOW_COMPAT_MODE = 1
32 using CUfileHandle_t =
void*;
37 #ifndef KVIKIO_CUFILE_BATCH_API_FOUND
38 typedef enum CUfileOpcode { CUFILE_READ = 0, CUFILE_WRITE } CUfileOpcode_t;
40 typedef enum CUFILEStatus_enum {
41 CUFILE_WAITING = 0x000001,
42 CUFILE_PENDING = 0x000002,
43 CUFILE_INVALID = 0x000004,
44 CUFILE_CANCELED = 0x000008,
45 CUFILE_COMPLETE = 0x0000010,
46 CUFILE_TIMEOUT = 0x0000020,
47 CUFILE_FAILED = 0x0000040
52 CUfileStatus_t status;