Module Cuda_ffi.Bindings_types

type cu_result =
  1. | CUDA_SUCCESS
  2. | CUDA_ERROR_INVALID_VALUE
  3. | CUDA_ERROR_OUT_OF_MEMORY
  4. | CUDA_ERROR_NOT_INITIALIZED
  5. | CUDA_ERROR_DEINITIALIZED
  6. | CUDA_ERROR_PROFILER_DISABLED
  7. | CUDA_ERROR_PROFILER_NOT_INITIALIZED
  8. | CUDA_ERROR_PROFILER_ALREADY_STARTED
  9. | CUDA_ERROR_PROFILER_ALREADY_STOPPED
  10. | CUDA_ERROR_STUB_LIBRARY
  11. | CUDA_ERROR_DEVICE_UNAVAILABLE
  12. | CUDA_ERROR_NO_DEVICE
  13. | CUDA_ERROR_INVALID_DEVICE
  14. | CUDA_ERROR_DEVICE_NOT_LICENSED
  15. | CUDA_ERROR_INVALID_IMAGE
  16. | CUDA_ERROR_INVALID_CONTEXT
  17. | CUDA_ERROR_CONTEXT_ALREADY_CURRENT
  18. | CUDA_ERROR_MAP_FAILED
  19. | CUDA_ERROR_UNMAP_FAILED
  20. | CUDA_ERROR_ARRAY_IS_MAPPED
  21. | CUDA_ERROR_ALREADY_MAPPED
  22. | CUDA_ERROR_NO_BINARY_FOR_GPU
  23. | CUDA_ERROR_ALREADY_ACQUIRED
  24. | CUDA_ERROR_NOT_MAPPED
  25. | CUDA_ERROR_NOT_MAPPED_AS_ARRAY
  26. | CUDA_ERROR_NOT_MAPPED_AS_POINTER
  27. | CUDA_ERROR_ECC_UNCORRECTABLE
  28. | CUDA_ERROR_UNSUPPORTED_LIMIT
  29. | CUDA_ERROR_CONTEXT_ALREADY_IN_USE
  30. | CUDA_ERROR_PEER_ACCESS_UNSUPPORTED
  31. | CUDA_ERROR_INVALID_PTX
  32. | CUDA_ERROR_INVALID_GRAPHICS_CONTEXT
  33. | CUDA_ERROR_JIT_COMPILER_NOT_FOUND
  34. | CUDA_ERROR_UNSUPPORTED_PTX_VERSION
  35. | CUDA_ERROR_JIT_COMPILATION_DISABLED
  36. | CUDA_ERROR_UNSUPPORTED_EXEC_AFFINITY
  37. | CUDA_ERROR_UNSUPPORTED_DEVSIDE_SYNC
  38. | CUDA_ERROR_INVALID_SOURCE
  39. | CUDA_ERROR_FILE_NOT_FOUND
  40. | CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND
  41. | CUDA_ERROR_SHARED_OBJECT_INIT_FAILED
  42. | CUDA_ERROR_OPERATING_SYSTEM
  43. | CUDA_ERROR_INVALID_HANDLE
  44. | CUDA_ERROR_ILLEGAL_STATE
  45. | CUDA_ERROR_NOT_FOUND
  46. | CUDA_ERROR_NOT_READY
  47. | CUDA_ERROR_ILLEGAL_ADDRESS
  48. | CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES
  49. | CUDA_ERROR_LAUNCH_TIMEOUT
  50. | CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING
  51. | CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED
  52. | CUDA_ERROR_PEER_ACCESS_NOT_ENABLED
  53. | CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE
  54. | CUDA_ERROR_CONTEXT_IS_DESTROYED
  55. | CUDA_ERROR_ASSERT
  56. | CUDA_ERROR_TOO_MANY_PEERS
  57. | CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED
  58. | CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED
  59. | CUDA_ERROR_HARDWARE_STACK_ERROR
  60. | CUDA_ERROR_ILLEGAL_INSTRUCTION
  61. | CUDA_ERROR_MISALIGNED_ADDRESS
  62. | CUDA_ERROR_INVALID_ADDRESS_SPACE
  63. | CUDA_ERROR_INVALID_PC
  64. | CUDA_ERROR_LAUNCH_FAILED
  65. | CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE
  66. | CUDA_ERROR_NOT_PERMITTED
  67. | CUDA_ERROR_NOT_SUPPORTED
  68. | CUDA_ERROR_SYSTEM_NOT_READY
  69. | CUDA_ERROR_SYSTEM_DRIVER_MISMATCH
  70. | CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE
  71. | CUDA_ERROR_MPS_CONNECTION_FAILED
  72. | CUDA_ERROR_MPS_RPC_FAILURE
  73. | CUDA_ERROR_MPS_SERVER_NOT_READY
  74. | CUDA_ERROR_MPS_MAX_CLIENTS_REACHED
  75. | CUDA_ERROR_MPS_MAX_CONNECTIONS_REACHED
  76. | CUDA_ERROR_MPS_CLIENT_TERMINATED
  77. | CUDA_ERROR_CDP_NOT_SUPPORTED
  78. | CUDA_ERROR_CDP_VERSION_MISMATCH
  79. | CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED
  80. | CUDA_ERROR_STREAM_CAPTURE_INVALIDATED
  81. | CUDA_ERROR_STREAM_CAPTURE_MERGE
  82. | CUDA_ERROR_STREAM_CAPTURE_UNMATCHED
  83. | CUDA_ERROR_STREAM_CAPTURE_UNJOINED
  84. | CUDA_ERROR_STREAM_CAPTURE_ISOLATION
  85. | CUDA_ERROR_STREAM_CAPTURE_IMPLICIT
  86. | CUDA_ERROR_CAPTURED_EVENT
  87. | CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD
  88. | CUDA_ERROR_TIMEOUT
  89. | CUDA_ERROR_GRAPH_EXEC_UPDATE_FAILURE
  90. | CUDA_ERROR_EXTERNAL_DEVICE
  91. | CUDA_ERROR_INVALID_CLUSTER_SIZE
  92. | CUDA_ERROR_UNKNOWN
  93. | CUDA_ERROR_UNCATEGORIZED of int64
val cu_result_of_sexp : Sexplib0.Sexp.t -> cu_result
val sexp_of_cu_result : cu_result -> Sexplib0.Sexp.t
type cu_device =
  1. | Cu_device of int
val cu_device_of_sexp : Sexplib0.Sexp.t -> cu_device
val sexp_of_cu_device : cu_device -> Sexplib0.Sexp.t
type cu_jit_option =
  1. | CU_JIT_MAX_REGISTERS
  2. | CU_JIT_THREADS_PER_BLOCK
  3. | CU_JIT_WALL_TIME
  4. | CU_JIT_INFO_LOG_BUFFER
  5. | CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES
  6. | CU_JIT_ERROR_LOG_BUFFER
  7. | CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES
  8. | CU_JIT_OPTIMIZATION_LEVEL
  9. | CU_JIT_TARGET_FROM_CUCONTEXT
  10. | CU_JIT_TARGET
  11. | CU_JIT_FALLBACK_STRATEGY
  12. | CU_JIT_GENERATE_DEBUG_INFO
  13. | CU_JIT_LOG_VERBOSE
  14. | CU_JIT_GENERATE_LINE_INFO
  15. | CU_JIT_CACHE_MODE
  16. | CU_JIT_NEW_SM3X_OPT
  17. | CU_JIT_FAST_COMPILE
  18. | CU_JIT_GLOBAL_SYMBOL_NAMES
  19. | CU_JIT_GLOBAL_SYMBOL_ADDRESSES
  20. | CU_JIT_GLOBAL_SYMBOL_COUNT
  21. | CU_JIT_LTO
  22. | CU_JIT_FTZ
  23. | CU_JIT_PREC_DIV
  24. | CU_JIT_PREC_SQRT
  25. | CU_JIT_FMA
  26. | CU_JIT_REFERENCED_KERNEL_NAMES
  27. | CU_JIT_REFERENCED_KERNEL_COUNT
  28. | CU_JIT_REFERENCED_VARIABLE_NAMES
  29. | CU_JIT_REFERENCED_VARIABLE_COUNT
  30. | CU_JIT_OPTIMIZE_UNUSED_DEVICE_VARIABLES
  31. | CU_JIT_POSITION_INDEPENDENT_CODE
  32. | CU_JIT_NUM_OPTIONS
  33. | CU_JIT_UNCATEGORIZED of int64
val cu_jit_option_of_sexp : Sexplib0.Sexp.t -> cu_jit_option
val sexp_of_cu_jit_option : cu_jit_option -> Sexplib0.Sexp.t
type cu_context_t
type cu_context = cu_context_t Ctypes.structure Ctypes.ptr
val cu_context : cu_context Ctypes.typ
type cu_module_t
type cu_module = cu_module_t Ctypes.structure Ctypes.ptr
val cu_module : cu_module Ctypes.typ
type cu_function_t
type cu_function = cu_function_t Ctypes.structure Ctypes.ptr
val cu_function : cu_function Ctypes.typ
val cu_deviceptr_v2 : Unsigned.uint64 Ctypes.typ

CUdeviceptr is defined as an unsigned integer type whose size matches the size of a pointer on the target platform.

val cu_deviceptr : Unsigned.uint64 Ctypes.typ
type cu_stream_t
type cu_stream = cu_stream_t Ctypes.structure Ctypes.ptr
val cu_stream : cu_stream Ctypes.typ
type cu_event_t
type cu_event = cu_event_t Ctypes.structure Ctypes.ptr
val cu_event : cu_event Ctypes.typ
type cu_jit_target =
  1. | CU_TARGET_COMPUTE_30
  2. | CU_TARGET_COMPUTE_32
  3. | CU_TARGET_COMPUTE_35
  4. | CU_TARGET_COMPUTE_37
  5. | CU_TARGET_COMPUTE_50
  6. | CU_TARGET_COMPUTE_52
  7. | CU_TARGET_COMPUTE_53
  8. | CU_TARGET_COMPUTE_60
  9. | CU_TARGET_COMPUTE_61
  10. | CU_TARGET_COMPUTE_62
  11. | CU_TARGET_COMPUTE_70
  12. | CU_TARGET_COMPUTE_72
  13. | CU_TARGET_COMPUTE_75
  14. | CU_TARGET_COMPUTE_80
  15. | CU_TARGET_COMPUTE_86
  16. | CU_TARGET_COMPUTE_87
  17. | CU_TARGET_COMPUTE_89
  18. | CU_TARGET_COMPUTE_90
  19. | CU_TARGET_COMPUTE_90A
  20. | CU_TARGET_UNCATEGORIZED of int64
val cu_jit_target_of_sexp : Sexplib0.Sexp.t -> cu_jit_target
val sexp_of_cu_jit_target : cu_jit_target -> Sexplib0.Sexp.t
type cu_jit_fallback =
  1. | CU_PREFER_PTX
  2. | CU_PREFER_BINARY
  3. | CU_PREFER_UNCATEGORIZED of int64
val cu_jit_fallback_of_sexp : Sexplib0.Sexp.t -> cu_jit_fallback
val sexp_of_cu_jit_fallback : cu_jit_fallback -> Sexplib0.Sexp.t
type cu_jit_cache_mode =
  1. | CU_JIT_CACHE_OPTION_NONE
  2. | CU_JIT_CACHE_OPTION_CG
  3. | CU_JIT_CACHE_OPTION_CA
  4. | CU_JIT_CACHE_OPTION_UNCATEGORIZED of int64
val cu_jit_cache_mode_of_sexp : Sexplib0.Sexp.t -> cu_jit_cache_mode
val sexp_of_cu_jit_cache_mode : cu_jit_cache_mode -> Sexplib0.Sexp.t
type cu_device_attribute =
  1. | CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK
  2. | CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X
  3. | CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y
  4. | CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z
  5. | CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_X
  6. | CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Y
  7. | CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Z
  8. | CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK
  9. | CU_DEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY
  10. | CU_DEVICE_ATTRIBUTE_WARP_SIZE
  11. | CU_DEVICE_ATTRIBUTE_MAX_PITCH
  12. | CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK
  13. | CU_DEVICE_ATTRIBUTE_CLOCK_RATE
  14. | CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT
  15. | CU_DEVICE_ATTRIBUTE_GPU_OVERLAP
  16. | CU_DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT
  17. | CU_DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT
  18. | CU_DEVICE_ATTRIBUTE_INTEGRATED
  19. | CU_DEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY
  20. | CU_DEVICE_ATTRIBUTE_COMPUTE_MODE
  21. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH
  22. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH
  23. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT
  24. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH
  25. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT
  26. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH
  27. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH
  28. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT
  29. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS
  30. | CU_DEVICE_ATTRIBUTE_SURFACE_ALIGNMENT
  31. | CU_DEVICE_ATTRIBUTE_CONCURRENT_KERNELS
  32. | CU_DEVICE_ATTRIBUTE_ECC_ENABLED
  33. | CU_DEVICE_ATTRIBUTE_PCI_BUS_ID
  34. | CU_DEVICE_ATTRIBUTE_PCI_DEVICE_ID
  35. | CU_DEVICE_ATTRIBUTE_TCC_DRIVER
  36. | CU_DEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE
  37. | CU_DEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH
  38. | CU_DEVICE_ATTRIBUTE_L2_CACHE_SIZE
  39. | CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR
  40. | CU_DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT
  41. | CU_DEVICE_ATTRIBUTE_UNIFIED_ADDRESSING
  42. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH
  43. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS
  44. | CU_DEVICE_ATTRIBUTE_CAN_TEX2D_GATHER
  45. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH
  46. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT
  47. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE
  48. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE
  49. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE
  50. | CU_DEVICE_ATTRIBUTE_PCI_DOMAIN_ID
  51. | CU_DEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT
  52. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH
  53. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH
  54. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS
  55. | CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH
  56. | CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH
  57. | CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT
  58. | CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH
  59. | CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT
  60. | CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH
  61. | CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH
  62. | CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS
  63. | CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH
  64. | CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT
  65. | CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS
  66. | CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH
  67. | CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH
  68. | CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS
  69. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH
  70. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH
  71. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT
  72. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH
  73. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH
  74. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT
  75. | CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR
  76. | CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR
  77. | CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH
  78. | CU_DEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED
  79. | CU_DEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED
  80. | CU_DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED
  81. | CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR
  82. | CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR
  83. | CU_DEVICE_ATTRIBUTE_MANAGED_MEMORY
  84. | CU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD
  85. | CU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID
  86. | CU_DEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED
  87. | CU_DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO
  88. | CU_DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS
  89. | CU_DEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS
  90. | CU_DEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED
  91. | CU_DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM
  92. | CU_DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH
  93. | CU_DEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH
  94. | CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN
  95. | CU_DEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES
  96. | CU_DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED
  97. | CU_DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES
  98. | CU_DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST
  99. | CU_DEVICE_ATTRIBUTE_VIRTUAL_MEMORY_MANAGEMENT_SUPPORTED
  100. | CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_POSIX_FILE_DESCRIPTOR_SUPPORTED
  101. | CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_WIN32_HANDLE_SUPPORTED
  102. | CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_WIN32_KMT_HANDLE_SUPPORTED
  103. | CU_DEVICE_ATTRIBUTE_MAX_BLOCKS_PER_MULTIPROCESSOR
  104. | CU_DEVICE_ATTRIBUTE_GENERIC_COMPRESSION_SUPPORTED
  105. | CU_DEVICE_ATTRIBUTE_MAX_PERSISTING_L2_CACHE_SIZE
  106. | CU_DEVICE_ATTRIBUTE_MAX_ACCESS_POLICY_WINDOW_SIZE
  107. | CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_WITH_CUDA_VMM_SUPPORTED
  108. | CU_DEVICE_ATTRIBUTE_RESERVED_SHARED_MEMORY_PER_BLOCK
  109. | CU_DEVICE_ATTRIBUTE_SPARSE_CUDA_ARRAY_SUPPORTED
  110. | CU_DEVICE_ATTRIBUTE_READ_ONLY_HOST_REGISTER_SUPPORTED
  111. | CU_DEVICE_ATTRIBUTE_TIMELINE_SEMAPHORE_INTEROP_SUPPORTED
  112. | CU_DEVICE_ATTRIBUTE_MEMORY_POOLS_SUPPORTED
  113. | CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_SUPPORTED
  114. | CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_FLUSH_WRITES_OPTIONS
  115. | CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_WRITES_ORDERING
  116. | CU_DEVICE_ATTRIBUTE_MEMPOOL_SUPPORTED_HANDLE_TYPES
  117. | CU_DEVICE_ATTRIBUTE_CLUSTER_LAUNCH
  118. | CU_DEVICE_ATTRIBUTE_DEFERRED_MAPPING_CUDA_ARRAY_SUPPORTED
  119. | CU_DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS
  120. | CU_DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR
  121. | CU_DEVICE_ATTRIBUTE_DMA_BUF_SUPPORTED
  122. | CU_DEVICE_ATTRIBUTE_IPC_EVENT_SUPPORTED
  123. | CU_DEVICE_ATTRIBUTE_MEM_SYNC_DOMAIN_COUNT
  124. | CU_DEVICE_ATTRIBUTE_TENSOR_MAP_ACCESS_SUPPORTED
  125. | CU_DEVICE_ATTRIBUTE_UNIFIED_FUNCTION_POINTERS
  126. | CU_DEVICE_ATTRIBUTE_MULTICAST_SUPPORTED
  127. | CU_DEVICE_ATTRIBUTE_MAX
  128. | CU_DEVICE_ATTRIBUTE_UNCATEGORIZED of int64
val cu_device_attribute_of_sexp : Sexplib0.Sexp.t -> cu_device_attribute
val sexp_of_cu_device_attribute : cu_device_attribute -> Sexplib0.Sexp.t
type cu_device_p2p_attribute =
  1. | CU_DEVICE_P2P_ATTRIBUTE_PERFORMANCE_RANK
  2. | CU_DEVICE_P2P_ATTRIBUTE_ACCESS_SUPPORTED
  3. | CU_DEVICE_P2P_ATTRIBUTE_NATIVE_ATOMIC_SUPPORTED
  4. | CU_DEVICE_P2P_ATTRIBUTE_ACCESS_ACCESS_SUPPORTED
  5. | CU_DEVICE_P2P_ATTRIBUTE_CUDA_ARRAY_ACCESS_SUPPORTED
  6. | CU_DEVICE_P2P_ATTRIBUTE_UNCATEGORIZED of int64
val cu_device_p2p_attribute_of_sexp : Sexplib0.Sexp.t -> cu_device_p2p_attribute
val sexp_of_cu_device_p2p_attribute : cu_device_p2p_attribute -> Sexplib0.Sexp.t
type cu_computemode =
  1. | CU_COMPUTEMODE_DEFAULT
  2. | CU_COMPUTEMODE_PROHIBITED
  3. | CU_COMPUTEMODE_EXCLUSIVE_PROCESS
  4. | CU_COMPUTEMODE_UNCATEGORIZED of int64
val cu_computemode_of_sexp : Sexplib0.Sexp.t -> cu_computemode
val sexp_of_cu_computemode : cu_computemode -> Sexplib0.Sexp.t
type cu_flush_GPU_direct_RDMA_writes_options =
  1. | CU_FLUSH_GPU_DIRECT_RDMA_WRITES_OPTION_HOST
  2. | CU_FLUSH_GPU_DIRECT_RDMA_WRITES_OPTION_MEMOPS
  3. | CU_FLUSH_GPU_DIRECT_RDMA_WRITES_OPTION_UNCATEGORIZED of int64
val cu_flush_GPU_direct_RDMA_writes_options_of_sexp : Sexplib0.Sexp.t -> cu_flush_GPU_direct_RDMA_writes_options
val sexp_of_cu_flush_GPU_direct_RDMA_writes_options : cu_flush_GPU_direct_RDMA_writes_options -> Sexplib0.Sexp.t
type cu_mem_allocation_handle_type =
  1. | CU_MEM_HANDLE_TYPE_NONE
  2. | CU_MEM_HANDLE_TYPE_POSIX_FILE_DESCRIPTOR
  3. | CU_MEM_HANDLE_TYPE_WIN32
  4. | CU_MEM_HANDLE_TYPE_WIN32_KMT
  5. | CU_MEM_HANDLE_TYPE_FABRIC
  6. | CU_MEM_HANDLE_TYPE_MAX
  7. | CU_MEM_HANDLE_TYPE_UNCATEGORIZED of int64
val cu_mem_allocation_handle_type_of_sexp : Sexplib0.Sexp.t -> cu_mem_allocation_handle_type
val sexp_of_cu_mem_allocation_handle_type : cu_mem_allocation_handle_type -> Sexplib0.Sexp.t
type cu_limit =
  1. | CU_LIMIT_STACK_SIZE
  2. | CU_LIMIT_PRINTF_FIFO_SIZE
  3. | CU_LIMIT_MALLOC_HEAP_SIZE
  4. | CU_LIMIT_DEV_RUNTIME_SYNC_DEPTH
  5. | CU_LIMIT_DEV_RUNTIME_PENDING_LAUNCH_COUNT
  6. | CU_LIMIT_MAX_L2_FETCH_GRANULARITY
  7. | CU_LIMIT_PERSISTING_L2_CACHE_SIZE
  8. | CU_LIMIT_MAX
  9. | CU_LIMIT_UNCATEGORIZED of int64
val cu_limit_of_sexp : Sexplib0.Sexp.t -> cu_limit
val sexp_of_cu_limit : cu_limit -> Sexplib0.Sexp.t
type cu_ctx_flags =
  1. | CU_CTX_SCHED_AUTO
  2. | CU_CTX_SCHED_SPIN
  3. | CU_CTX_SCHED_YIELD
  4. | CU_CTX_SCHED_BLOCKING_SYNC
  5. | CU_CTX_SCHED_MASK
  6. | CU_CTX_MAP_HOST
  7. | CU_CTX_LMEM_RESIZE_TO_MAX
  8. | CU_CTX_COREDUMP_ENABLE
  9. | CU_CTX_USER_COREDUMP_ENABLE
  10. | CU_CTX_SYNC_MEMOPS
  11. | CU_CTX_FLAGS_MASK
  12. | CU_CTX_FLAGS_UNCATEGORIZED of int64
val cu_ctx_flags_of_sexp : Sexplib0.Sexp.t -> cu_ctx_flags
val sexp_of_cu_ctx_flags : cu_ctx_flags -> Sexplib0.Sexp.t
type cu_mem_attach_flags =
  1. | CU_MEM_ATTACH_GLOBAL
  2. | CU_MEM_ATTACH_HOST
  3. | CU_MEM_ATTACH_SINGLE
  4. | CU_MEM_ATTACH_FLAGS_UNCATEGORIZED of int64
val cu_mem_attach_flags_of_sexp : Sexplib0.Sexp.t -> cu_mem_attach_flags
val sexp_of_cu_mem_attach_flags : cu_mem_attach_flags -> Sexplib0.Sexp.t
type cu_stream_flags =
  1. | CU_STREAM_DEFAULT
  2. | CU_STREAM_NON_BLOCKING
  3. | CU_STREAM_FLAGS_UNCATEGORIZED of int64
val cu_stream_flags_of_sexp : Sexplib0.Sexp.t -> cu_stream_flags
val sexp_of_cu_stream_flags : cu_stream_flags -> Sexplib0.Sexp.t
module Types (T : Ctypes.TYPE) : sig ... end