# mypy: disable-error-code="empty-body"
from __future__ import annotations
import ctypes
from typing import Annotated, Literal, TypeAlias
from tinygrad.runtime.support.c import _IO, _IOW, _IOR, _IOWR
from tinygrad.runtime.support import c
dll = c.DLL('cupti', '/usr/local/cuda/targets/x86_64-linux/lib/libcupti.so')
class CUptiResult(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_SUCCESS = CUptiResult.define('CUPTI_SUCCESS', 0)
CUPTI_ERROR_INVALID_PARAMETER = CUptiResult.define('CUPTI_ERROR_INVALID_PARAMETER', 1)
CUPTI_ERROR_INVALID_DEVICE = CUptiResult.define('CUPTI_ERROR_INVALID_DEVICE', 2)
CUPTI_ERROR_INVALID_CONTEXT = CUptiResult.define('CUPTI_ERROR_INVALID_CONTEXT', 3)
CUPTI_ERROR_INVALID_EVENT_DOMAIN_ID = CUptiResult.define('CUPTI_ERROR_INVALID_EVENT_DOMAIN_ID', 4)
CUPTI_ERROR_INVALID_EVENT_ID = CUptiResult.define('CUPTI_ERROR_INVALID_EVENT_ID', 5)
CUPTI_ERROR_INVALID_EVENT_NAME = CUptiResult.define('CUPTI_ERROR_INVALID_EVENT_NAME', 6)
CUPTI_ERROR_INVALID_OPERATION = CUptiResult.define('CUPTI_ERROR_INVALID_OPERATION', 7)
CUPTI_ERROR_OUT_OF_MEMORY = CUptiResult.define('CUPTI_ERROR_OUT_OF_MEMORY', 8)
CUPTI_ERROR_HARDWARE = CUptiResult.define('CUPTI_ERROR_HARDWARE', 9)
CUPTI_ERROR_PARAMETER_SIZE_NOT_SUFFICIENT = CUptiResult.define('CUPTI_ERROR_PARAMETER_SIZE_NOT_SUFFICIENT', 10)
CUPTI_ERROR_API_NOT_IMPLEMENTED = CUptiResult.define('CUPTI_ERROR_API_NOT_IMPLEMENTED', 11)
CUPTI_ERROR_MAX_LIMIT_REACHED = CUptiResult.define('CUPTI_ERROR_MAX_LIMIT_REACHED', 12)
CUPTI_ERROR_NOT_READY = CUptiResult.define('CUPTI_ERROR_NOT_READY', 13)
CUPTI_ERROR_NOT_COMPATIBLE = CUptiResult.define('CUPTI_ERROR_NOT_COMPATIBLE', 14)
CUPTI_ERROR_NOT_INITIALIZED = CUptiResult.define('CUPTI_ERROR_NOT_INITIALIZED', 15)
CUPTI_ERROR_INVALID_METRIC_ID = CUptiResult.define('CUPTI_ERROR_INVALID_METRIC_ID', 16)
CUPTI_ERROR_INVALID_METRIC_NAME = CUptiResult.define('CUPTI_ERROR_INVALID_METRIC_NAME', 17)
CUPTI_ERROR_QUEUE_EMPTY = CUptiResult.define('CUPTI_ERROR_QUEUE_EMPTY', 18)
CUPTI_ERROR_INVALID_HANDLE = CUptiResult.define('CUPTI_ERROR_INVALID_HANDLE', 19)
CUPTI_ERROR_INVALID_STREAM = CUptiResult.define('CUPTI_ERROR_INVALID_STREAM', 20)
CUPTI_ERROR_INVALID_KIND = CUptiResult.define('CUPTI_ERROR_INVALID_KIND', 21)
CUPTI_ERROR_INVALID_EVENT_VALUE = CUptiResult.define('CUPTI_ERROR_INVALID_EVENT_VALUE', 22)
CUPTI_ERROR_DISABLED = CUptiResult.define('CUPTI_ERROR_DISABLED', 23)
CUPTI_ERROR_INVALID_MODULE = CUptiResult.define('CUPTI_ERROR_INVALID_MODULE', 24)
CUPTI_ERROR_INVALID_METRIC_VALUE = CUptiResult.define('CUPTI_ERROR_INVALID_METRIC_VALUE', 25)
CUPTI_ERROR_HARDWARE_BUSY = CUptiResult.define('CUPTI_ERROR_HARDWARE_BUSY', 26)
CUPTI_ERROR_NOT_SUPPORTED = CUptiResult.define('CUPTI_ERROR_NOT_SUPPORTED', 27)
CUPTI_ERROR_UM_PROFILING_NOT_SUPPORTED = CUptiResult.define('CUPTI_ERROR_UM_PROFILING_NOT_SUPPORTED', 28)
CUPTI_ERROR_UM_PROFILING_NOT_SUPPORTED_ON_DEVICE = CUptiResult.define('CUPTI_ERROR_UM_PROFILING_NOT_SUPPORTED_ON_DEVICE', 29)
CUPTI_ERROR_UM_PROFILING_NOT_SUPPORTED_ON_NON_P2P_DEVICES = CUptiResult.define('CUPTI_ERROR_UM_PROFILING_NOT_SUPPORTED_ON_NON_P2P_DEVICES', 30)
CUPTI_ERROR_UM_PROFILING_NOT_SUPPORTED_WITH_MPS = CUptiResult.define('CUPTI_ERROR_UM_PROFILING_NOT_SUPPORTED_WITH_MPS', 31)
CUPTI_ERROR_CDP_TRACING_NOT_SUPPORTED = CUptiResult.define('CUPTI_ERROR_CDP_TRACING_NOT_SUPPORTED', 32)
CUPTI_ERROR_VIRTUALIZED_DEVICE_NOT_SUPPORTED = CUptiResult.define('CUPTI_ERROR_VIRTUALIZED_DEVICE_NOT_SUPPORTED', 33)
CUPTI_ERROR_CUDA_COMPILER_NOT_COMPATIBLE = CUptiResult.define('CUPTI_ERROR_CUDA_COMPILER_NOT_COMPATIBLE', 34)
CUPTI_ERROR_INSUFFICIENT_PRIVILEGES = CUptiResult.define('CUPTI_ERROR_INSUFFICIENT_PRIVILEGES', 35)
CUPTI_ERROR_OLD_PROFILER_API_INITIALIZED = CUptiResult.define('CUPTI_ERROR_OLD_PROFILER_API_INITIALIZED', 36)
CUPTI_ERROR_OPENACC_UNDEFINED_ROUTINE = CUptiResult.define('CUPTI_ERROR_OPENACC_UNDEFINED_ROUTINE', 37)
CUPTI_ERROR_LEGACY_PROFILER_NOT_SUPPORTED = CUptiResult.define('CUPTI_ERROR_LEGACY_PROFILER_NOT_SUPPORTED', 38)
CUPTI_ERROR_MULTIPLE_SUBSCRIBERS_NOT_SUPPORTED = CUptiResult.define('CUPTI_ERROR_MULTIPLE_SUBSCRIBERS_NOT_SUPPORTED', 39)
CUPTI_ERROR_VIRTUALIZED_DEVICE_INSUFFICIENT_PRIVILEGES = CUptiResult.define('CUPTI_ERROR_VIRTUALIZED_DEVICE_INSUFFICIENT_PRIVILEGES', 40)
CUPTI_ERROR_CONFIDENTIAL_COMPUTING_NOT_SUPPORTED = CUptiResult.define('CUPTI_ERROR_CONFIDENTIAL_COMPUTING_NOT_SUPPORTED', 41)
CUPTI_ERROR_CMP_DEVICE_NOT_SUPPORTED = CUptiResult.define('CUPTI_ERROR_CMP_DEVICE_NOT_SUPPORTED', 42)
CUPTI_ERROR_MIG_DEVICE_NOT_SUPPORTED = CUptiResult.define('CUPTI_ERROR_MIG_DEVICE_NOT_SUPPORTED', 43)
CUPTI_ERROR_SLI_DEVICE_NOT_SUPPORTED = CUptiResult.define('CUPTI_ERROR_SLI_DEVICE_NOT_SUPPORTED', 44)
CUPTI_ERROR_WSL_DEVICE_NOT_SUPPORTED = CUptiResult.define('CUPTI_ERROR_WSL_DEVICE_NOT_SUPPORTED', 45)
CUPTI_ERROR_UNKNOWN = CUptiResult.define('CUPTI_ERROR_UNKNOWN', 999)
CUPTI_ERROR_FORCE_INT = CUptiResult.define('CUPTI_ERROR_FORCE_INT', 2147483647)

@dll.bind
def cuptiGetResultString(result:CUptiResult, str:c.POINTER[c.POINTER[Annotated[bytes, ctypes.c_char]]]) -> CUptiResult: ...
@dll.bind
def cuptiGetErrorMessage(result:CUptiResult, str:c.POINTER[c.POINTER[Annotated[bytes, ctypes.c_char]]]) -> CUptiResult: ...
class CUpti_ActivityKind(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_KIND_INVALID = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_INVALID', 0)
CUPTI_ACTIVITY_KIND_MEMCPY = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_MEMCPY', 1)
CUPTI_ACTIVITY_KIND_MEMSET = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_MEMSET', 2)
CUPTI_ACTIVITY_KIND_KERNEL = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_KERNEL', 3)
CUPTI_ACTIVITY_KIND_DRIVER = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_DRIVER', 4)
CUPTI_ACTIVITY_KIND_RUNTIME = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_RUNTIME', 5)
CUPTI_ACTIVITY_KIND_EVENT = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_EVENT', 6)
CUPTI_ACTIVITY_KIND_METRIC = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_METRIC', 7)
CUPTI_ACTIVITY_KIND_DEVICE = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_DEVICE', 8)
CUPTI_ACTIVITY_KIND_CONTEXT = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_CONTEXT', 9)
CUPTI_ACTIVITY_KIND_CONCURRENT_KERNEL = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_CONCURRENT_KERNEL', 10)
CUPTI_ACTIVITY_KIND_NAME = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_NAME', 11)
CUPTI_ACTIVITY_KIND_MARKER = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_MARKER', 12)
CUPTI_ACTIVITY_KIND_MARKER_DATA = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_MARKER_DATA', 13)
CUPTI_ACTIVITY_KIND_SOURCE_LOCATOR = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_SOURCE_LOCATOR', 14)
CUPTI_ACTIVITY_KIND_GLOBAL_ACCESS = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_GLOBAL_ACCESS', 15)
CUPTI_ACTIVITY_KIND_BRANCH = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_BRANCH', 16)
CUPTI_ACTIVITY_KIND_OVERHEAD = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_OVERHEAD', 17)
CUPTI_ACTIVITY_KIND_CDP_KERNEL = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_CDP_KERNEL', 18)
CUPTI_ACTIVITY_KIND_PREEMPTION = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_PREEMPTION', 19)
CUPTI_ACTIVITY_KIND_ENVIRONMENT = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_ENVIRONMENT', 20)
CUPTI_ACTIVITY_KIND_EVENT_INSTANCE = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_EVENT_INSTANCE', 21)
CUPTI_ACTIVITY_KIND_MEMCPY2 = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_MEMCPY2', 22)
CUPTI_ACTIVITY_KIND_METRIC_INSTANCE = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_METRIC_INSTANCE', 23)
CUPTI_ACTIVITY_KIND_INSTRUCTION_EXECUTION = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_INSTRUCTION_EXECUTION', 24)
CUPTI_ACTIVITY_KIND_UNIFIED_MEMORY_COUNTER = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_UNIFIED_MEMORY_COUNTER', 25)
CUPTI_ACTIVITY_KIND_FUNCTION = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_FUNCTION', 26)
CUPTI_ACTIVITY_KIND_MODULE = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_MODULE', 27)
CUPTI_ACTIVITY_KIND_DEVICE_ATTRIBUTE = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_DEVICE_ATTRIBUTE', 28)
CUPTI_ACTIVITY_KIND_SHARED_ACCESS = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_SHARED_ACCESS', 29)
CUPTI_ACTIVITY_KIND_PC_SAMPLING = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_PC_SAMPLING', 30)
CUPTI_ACTIVITY_KIND_PC_SAMPLING_RECORD_INFO = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_PC_SAMPLING_RECORD_INFO', 31)
CUPTI_ACTIVITY_KIND_INSTRUCTION_CORRELATION = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_INSTRUCTION_CORRELATION', 32)
CUPTI_ACTIVITY_KIND_OPENACC_DATA = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_OPENACC_DATA', 33)
CUPTI_ACTIVITY_KIND_OPENACC_LAUNCH = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_OPENACC_LAUNCH', 34)
CUPTI_ACTIVITY_KIND_OPENACC_OTHER = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_OPENACC_OTHER', 35)
CUPTI_ACTIVITY_KIND_CUDA_EVENT = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_CUDA_EVENT', 36)
CUPTI_ACTIVITY_KIND_STREAM = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_STREAM', 37)
CUPTI_ACTIVITY_KIND_SYNCHRONIZATION = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_SYNCHRONIZATION', 38)
CUPTI_ACTIVITY_KIND_EXTERNAL_CORRELATION = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_EXTERNAL_CORRELATION', 39)
CUPTI_ACTIVITY_KIND_NVLINK = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_NVLINK', 40)
CUPTI_ACTIVITY_KIND_INSTANTANEOUS_EVENT = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_INSTANTANEOUS_EVENT', 41)
CUPTI_ACTIVITY_KIND_INSTANTANEOUS_EVENT_INSTANCE = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_INSTANTANEOUS_EVENT_INSTANCE', 42)
CUPTI_ACTIVITY_KIND_INSTANTANEOUS_METRIC = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_INSTANTANEOUS_METRIC', 43)
CUPTI_ACTIVITY_KIND_INSTANTANEOUS_METRIC_INSTANCE = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_INSTANTANEOUS_METRIC_INSTANCE', 44)
CUPTI_ACTIVITY_KIND_MEMORY = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_MEMORY', 45)
CUPTI_ACTIVITY_KIND_PCIE = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_PCIE', 46)
CUPTI_ACTIVITY_KIND_OPENMP = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_OPENMP', 47)
CUPTI_ACTIVITY_KIND_INTERNAL_LAUNCH_API = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_INTERNAL_LAUNCH_API', 48)
CUPTI_ACTIVITY_KIND_MEMORY2 = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_MEMORY2', 49)
CUPTI_ACTIVITY_KIND_MEMORY_POOL = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_MEMORY_POOL', 50)
CUPTI_ACTIVITY_KIND_GRAPH_TRACE = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_GRAPH_TRACE', 51)
CUPTI_ACTIVITY_KIND_JIT = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_JIT', 52)
CUPTI_ACTIVITY_KIND_DEVICE_GRAPH_TRACE = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_DEVICE_GRAPH_TRACE', 53)
CUPTI_ACTIVITY_KIND_MEM_DECOMPRESS = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_MEM_DECOMPRESS', 54)
CUPTI_ACTIVITY_KIND_COUNT = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_COUNT', 55)
CUPTI_ACTIVITY_KIND_FORCE_INT = CUpti_ActivityKind.define('CUPTI_ACTIVITY_KIND_FORCE_INT', 2147483647)

class CUpti_ActivityObjectKind(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_OBJECT_UNKNOWN = CUpti_ActivityObjectKind.define('CUPTI_ACTIVITY_OBJECT_UNKNOWN', 0)
CUPTI_ACTIVITY_OBJECT_PROCESS = CUpti_ActivityObjectKind.define('CUPTI_ACTIVITY_OBJECT_PROCESS', 1)
CUPTI_ACTIVITY_OBJECT_THREAD = CUpti_ActivityObjectKind.define('CUPTI_ACTIVITY_OBJECT_THREAD', 2)
CUPTI_ACTIVITY_OBJECT_DEVICE = CUpti_ActivityObjectKind.define('CUPTI_ACTIVITY_OBJECT_DEVICE', 3)
CUPTI_ACTIVITY_OBJECT_CONTEXT = CUpti_ActivityObjectKind.define('CUPTI_ACTIVITY_OBJECT_CONTEXT', 4)
CUPTI_ACTIVITY_OBJECT_STREAM = CUpti_ActivityObjectKind.define('CUPTI_ACTIVITY_OBJECT_STREAM', 5)
CUPTI_ACTIVITY_OBJECT_FORCE_INT = CUpti_ActivityObjectKind.define('CUPTI_ACTIVITY_OBJECT_FORCE_INT', 2147483647)

@c.record
class CUpti_ActivityObjectKindId(c.Struct):
  SIZE = 12
  pt: Annotated[CUpti_ActivityObjectKindId_pt, 0]
  dcs: Annotated[CUpti_ActivityObjectKindId_dcs, 0]
@c.record
class CUpti_ActivityObjectKindId_pt(c.Struct):
  SIZE = 8
  processId: Annotated[uint32_t, 0]
  threadId: Annotated[uint32_t, 4]
uint32_t: TypeAlias = Annotated[int, ctypes.c_uint32]
@c.record
class CUpti_ActivityObjectKindId_dcs(c.Struct):
  SIZE = 12
  deviceId: Annotated[uint32_t, 0]
  contextId: Annotated[uint32_t, 4]
  streamId: Annotated[uint32_t, 8]
@c.record
class CUpti_ActivityOverheadCommandBufferFullData(c.Struct):
  SIZE = 12
  commandBufferLength: Annotated[uint32_t, 0]
  channelID: Annotated[uint32_t, 4]
  channelType: Annotated[uint32_t, 8]
class CUpti_ActivityOverheadKind(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_OVERHEAD_UNKNOWN = CUpti_ActivityOverheadKind.define('CUPTI_ACTIVITY_OVERHEAD_UNKNOWN', 0)
CUPTI_ACTIVITY_OVERHEAD_DRIVER_COMPILER = CUpti_ActivityOverheadKind.define('CUPTI_ACTIVITY_OVERHEAD_DRIVER_COMPILER', 1)
CUPTI_ACTIVITY_OVERHEAD_CUPTI_BUFFER_FLUSH = CUpti_ActivityOverheadKind.define('CUPTI_ACTIVITY_OVERHEAD_CUPTI_BUFFER_FLUSH', 65536)
CUPTI_ACTIVITY_OVERHEAD_CUPTI_INSTRUMENTATION = CUpti_ActivityOverheadKind.define('CUPTI_ACTIVITY_OVERHEAD_CUPTI_INSTRUMENTATION', 131072)
CUPTI_ACTIVITY_OVERHEAD_CUPTI_RESOURCE = CUpti_ActivityOverheadKind.define('CUPTI_ACTIVITY_OVERHEAD_CUPTI_RESOURCE', 196608)
CUPTI_ACTIVITY_OVERHEAD_RUNTIME_TRIGGERED_MODULE_LOADING = CUpti_ActivityOverheadKind.define('CUPTI_ACTIVITY_OVERHEAD_RUNTIME_TRIGGERED_MODULE_LOADING', 262144)
CUPTI_ACTIVITY_OVERHEAD_LAZY_FUNCTION_LOADING = CUpti_ActivityOverheadKind.define('CUPTI_ACTIVITY_OVERHEAD_LAZY_FUNCTION_LOADING', 327680)
CUPTI_ACTIVITY_OVERHEAD_COMMAND_BUFFER_FULL = CUpti_ActivityOverheadKind.define('CUPTI_ACTIVITY_OVERHEAD_COMMAND_BUFFER_FULL', 393216)
CUPTI_ACTIVITY_OVERHEAD_ACTIVITY_BUFFER_REQUEST = CUpti_ActivityOverheadKind.define('CUPTI_ACTIVITY_OVERHEAD_ACTIVITY_BUFFER_REQUEST', 458752)
CUPTI_ACTIVITY_OVERHEAD_UVM_ACTIVITY_INIT = CUpti_ActivityOverheadKind.define('CUPTI_ACTIVITY_OVERHEAD_UVM_ACTIVITY_INIT', 524288)
CUPTI_ACTIVITY_OVERHEAD_FORCE_INT = CUpti_ActivityOverheadKind.define('CUPTI_ACTIVITY_OVERHEAD_FORCE_INT', 2147483647)

class CUpti_ActivityComputeApiKind(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_COMPUTE_API_UNKNOWN = CUpti_ActivityComputeApiKind.define('CUPTI_ACTIVITY_COMPUTE_API_UNKNOWN', 0)
CUPTI_ACTIVITY_COMPUTE_API_CUDA = CUpti_ActivityComputeApiKind.define('CUPTI_ACTIVITY_COMPUTE_API_CUDA', 1)
CUPTI_ACTIVITY_COMPUTE_API_CUDA_MPS = CUpti_ActivityComputeApiKind.define('CUPTI_ACTIVITY_COMPUTE_API_CUDA_MPS', 2)
CUPTI_ACTIVITY_COMPUTE_API_FORCE_INT = CUpti_ActivityComputeApiKind.define('CUPTI_ACTIVITY_COMPUTE_API_FORCE_INT', 2147483647)

class CUpti_ActivityFlag(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_FLAG_NONE = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_NONE', 0)
CUPTI_ACTIVITY_FLAG_DEVICE_CONCURRENT_KERNELS = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_DEVICE_CONCURRENT_KERNELS', 1)
CUPTI_ACTIVITY_FLAG_DEVICE_ATTRIBUTE_CUDEVICE = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_DEVICE_ATTRIBUTE_CUDEVICE', 1)
CUPTI_ACTIVITY_FLAG_MEMCPY_ASYNC = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_MEMCPY_ASYNC', 1)
CUPTI_ACTIVITY_FLAG_MARKER_INSTANTANEOUS = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_MARKER_INSTANTANEOUS', 1)
CUPTI_ACTIVITY_FLAG_MARKER_START = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_MARKER_START', 2)
CUPTI_ACTIVITY_FLAG_MARKER_END = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_MARKER_END', 4)
CUPTI_ACTIVITY_FLAG_MARKER_SYNC_ACQUIRE = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_MARKER_SYNC_ACQUIRE', 8)
CUPTI_ACTIVITY_FLAG_MARKER_SYNC_ACQUIRE_SUCCESS = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_MARKER_SYNC_ACQUIRE_SUCCESS', 16)
CUPTI_ACTIVITY_FLAG_MARKER_SYNC_ACQUIRE_FAILED = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_MARKER_SYNC_ACQUIRE_FAILED', 32)
CUPTI_ACTIVITY_FLAG_MARKER_SYNC_RELEASE = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_MARKER_SYNC_RELEASE', 64)
CUPTI_ACTIVITY_FLAG_MARKER_COLOR_NONE = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_MARKER_COLOR_NONE', 1)
CUPTI_ACTIVITY_FLAG_MARKER_COLOR_ARGB = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_MARKER_COLOR_ARGB', 2)
CUPTI_ACTIVITY_FLAG_GLOBAL_ACCESS_KIND_SIZE_MASK = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_GLOBAL_ACCESS_KIND_SIZE_MASK', 255)
CUPTI_ACTIVITY_FLAG_GLOBAL_ACCESS_KIND_LOAD = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_GLOBAL_ACCESS_KIND_LOAD', 256)
CUPTI_ACTIVITY_FLAG_GLOBAL_ACCESS_KIND_CACHED = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_GLOBAL_ACCESS_KIND_CACHED', 512)
CUPTI_ACTIVITY_FLAG_METRIC_OVERFLOWED = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_METRIC_OVERFLOWED', 1)
CUPTI_ACTIVITY_FLAG_METRIC_VALUE_INVALID = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_METRIC_VALUE_INVALID', 2)
CUPTI_ACTIVITY_FLAG_INSTRUCTION_VALUE_INVALID = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_INSTRUCTION_VALUE_INVALID', 1)
CUPTI_ACTIVITY_FLAG_INSTRUCTION_CLASS_MASK = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_INSTRUCTION_CLASS_MASK', 510)
CUPTI_ACTIVITY_FLAG_FLUSH_FORCED = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_FLUSH_FORCED', 1)
CUPTI_ACTIVITY_FLAG_SHARED_ACCESS_KIND_SIZE_MASK = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_SHARED_ACCESS_KIND_SIZE_MASK', 255)
CUPTI_ACTIVITY_FLAG_SHARED_ACCESS_KIND_LOAD = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_SHARED_ACCESS_KIND_LOAD', 256)
CUPTI_ACTIVITY_FLAG_MEMSET_ASYNC = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_MEMSET_ASYNC', 1)
CUPTI_ACTIVITY_FLAG_THRASHING_IN_CPU = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_THRASHING_IN_CPU', 1)
CUPTI_ACTIVITY_FLAG_THROTTLING_IN_CPU = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_THROTTLING_IN_CPU', 1)
CUPTI_ACTIVITY_FLAG_FORCE_INT = CUpti_ActivityFlag.define('CUPTI_ACTIVITY_FLAG_FORCE_INT', 2147483647)

class CUpti_ActivityPCSamplingStallReason(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_PC_SAMPLING_STALL_INVALID = CUpti_ActivityPCSamplingStallReason.define('CUPTI_ACTIVITY_PC_SAMPLING_STALL_INVALID', 0)
CUPTI_ACTIVITY_PC_SAMPLING_STALL_NONE = CUpti_ActivityPCSamplingStallReason.define('CUPTI_ACTIVITY_PC_SAMPLING_STALL_NONE', 1)
CUPTI_ACTIVITY_PC_SAMPLING_STALL_INST_FETCH = CUpti_ActivityPCSamplingStallReason.define('CUPTI_ACTIVITY_PC_SAMPLING_STALL_INST_FETCH', 2)
CUPTI_ACTIVITY_PC_SAMPLING_STALL_EXEC_DEPENDENCY = CUpti_ActivityPCSamplingStallReason.define('CUPTI_ACTIVITY_PC_SAMPLING_STALL_EXEC_DEPENDENCY', 3)
CUPTI_ACTIVITY_PC_SAMPLING_STALL_MEMORY_DEPENDENCY = CUpti_ActivityPCSamplingStallReason.define('CUPTI_ACTIVITY_PC_SAMPLING_STALL_MEMORY_DEPENDENCY', 4)
CUPTI_ACTIVITY_PC_SAMPLING_STALL_TEXTURE = CUpti_ActivityPCSamplingStallReason.define('CUPTI_ACTIVITY_PC_SAMPLING_STALL_TEXTURE', 5)
CUPTI_ACTIVITY_PC_SAMPLING_STALL_SYNC = CUpti_ActivityPCSamplingStallReason.define('CUPTI_ACTIVITY_PC_SAMPLING_STALL_SYNC', 6)
CUPTI_ACTIVITY_PC_SAMPLING_STALL_CONSTANT_MEMORY_DEPENDENCY = CUpti_ActivityPCSamplingStallReason.define('CUPTI_ACTIVITY_PC_SAMPLING_STALL_CONSTANT_MEMORY_DEPENDENCY', 7)
CUPTI_ACTIVITY_PC_SAMPLING_STALL_PIPE_BUSY = CUpti_ActivityPCSamplingStallReason.define('CUPTI_ACTIVITY_PC_SAMPLING_STALL_PIPE_BUSY', 8)
CUPTI_ACTIVITY_PC_SAMPLING_STALL_MEMORY_THROTTLE = CUpti_ActivityPCSamplingStallReason.define('CUPTI_ACTIVITY_PC_SAMPLING_STALL_MEMORY_THROTTLE', 9)
CUPTI_ACTIVITY_PC_SAMPLING_STALL_NOT_SELECTED = CUpti_ActivityPCSamplingStallReason.define('CUPTI_ACTIVITY_PC_SAMPLING_STALL_NOT_SELECTED', 10)
CUPTI_ACTIVITY_PC_SAMPLING_STALL_OTHER = CUpti_ActivityPCSamplingStallReason.define('CUPTI_ACTIVITY_PC_SAMPLING_STALL_OTHER', 11)
CUPTI_ACTIVITY_PC_SAMPLING_STALL_SLEEPING = CUpti_ActivityPCSamplingStallReason.define('CUPTI_ACTIVITY_PC_SAMPLING_STALL_SLEEPING', 12)
CUPTI_ACTIVITY_PC_SAMPLING_STALL_FORCE_INT = CUpti_ActivityPCSamplingStallReason.define('CUPTI_ACTIVITY_PC_SAMPLING_STALL_FORCE_INT', 2147483647)

class CUpti_ActivityPCSamplingPeriod(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_PC_SAMPLING_PERIOD_INVALID = CUpti_ActivityPCSamplingPeriod.define('CUPTI_ACTIVITY_PC_SAMPLING_PERIOD_INVALID', 0)
CUPTI_ACTIVITY_PC_SAMPLING_PERIOD_MIN = CUpti_ActivityPCSamplingPeriod.define('CUPTI_ACTIVITY_PC_SAMPLING_PERIOD_MIN', 1)
CUPTI_ACTIVITY_PC_SAMPLING_PERIOD_LOW = CUpti_ActivityPCSamplingPeriod.define('CUPTI_ACTIVITY_PC_SAMPLING_PERIOD_LOW', 2)
CUPTI_ACTIVITY_PC_SAMPLING_PERIOD_MID = CUpti_ActivityPCSamplingPeriod.define('CUPTI_ACTIVITY_PC_SAMPLING_PERIOD_MID', 3)
CUPTI_ACTIVITY_PC_SAMPLING_PERIOD_HIGH = CUpti_ActivityPCSamplingPeriod.define('CUPTI_ACTIVITY_PC_SAMPLING_PERIOD_HIGH', 4)
CUPTI_ACTIVITY_PC_SAMPLING_PERIOD_MAX = CUpti_ActivityPCSamplingPeriod.define('CUPTI_ACTIVITY_PC_SAMPLING_PERIOD_MAX', 5)
CUPTI_ACTIVITY_PC_SAMPLING_PERIOD_FORCE_INT = CUpti_ActivityPCSamplingPeriod.define('CUPTI_ACTIVITY_PC_SAMPLING_PERIOD_FORCE_INT', 2147483647)

class CUpti_ActivityMemcpyKind(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_MEMCPY_KIND_UNKNOWN = CUpti_ActivityMemcpyKind.define('CUPTI_ACTIVITY_MEMCPY_KIND_UNKNOWN', 0)
CUPTI_ACTIVITY_MEMCPY_KIND_HTOD = CUpti_ActivityMemcpyKind.define('CUPTI_ACTIVITY_MEMCPY_KIND_HTOD', 1)
CUPTI_ACTIVITY_MEMCPY_KIND_DTOH = CUpti_ActivityMemcpyKind.define('CUPTI_ACTIVITY_MEMCPY_KIND_DTOH', 2)
CUPTI_ACTIVITY_MEMCPY_KIND_HTOA = CUpti_ActivityMemcpyKind.define('CUPTI_ACTIVITY_MEMCPY_KIND_HTOA', 3)
CUPTI_ACTIVITY_MEMCPY_KIND_ATOH = CUpti_ActivityMemcpyKind.define('CUPTI_ACTIVITY_MEMCPY_KIND_ATOH', 4)
CUPTI_ACTIVITY_MEMCPY_KIND_ATOA = CUpti_ActivityMemcpyKind.define('CUPTI_ACTIVITY_MEMCPY_KIND_ATOA', 5)
CUPTI_ACTIVITY_MEMCPY_KIND_ATOD = CUpti_ActivityMemcpyKind.define('CUPTI_ACTIVITY_MEMCPY_KIND_ATOD', 6)
CUPTI_ACTIVITY_MEMCPY_KIND_DTOA = CUpti_ActivityMemcpyKind.define('CUPTI_ACTIVITY_MEMCPY_KIND_DTOA', 7)
CUPTI_ACTIVITY_MEMCPY_KIND_DTOD = CUpti_ActivityMemcpyKind.define('CUPTI_ACTIVITY_MEMCPY_KIND_DTOD', 8)
CUPTI_ACTIVITY_MEMCPY_KIND_HTOH = CUpti_ActivityMemcpyKind.define('CUPTI_ACTIVITY_MEMCPY_KIND_HTOH', 9)
CUPTI_ACTIVITY_MEMCPY_KIND_PTOP = CUpti_ActivityMemcpyKind.define('CUPTI_ACTIVITY_MEMCPY_KIND_PTOP', 10)
CUPTI_ACTIVITY_MEMCPY_KIND_FORCE_INT = CUpti_ActivityMemcpyKind.define('CUPTI_ACTIVITY_MEMCPY_KIND_FORCE_INT', 2147483647)

class CUpti_ActivityMemoryKind(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_MEMORY_KIND_UNKNOWN = CUpti_ActivityMemoryKind.define('CUPTI_ACTIVITY_MEMORY_KIND_UNKNOWN', 0)
CUPTI_ACTIVITY_MEMORY_KIND_PAGEABLE = CUpti_ActivityMemoryKind.define('CUPTI_ACTIVITY_MEMORY_KIND_PAGEABLE', 1)
CUPTI_ACTIVITY_MEMORY_KIND_PINNED = CUpti_ActivityMemoryKind.define('CUPTI_ACTIVITY_MEMORY_KIND_PINNED', 2)
CUPTI_ACTIVITY_MEMORY_KIND_DEVICE = CUpti_ActivityMemoryKind.define('CUPTI_ACTIVITY_MEMORY_KIND_DEVICE', 3)
CUPTI_ACTIVITY_MEMORY_KIND_ARRAY = CUpti_ActivityMemoryKind.define('CUPTI_ACTIVITY_MEMORY_KIND_ARRAY', 4)
CUPTI_ACTIVITY_MEMORY_KIND_MANAGED = CUpti_ActivityMemoryKind.define('CUPTI_ACTIVITY_MEMORY_KIND_MANAGED', 5)
CUPTI_ACTIVITY_MEMORY_KIND_DEVICE_STATIC = CUpti_ActivityMemoryKind.define('CUPTI_ACTIVITY_MEMORY_KIND_DEVICE_STATIC', 6)
CUPTI_ACTIVITY_MEMORY_KIND_MANAGED_STATIC = CUpti_ActivityMemoryKind.define('CUPTI_ACTIVITY_MEMORY_KIND_MANAGED_STATIC', 7)
CUPTI_ACTIVITY_MEMORY_KIND_FORCE_INT = CUpti_ActivityMemoryKind.define('CUPTI_ACTIVITY_MEMORY_KIND_FORCE_INT', 2147483647)

class CUpti_ActivityPreemptionKind(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_PREEMPTION_KIND_UNKNOWN = CUpti_ActivityPreemptionKind.define('CUPTI_ACTIVITY_PREEMPTION_KIND_UNKNOWN', 0)
CUPTI_ACTIVITY_PREEMPTION_KIND_SAVE = CUpti_ActivityPreemptionKind.define('CUPTI_ACTIVITY_PREEMPTION_KIND_SAVE', 1)
CUPTI_ACTIVITY_PREEMPTION_KIND_RESTORE = CUpti_ActivityPreemptionKind.define('CUPTI_ACTIVITY_PREEMPTION_KIND_RESTORE', 2)
CUPTI_ACTIVITY_PREEMPTION_KIND_FORCE_INT = CUpti_ActivityPreemptionKind.define('CUPTI_ACTIVITY_PREEMPTION_KIND_FORCE_INT', 2147483647)

class CUpti_ActivityEnvironmentKind(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_ENVIRONMENT_UNKNOWN = CUpti_ActivityEnvironmentKind.define('CUPTI_ACTIVITY_ENVIRONMENT_UNKNOWN', 0)
CUPTI_ACTIVITY_ENVIRONMENT_SPEED = CUpti_ActivityEnvironmentKind.define('CUPTI_ACTIVITY_ENVIRONMENT_SPEED', 1)
CUPTI_ACTIVITY_ENVIRONMENT_TEMPERATURE = CUpti_ActivityEnvironmentKind.define('CUPTI_ACTIVITY_ENVIRONMENT_TEMPERATURE', 2)
CUPTI_ACTIVITY_ENVIRONMENT_POWER = CUpti_ActivityEnvironmentKind.define('CUPTI_ACTIVITY_ENVIRONMENT_POWER', 3)
CUPTI_ACTIVITY_ENVIRONMENT_COOLING = CUpti_ActivityEnvironmentKind.define('CUPTI_ACTIVITY_ENVIRONMENT_COOLING', 4)
CUPTI_ACTIVITY_ENVIRONMENT_COUNT = CUpti_ActivityEnvironmentKind.define('CUPTI_ACTIVITY_ENVIRONMENT_COUNT', 5)
CUPTI_ACTIVITY_ENVIRONMENT_KIND_FORCE_INT = CUpti_ActivityEnvironmentKind.define('CUPTI_ACTIVITY_ENVIRONMENT_KIND_FORCE_INT', 2147483647)

class CUpti_EnvironmentClocksThrottleReason(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_CLOCKS_THROTTLE_REASON_GPU_IDLE = CUpti_EnvironmentClocksThrottleReason.define('CUPTI_CLOCKS_THROTTLE_REASON_GPU_IDLE', 1)
CUPTI_CLOCKS_THROTTLE_REASON_USER_DEFINED_CLOCKS = CUpti_EnvironmentClocksThrottleReason.define('CUPTI_CLOCKS_THROTTLE_REASON_USER_DEFINED_CLOCKS', 2)
CUPTI_CLOCKS_THROTTLE_REASON_SW_POWER_CAP = CUpti_EnvironmentClocksThrottleReason.define('CUPTI_CLOCKS_THROTTLE_REASON_SW_POWER_CAP', 4)
CUPTI_CLOCKS_THROTTLE_REASON_HW_SLOWDOWN = CUpti_EnvironmentClocksThrottleReason.define('CUPTI_CLOCKS_THROTTLE_REASON_HW_SLOWDOWN', 8)
CUPTI_CLOCKS_THROTTLE_REASON_UNKNOWN = CUpti_EnvironmentClocksThrottleReason.define('CUPTI_CLOCKS_THROTTLE_REASON_UNKNOWN', 2147483648)
CUPTI_CLOCKS_THROTTLE_REASON_UNSUPPORTED = CUpti_EnvironmentClocksThrottleReason.define('CUPTI_CLOCKS_THROTTLE_REASON_UNSUPPORTED', 1073741824)
CUPTI_CLOCKS_THROTTLE_REASON_NONE = CUpti_EnvironmentClocksThrottleReason.define('CUPTI_CLOCKS_THROTTLE_REASON_NONE', 0)
CUPTI_CLOCKS_THROTTLE_REASON_FORCE_INT = CUpti_EnvironmentClocksThrottleReason.define('CUPTI_CLOCKS_THROTTLE_REASON_FORCE_INT', 2147483647)

class CUpti_ActivityUnifiedMemoryCounterScope(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_SCOPE_UNKNOWN = CUpti_ActivityUnifiedMemoryCounterScope.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_SCOPE_UNKNOWN', 0)
CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_SCOPE_PROCESS_SINGLE_DEVICE = CUpti_ActivityUnifiedMemoryCounterScope.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_SCOPE_PROCESS_SINGLE_DEVICE', 1)
CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_SCOPE_PROCESS_ALL_DEVICES = CUpti_ActivityUnifiedMemoryCounterScope.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_SCOPE_PROCESS_ALL_DEVICES', 2)
CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_SCOPE_COUNT = CUpti_ActivityUnifiedMemoryCounterScope.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_SCOPE_COUNT', 3)
CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_SCOPE_FORCE_INT = CUpti_ActivityUnifiedMemoryCounterScope.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_SCOPE_FORCE_INT', 2147483647)

class CUpti_ActivityUnifiedMemoryCounterKind(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_UNKNOWN = CUpti_ActivityUnifiedMemoryCounterKind.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_UNKNOWN', 0)
CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_BYTES_TRANSFER_HTOD = CUpti_ActivityUnifiedMemoryCounterKind.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_BYTES_TRANSFER_HTOD', 1)
CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_BYTES_TRANSFER_DTOH = CUpti_ActivityUnifiedMemoryCounterKind.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_BYTES_TRANSFER_DTOH', 2)
CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_CPU_PAGE_FAULT_COUNT = CUpti_ActivityUnifiedMemoryCounterKind.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_CPU_PAGE_FAULT_COUNT', 3)
CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_GPU_PAGE_FAULT = CUpti_ActivityUnifiedMemoryCounterKind.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_GPU_PAGE_FAULT', 4)
CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_THRASHING = CUpti_ActivityUnifiedMemoryCounterKind.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_THRASHING', 5)
CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_THROTTLING = CUpti_ActivityUnifiedMemoryCounterKind.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_THROTTLING', 6)
CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_REMOTE_MAP = CUpti_ActivityUnifiedMemoryCounterKind.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_REMOTE_MAP', 7)
CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_BYTES_TRANSFER_DTOD = CUpti_ActivityUnifiedMemoryCounterKind.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_BYTES_TRANSFER_DTOD', 8)
CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_COUNT = CUpti_ActivityUnifiedMemoryCounterKind.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_COUNT', 9)
CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_FORCE_INT = CUpti_ActivityUnifiedMemoryCounterKind.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_COUNTER_KIND_FORCE_INT', 2147483647)

class CUpti_ActivityUnifiedMemoryAccessType(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_UNIFIED_MEMORY_ACCESS_TYPE_UNKNOWN = CUpti_ActivityUnifiedMemoryAccessType.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_ACCESS_TYPE_UNKNOWN', 0)
CUPTI_ACTIVITY_UNIFIED_MEMORY_ACCESS_TYPE_READ = CUpti_ActivityUnifiedMemoryAccessType.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_ACCESS_TYPE_READ', 1)
CUPTI_ACTIVITY_UNIFIED_MEMORY_ACCESS_TYPE_WRITE = CUpti_ActivityUnifiedMemoryAccessType.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_ACCESS_TYPE_WRITE', 2)
CUPTI_ACTIVITY_UNIFIED_MEMORY_ACCESS_TYPE_ATOMIC = CUpti_ActivityUnifiedMemoryAccessType.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_ACCESS_TYPE_ATOMIC', 3)
CUPTI_ACTIVITY_UNIFIED_MEMORY_ACCESS_TYPE_PREFETCH = CUpti_ActivityUnifiedMemoryAccessType.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_ACCESS_TYPE_PREFETCH', 4)

class CUpti_ActivityUnifiedMemoryMigrationCause(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_UNIFIED_MEMORY_MIGRATION_CAUSE_UNKNOWN = CUpti_ActivityUnifiedMemoryMigrationCause.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_MIGRATION_CAUSE_UNKNOWN', 0)
CUPTI_ACTIVITY_UNIFIED_MEMORY_MIGRATION_CAUSE_USER = CUpti_ActivityUnifiedMemoryMigrationCause.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_MIGRATION_CAUSE_USER', 1)
CUPTI_ACTIVITY_UNIFIED_MEMORY_MIGRATION_CAUSE_COHERENCE = CUpti_ActivityUnifiedMemoryMigrationCause.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_MIGRATION_CAUSE_COHERENCE', 2)
CUPTI_ACTIVITY_UNIFIED_MEMORY_MIGRATION_CAUSE_PREFETCH = CUpti_ActivityUnifiedMemoryMigrationCause.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_MIGRATION_CAUSE_PREFETCH', 3)
CUPTI_ACTIVITY_UNIFIED_MEMORY_MIGRATION_CAUSE_EVICTION = CUpti_ActivityUnifiedMemoryMigrationCause.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_MIGRATION_CAUSE_EVICTION', 4)
CUPTI_ACTIVITY_UNIFIED_MEMORY_MIGRATION_CAUSE_ACCESS_COUNTERS = CUpti_ActivityUnifiedMemoryMigrationCause.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_MIGRATION_CAUSE_ACCESS_COUNTERS', 5)

class CUpti_ActivityUnifiedMemoryRemoteMapCause(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_UNIFIED_MEMORY_REMOTE_MAP_CAUSE_UNKNOWN = CUpti_ActivityUnifiedMemoryRemoteMapCause.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_REMOTE_MAP_CAUSE_UNKNOWN', 0)
CUPTI_ACTIVITY_UNIFIED_MEMORY_REMOTE_MAP_CAUSE_COHERENCE = CUpti_ActivityUnifiedMemoryRemoteMapCause.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_REMOTE_MAP_CAUSE_COHERENCE', 1)
CUPTI_ACTIVITY_UNIFIED_MEMORY_REMOTE_MAP_CAUSE_THRASHING = CUpti_ActivityUnifiedMemoryRemoteMapCause.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_REMOTE_MAP_CAUSE_THRASHING', 2)
CUPTI_ACTIVITY_UNIFIED_MEMORY_REMOTE_MAP_CAUSE_POLICY = CUpti_ActivityUnifiedMemoryRemoteMapCause.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_REMOTE_MAP_CAUSE_POLICY', 3)
CUPTI_ACTIVITY_UNIFIED_MEMORY_REMOTE_MAP_CAUSE_OUT_OF_MEMORY = CUpti_ActivityUnifiedMemoryRemoteMapCause.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_REMOTE_MAP_CAUSE_OUT_OF_MEMORY', 4)
CUPTI_ACTIVITY_UNIFIED_MEMORY_REMOTE_MAP_CAUSE_EVICTION = CUpti_ActivityUnifiedMemoryRemoteMapCause.define('CUPTI_ACTIVITY_UNIFIED_MEMORY_REMOTE_MAP_CAUSE_EVICTION', 5)

class CUpti_ActivityInstructionClass(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_INSTRUCTION_CLASS_UNKNOWN = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_UNKNOWN', 0)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_FP_32 = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_FP_32', 1)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_FP_64 = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_FP_64', 2)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_INTEGER = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_INTEGER', 3)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_BIT_CONVERSION = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_BIT_CONVERSION', 4)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_CONTROL_FLOW = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_CONTROL_FLOW', 5)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_GLOBAL = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_GLOBAL', 6)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_SHARED = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_SHARED', 7)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_LOCAL = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_LOCAL', 8)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_GENERIC = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_GENERIC', 9)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_SURFACE = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_SURFACE', 10)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_CONSTANT = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_CONSTANT', 11)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_TEXTURE = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_TEXTURE', 12)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_GLOBAL_ATOMIC = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_GLOBAL_ATOMIC', 13)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_SHARED_ATOMIC = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_SHARED_ATOMIC', 14)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_SURFACE_ATOMIC = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_SURFACE_ATOMIC', 15)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_INTER_THREAD_COMMUNICATION = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_INTER_THREAD_COMMUNICATION', 16)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_BARRIER = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_BARRIER', 17)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_MISCELLANEOUS = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_MISCELLANEOUS', 18)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_FP_16 = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_FP_16', 19)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_UNIFORM = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_UNIFORM', 20)
CUPTI_ACTIVITY_INSTRUCTION_CLASS_KIND_FORCE_INT = CUpti_ActivityInstructionClass.define('CUPTI_ACTIVITY_INSTRUCTION_CLASS_KIND_FORCE_INT', 2147483647)

class CUpti_ActivityPartitionedGlobalCacheConfig(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_PARTITIONED_GLOBAL_CACHE_CONFIG_UNKNOWN = CUpti_ActivityPartitionedGlobalCacheConfig.define('CUPTI_ACTIVITY_PARTITIONED_GLOBAL_CACHE_CONFIG_UNKNOWN', 0)
CUPTI_ACTIVITY_PARTITIONED_GLOBAL_CACHE_CONFIG_NOT_SUPPORTED = CUpti_ActivityPartitionedGlobalCacheConfig.define('CUPTI_ACTIVITY_PARTITIONED_GLOBAL_CACHE_CONFIG_NOT_SUPPORTED', 1)
CUPTI_ACTIVITY_PARTITIONED_GLOBAL_CACHE_CONFIG_OFF = CUpti_ActivityPartitionedGlobalCacheConfig.define('CUPTI_ACTIVITY_PARTITIONED_GLOBAL_CACHE_CONFIG_OFF', 2)
CUPTI_ACTIVITY_PARTITIONED_GLOBAL_CACHE_CONFIG_ON = CUpti_ActivityPartitionedGlobalCacheConfig.define('CUPTI_ACTIVITY_PARTITIONED_GLOBAL_CACHE_CONFIG_ON', 3)
CUPTI_ACTIVITY_PARTITIONED_GLOBAL_CACHE_CONFIG_FORCE_INT = CUpti_ActivityPartitionedGlobalCacheConfig.define('CUPTI_ACTIVITY_PARTITIONED_GLOBAL_CACHE_CONFIG_FORCE_INT', 2147483647)

class CUpti_ActivitySynchronizationType(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_SYNCHRONIZATION_TYPE_UNKNOWN = CUpti_ActivitySynchronizationType.define('CUPTI_ACTIVITY_SYNCHRONIZATION_TYPE_UNKNOWN', 0)
CUPTI_ACTIVITY_SYNCHRONIZATION_TYPE_EVENT_SYNCHRONIZE = CUpti_ActivitySynchronizationType.define('CUPTI_ACTIVITY_SYNCHRONIZATION_TYPE_EVENT_SYNCHRONIZE', 1)
CUPTI_ACTIVITY_SYNCHRONIZATION_TYPE_STREAM_WAIT_EVENT = CUpti_ActivitySynchronizationType.define('CUPTI_ACTIVITY_SYNCHRONIZATION_TYPE_STREAM_WAIT_EVENT', 2)
CUPTI_ACTIVITY_SYNCHRONIZATION_TYPE_STREAM_SYNCHRONIZE = CUpti_ActivitySynchronizationType.define('CUPTI_ACTIVITY_SYNCHRONIZATION_TYPE_STREAM_SYNCHRONIZE', 3)
CUPTI_ACTIVITY_SYNCHRONIZATION_TYPE_CONTEXT_SYNCHRONIZE = CUpti_ActivitySynchronizationType.define('CUPTI_ACTIVITY_SYNCHRONIZATION_TYPE_CONTEXT_SYNCHRONIZE', 4)
CUPTI_ACTIVITY_SYNCHRONIZATION_TYPE_FORCE_INT = CUpti_ActivitySynchronizationType.define('CUPTI_ACTIVITY_SYNCHRONIZATION_TYPE_FORCE_INT', 2147483647)

class CUpti_ActivityStreamFlag(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_STREAM_CREATE_FLAG_UNKNOWN = CUpti_ActivityStreamFlag.define('CUPTI_ACTIVITY_STREAM_CREATE_FLAG_UNKNOWN', 0)
CUPTI_ACTIVITY_STREAM_CREATE_FLAG_DEFAULT = CUpti_ActivityStreamFlag.define('CUPTI_ACTIVITY_STREAM_CREATE_FLAG_DEFAULT', 1)
CUPTI_ACTIVITY_STREAM_CREATE_FLAG_NON_BLOCKING = CUpti_ActivityStreamFlag.define('CUPTI_ACTIVITY_STREAM_CREATE_FLAG_NON_BLOCKING', 2)
CUPTI_ACTIVITY_STREAM_CREATE_FLAG_NULL = CUpti_ActivityStreamFlag.define('CUPTI_ACTIVITY_STREAM_CREATE_FLAG_NULL', 3)
CUPTI_ACTIVITY_STREAM_CREATE_MASK = CUpti_ActivityStreamFlag.define('CUPTI_ACTIVITY_STREAM_CREATE_MASK', 65535)
CUPTI_ACTIVITY_STREAM_CREATE_FLAG_FORCE_INT = CUpti_ActivityStreamFlag.define('CUPTI_ACTIVITY_STREAM_CREATE_FLAG_FORCE_INT', 2147483647)

class CUpti_LinkFlag(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_LINK_FLAG_INVALID = CUpti_LinkFlag.define('CUPTI_LINK_FLAG_INVALID', 0)
CUPTI_LINK_FLAG_PEER_ACCESS = CUpti_LinkFlag.define('CUPTI_LINK_FLAG_PEER_ACCESS', 2)
CUPTI_LINK_FLAG_SYSMEM_ACCESS = CUpti_LinkFlag.define('CUPTI_LINK_FLAG_SYSMEM_ACCESS', 4)
CUPTI_LINK_FLAG_PEER_ATOMICS = CUpti_LinkFlag.define('CUPTI_LINK_FLAG_PEER_ATOMICS', 8)
CUPTI_LINK_FLAG_SYSMEM_ATOMICS = CUpti_LinkFlag.define('CUPTI_LINK_FLAG_SYSMEM_ATOMICS', 16)
CUPTI_LINK_FLAG_FORCE_INT = CUpti_LinkFlag.define('CUPTI_LINK_FLAG_FORCE_INT', 2147483647)

class CUpti_ActivityMemoryOperationType(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_MEMORY_OPERATION_TYPE_INVALID = CUpti_ActivityMemoryOperationType.define('CUPTI_ACTIVITY_MEMORY_OPERATION_TYPE_INVALID', 0)
CUPTI_ACTIVITY_MEMORY_OPERATION_TYPE_ALLOCATION = CUpti_ActivityMemoryOperationType.define('CUPTI_ACTIVITY_MEMORY_OPERATION_TYPE_ALLOCATION', 1)
CUPTI_ACTIVITY_MEMORY_OPERATION_TYPE_RELEASE = CUpti_ActivityMemoryOperationType.define('CUPTI_ACTIVITY_MEMORY_OPERATION_TYPE_RELEASE', 2)
CUPTI_ACTIVITY_MEMORY_OPERATION_TYPE_FORCE_INT = CUpti_ActivityMemoryOperationType.define('CUPTI_ACTIVITY_MEMORY_OPERATION_TYPE_FORCE_INT', 2147483647)

class CUpti_ActivityMemoryPoolType(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_MEMORY_POOL_TYPE_INVALID = CUpti_ActivityMemoryPoolType.define('CUPTI_ACTIVITY_MEMORY_POOL_TYPE_INVALID', 0)
CUPTI_ACTIVITY_MEMORY_POOL_TYPE_LOCAL = CUpti_ActivityMemoryPoolType.define('CUPTI_ACTIVITY_MEMORY_POOL_TYPE_LOCAL', 1)
CUPTI_ACTIVITY_MEMORY_POOL_TYPE_IMPORTED = CUpti_ActivityMemoryPoolType.define('CUPTI_ACTIVITY_MEMORY_POOL_TYPE_IMPORTED', 2)
CUPTI_ACTIVITY_MEMORY_POOL_TYPE_FORCE_INT = CUpti_ActivityMemoryPoolType.define('CUPTI_ACTIVITY_MEMORY_POOL_TYPE_FORCE_INT', 2147483647)

class CUpti_ActivityMemoryPoolOperationType(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_MEMORY_POOL_OPERATION_TYPE_INVALID = CUpti_ActivityMemoryPoolOperationType.define('CUPTI_ACTIVITY_MEMORY_POOL_OPERATION_TYPE_INVALID', 0)
CUPTI_ACTIVITY_MEMORY_POOL_OPERATION_TYPE_CREATED = CUpti_ActivityMemoryPoolOperationType.define('CUPTI_ACTIVITY_MEMORY_POOL_OPERATION_TYPE_CREATED', 1)
CUPTI_ACTIVITY_MEMORY_POOL_OPERATION_TYPE_DESTROYED = CUpti_ActivityMemoryPoolOperationType.define('CUPTI_ACTIVITY_MEMORY_POOL_OPERATION_TYPE_DESTROYED', 2)
CUPTI_ACTIVITY_MEMORY_POOL_OPERATION_TYPE_TRIMMED = CUpti_ActivityMemoryPoolOperationType.define('CUPTI_ACTIVITY_MEMORY_POOL_OPERATION_TYPE_TRIMMED', 3)
CUPTI_ACTIVITY_MEMORY_POOL_OPERATION_TYPE_FORCE_INT = CUpti_ActivityMemoryPoolOperationType.define('CUPTI_ACTIVITY_MEMORY_POOL_OPERATION_TYPE_FORCE_INT', 2147483647)

class CUpti_ChannelType(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_CHANNEL_TYPE_INVALID = CUpti_ChannelType.define('CUPTI_CHANNEL_TYPE_INVALID', 0)
CUPTI_CHANNEL_TYPE_COMPUTE = CUpti_ChannelType.define('CUPTI_CHANNEL_TYPE_COMPUTE', 1)
CUPTI_CHANNEL_TYPE_ASYNC_MEMCPY = CUpti_ChannelType.define('CUPTI_CHANNEL_TYPE_ASYNC_MEMCPY', 2)
CUPTI_CHANNEL_TYPE_DECOMP = CUpti_ChannelType.define('CUPTI_CHANNEL_TYPE_DECOMP', 3)
CUPTI_CHANNEL_TYPE_FORCE_INT = CUpti_ChannelType.define('CUPTI_CHANNEL_TYPE_FORCE_INT', 2147483647)

class CUpti_ContextCigMode(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_CONTEXT_CIG_MODE_NONE = CUpti_ContextCigMode.define('CUPTI_CONTEXT_CIG_MODE_NONE', 0)
CUPTI_CONTEXT_CIG_MODE_CIG = CUpti_ContextCigMode.define('CUPTI_CONTEXT_CIG_MODE_CIG', 1)
CUPTI_CONTEXT_CIG_MODE_CIG_FALLBACK = CUpti_ContextCigMode.define('CUPTI_CONTEXT_CIG_MODE_CIG_FALLBACK', 2)
CUPTI_CONTEXT_CIG_MODE_FORCE_INT = CUpti_ContextCigMode.define('CUPTI_CONTEXT_CIG_MODE_FORCE_INT', 2147483647)

@c.record
class CUpti_ActivityUnifiedMemoryCounterConfig(c.Struct):
  SIZE = 16
  scope: Annotated[CUpti_ActivityUnifiedMemoryCounterScope, 0]
  kind: Annotated[CUpti_ActivityUnifiedMemoryCounterKind, 4]
  deviceId: Annotated[uint32_t, 8]
  enable: Annotated[uint32_t, 12]
@c.record
class CUpti_ActivityAutoBoostState(c.Struct):
  SIZE = 8
  enabled: Annotated[uint32_t, 0]
  pid: Annotated[uint32_t, 4]
@c.record
class CUpti_ActivityPCSamplingConfig(c.Struct):
  SIZE = 16
  size: Annotated[uint32_t, 0]
  samplingPeriod: Annotated[CUpti_ActivityPCSamplingPeriod, 4]
  samplingPeriod2: Annotated[uint32_t, 8]
@c.record
class CUpti_Activity(c.Struct):
  SIZE = 8
  kind: Annotated[CUpti_ActivityKind, 0]
@c.record
class CUpti_ActivityMemcpy6(c.Struct):
  SIZE = 96
  kind: Annotated[CUpti_ActivityKind, 0]
  copyKind: Annotated[uint8_t, 4]
  srcKind: Annotated[uint8_t, 5]
  dstKind: Annotated[uint8_t, 6]
  flags: Annotated[uint8_t, 7]
  bytes: Annotated[uint64_t, 8]
  start: Annotated[uint64_t, 16]
  end: Annotated[uint64_t, 24]
  deviceId: Annotated[uint32_t, 32]
  contextId: Annotated[uint32_t, 36]
  streamId: Annotated[uint32_t, 40]
  correlationId: Annotated[uint32_t, 44]
  runtimeCorrelationId: Annotated[uint32_t, 48]
  pad: Annotated[uint32_t, 52]
  reserved0: Annotated[ctypes.c_void_p, 56]
  graphNodeId: Annotated[uint64_t, 64]
  graphId: Annotated[uint32_t, 72]
  channelID: Annotated[uint32_t, 76]
  channelType: Annotated[CUpti_ChannelType, 80]
  pad2: Annotated[uint32_t, 84]
  copyCount: Annotated[uint64_t, 88]
uint8_t: TypeAlias = Annotated[int, ctypes.c_ubyte]
uint64_t: TypeAlias = Annotated[int, ctypes.c_uint64]
@c.record
class CUpti_ActivityMemcpyPtoP4(c.Struct):
  SIZE = 96
  kind: Annotated[CUpti_ActivityKind, 0]
  copyKind: Annotated[uint8_t, 4]
  srcKind: Annotated[uint8_t, 5]
  dstKind: Annotated[uint8_t, 6]
  flags: Annotated[uint8_t, 7]
  bytes: Annotated[uint64_t, 8]
  start: Annotated[uint64_t, 16]
  end: Annotated[uint64_t, 24]
  deviceId: Annotated[uint32_t, 32]
  contextId: Annotated[uint32_t, 36]
  streamId: Annotated[uint32_t, 40]
  srcDeviceId: Annotated[uint32_t, 44]
  srcContextId: Annotated[uint32_t, 48]
  dstDeviceId: Annotated[uint32_t, 52]
  dstContextId: Annotated[uint32_t, 56]
  correlationId: Annotated[uint32_t, 60]
  reserved0: Annotated[ctypes.c_void_p, 64]
  graphNodeId: Annotated[uint64_t, 72]
  graphId: Annotated[uint32_t, 80]
  channelID: Annotated[uint32_t, 84]
  channelType: Annotated[CUpti_ChannelType, 88]
@c.record
class CUpti_ActivityMemset4(c.Struct):
  SIZE = 88
  kind: Annotated[CUpti_ActivityKind, 0]
  value: Annotated[uint32_t, 4]
  bytes: Annotated[uint64_t, 8]
  start: Annotated[uint64_t, 16]
  end: Annotated[uint64_t, 24]
  deviceId: Annotated[uint32_t, 32]
  contextId: Annotated[uint32_t, 36]
  streamId: Annotated[uint32_t, 40]
  correlationId: Annotated[uint32_t, 44]
  flags: Annotated[uint16_t, 48]
  memoryKind: Annotated[uint16_t, 50]
  pad: Annotated[uint32_t, 52]
  reserved0: Annotated[ctypes.c_void_p, 56]
  graphNodeId: Annotated[uint64_t, 64]
  graphId: Annotated[uint32_t, 72]
  channelID: Annotated[uint32_t, 76]
  channelType: Annotated[CUpti_ChannelType, 80]
  pad2: Annotated[uint32_t, 84]
uint16_t: TypeAlias = Annotated[int, ctypes.c_uint16]
@c.record
class CUpti_ActivityMemory(c.Struct):
  SIZE = 80
  kind: Annotated[CUpti_ActivityKind, 0]
  memoryKind: Annotated[CUpti_ActivityMemoryKind, 4]
  address: Annotated[uint64_t, 8]
  bytes: Annotated[uint64_t, 16]
  start: Annotated[uint64_t, 24]
  end: Annotated[uint64_t, 32]
  allocPC: Annotated[uint64_t, 40]
  freePC: Annotated[uint64_t, 48]
  processId: Annotated[uint32_t, 56]
  deviceId: Annotated[uint32_t, 60]
  contextId: Annotated[uint32_t, 64]
  pad: Annotated[uint32_t, 68]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 72]
@c.record
class CUpti_ActivityMemory4(c.Struct):
  SIZE = 128
  kind: Annotated[CUpti_ActivityKind, 0]
  memoryOperationType: Annotated[CUpti_ActivityMemoryOperationType, 4]
  memoryKind: Annotated[CUpti_ActivityMemoryKind, 8]
  correlationId: Annotated[uint32_t, 12]
  address: Annotated[uint64_t, 16]
  bytes: Annotated[uint64_t, 24]
  timestamp: Annotated[uint64_t, 32]
  PC: Annotated[uint64_t, 40]
  processId: Annotated[uint32_t, 48]
  deviceId: Annotated[uint32_t, 52]
  contextId: Annotated[uint32_t, 56]
  streamId: Annotated[uint32_t, 60]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 64]
  isAsync: Annotated[uint32_t, 72]
  pad1: Annotated[uint32_t, 76]
  memoryPoolConfig: Annotated[CUpti_ActivityMemory4_memoryPoolConfig, 80]
  source: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 120]
@c.record
class CUpti_ActivityMemory4_memoryPoolConfig(c.Struct):
  SIZE = 40
  memoryPoolType: Annotated[CUpti_ActivityMemoryPoolType, 0]
  pad2: Annotated[uint32_t, 4]
  address: Annotated[uint64_t, 8]
  releaseThreshold: Annotated[uint64_t, 16]
  pool: Annotated[CUpti_ActivityMemory4_memoryPoolConfig_pool, 24]
  utilizedSize: Annotated[uint64_t, 32]
@c.record
class CUpti_ActivityMemory4_memoryPoolConfig_pool(c.Struct):
  SIZE = 8
  size: Annotated[uint64_t, 0]
  processId: Annotated[uint64_t, 0]
@c.record
class CUpti_ActivityMemoryPool2(c.Struct):
  SIZE = 72
  kind: Annotated[CUpti_ActivityKind, 0]
  memoryPoolOperationType: Annotated[CUpti_ActivityMemoryPoolOperationType, 4]
  memoryPoolType: Annotated[CUpti_ActivityMemoryPoolType, 8]
  correlationId: Annotated[uint32_t, 12]
  processId: Annotated[uint32_t, 16]
  deviceId: Annotated[uint32_t, 20]
  minBytesToKeep: Annotated[size_t, 24]
  address: Annotated[uint64_t, 32]
  size: Annotated[uint64_t, 40]
  releaseThreshold: Annotated[uint64_t, 48]
  timestamp: Annotated[uint64_t, 56]
  utilizedSize: Annotated[uint64_t, 64]
size_t: TypeAlias = Annotated[int, ctypes.c_uint64]
class CUpti_ActivityLaunchType(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_LAUNCH_TYPE_REGULAR = CUpti_ActivityLaunchType.define('CUPTI_ACTIVITY_LAUNCH_TYPE_REGULAR', 0)
CUPTI_ACTIVITY_LAUNCH_TYPE_COOPERATIVE_SINGLE_DEVICE = CUpti_ActivityLaunchType.define('CUPTI_ACTIVITY_LAUNCH_TYPE_COOPERATIVE_SINGLE_DEVICE', 1)
CUPTI_ACTIVITY_LAUNCH_TYPE_COOPERATIVE_MULTI_DEVICE = CUpti_ActivityLaunchType.define('CUPTI_ACTIVITY_LAUNCH_TYPE_COOPERATIVE_MULTI_DEVICE', 2)
CUPTI_ACTIVITY_LAUNCH_TYPE_CBL_COMMANDLIST = CUpti_ActivityLaunchType.define('CUPTI_ACTIVITY_LAUNCH_TYPE_CBL_COMMANDLIST', 3)

class CUpti_FuncShmemLimitConfig(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_FUNC_SHMEM_LIMIT_DEFAULT = CUpti_FuncShmemLimitConfig.define('CUPTI_FUNC_SHMEM_LIMIT_DEFAULT', 0)
CUPTI_FUNC_SHMEM_LIMIT_OPTIN = CUpti_FuncShmemLimitConfig.define('CUPTI_FUNC_SHMEM_LIMIT_OPTIN', 1)
CUPTI_FUNC_SHMEM_LIMIT_FORCE_INT = CUpti_FuncShmemLimitConfig.define('CUPTI_FUNC_SHMEM_LIMIT_FORCE_INT', 2147483647)

@c.record
class CUpti_ActivityKernel9(c.Struct):
  SIZE = 208
  kind: Annotated[CUpti_ActivityKind, 0]
  cacheConfig: Annotated[CUpti_ActivityKernel9_cacheConfig, 4]
  sharedMemoryConfig: Annotated[uint8_t, 5]
  registersPerThread: Annotated[uint16_t, 6]
  partitionedGlobalCacheRequested: Annotated[CUpti_ActivityPartitionedGlobalCacheConfig, 8]
  partitionedGlobalCacheExecuted: Annotated[CUpti_ActivityPartitionedGlobalCacheConfig, 12]
  start: Annotated[uint64_t, 16]
  end: Annotated[uint64_t, 24]
  completed: Annotated[uint64_t, 32]
  deviceId: Annotated[uint32_t, 40]
  contextId: Annotated[uint32_t, 44]
  streamId: Annotated[uint32_t, 48]
  gridX: Annotated[int32_t, 52]
  gridY: Annotated[int32_t, 56]
  gridZ: Annotated[int32_t, 60]
  blockX: Annotated[int32_t, 64]
  blockY: Annotated[int32_t, 68]
  blockZ: Annotated[int32_t, 72]
  staticSharedMemory: Annotated[int32_t, 76]
  dynamicSharedMemory: Annotated[int32_t, 80]
  localMemoryPerThread: Annotated[uint32_t, 84]
  localMemoryTotal: Annotated[uint32_t, 88]
  correlationId: Annotated[uint32_t, 92]
  gridId: Annotated[int64_t, 96]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 104]
  reserved0: Annotated[ctypes.c_void_p, 112]
  queued: Annotated[uint64_t, 120]
  submitted: Annotated[uint64_t, 128]
  launchType: Annotated[uint8_t, 136]
  isSharedMemoryCarveoutRequested: Annotated[uint8_t, 137]
  sharedMemoryCarveoutRequested: Annotated[uint8_t, 138]
  padding: Annotated[uint8_t, 139]
  sharedMemoryExecuted: Annotated[uint32_t, 140]
  graphNodeId: Annotated[uint64_t, 144]
  shmemLimitConfig: Annotated[CUpti_FuncShmemLimitConfig, 152]
  graphId: Annotated[uint32_t, 156]
  pAccessPolicyWindow: Annotated[c.POINTER[CUaccessPolicyWindow], 160]
  channelID: Annotated[uint32_t, 168]
  channelType: Annotated[CUpti_ChannelType, 172]
  clusterX: Annotated[uint32_t, 176]
  clusterY: Annotated[uint32_t, 180]
  clusterZ: Annotated[uint32_t, 184]
  clusterSchedulingPolicy: Annotated[uint32_t, 188]
  localMemoryTotal_v2: Annotated[uint64_t, 192]
  maxPotentialClusterSize: Annotated[uint32_t, 200]
  maxActiveClusters: Annotated[uint32_t, 204]
@c.record
class CUpti_ActivityKernel9_cacheConfig(c.Struct):
  SIZE = 1
  both: Annotated[uint8_t, 0]
  config: Annotated[CUpti_ActivityKernel9_cacheConfig_config, 0]
@c.record
class CUpti_ActivityKernel9_cacheConfig_config(c.Struct):
  SIZE = 1
  requested: Annotated[uint8_t, 0, 4, 0]
  executed: Annotated[uint8_t, 0, 4, 4]
int32_t: TypeAlias = Annotated[int, ctypes.c_int32]
int64_t: TypeAlias = Annotated[int, ctypes.c_int64]
@c.record
class struct_CUaccessPolicyWindow_st(c.Struct):
  SIZE = 32
  base_ptr: Annotated[ctypes.c_void_p, 0]
  num_bytes: Annotated[size_t, 8]
  hitRatio: Annotated[Annotated[float, ctypes.c_float], 16]
  hitProp: Annotated[CUaccessProperty, 20]
  missProp: Annotated[CUaccessProperty, 24]
CUaccessPolicyWindow: TypeAlias = struct_CUaccessPolicyWindow_st
class enum_CUaccessProperty_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_ACCESS_PROPERTY_NORMAL = enum_CUaccessProperty_enum.define('CU_ACCESS_PROPERTY_NORMAL', 0)
CU_ACCESS_PROPERTY_STREAMING = enum_CUaccessProperty_enum.define('CU_ACCESS_PROPERTY_STREAMING', 1)
CU_ACCESS_PROPERTY_PERSISTING = enum_CUaccessProperty_enum.define('CU_ACCESS_PROPERTY_PERSISTING', 2)

CUaccessProperty: TypeAlias = enum_CUaccessProperty_enum
@c.record
class CUpti_ActivityCdpKernel(c.Struct):
  SIZE = 144
  kind: Annotated[CUpti_ActivityKind, 0]
  cacheConfig: Annotated[CUpti_ActivityCdpKernel_cacheConfig, 4]
  sharedMemoryConfig: Annotated[uint8_t, 5]
  registersPerThread: Annotated[uint16_t, 6]
  start: Annotated[uint64_t, 8]
  end: Annotated[uint64_t, 16]
  deviceId: Annotated[uint32_t, 24]
  contextId: Annotated[uint32_t, 28]
  streamId: Annotated[uint32_t, 32]
  gridX: Annotated[int32_t, 36]
  gridY: Annotated[int32_t, 40]
  gridZ: Annotated[int32_t, 44]
  blockX: Annotated[int32_t, 48]
  blockY: Annotated[int32_t, 52]
  blockZ: Annotated[int32_t, 56]
  staticSharedMemory: Annotated[int32_t, 60]
  dynamicSharedMemory: Annotated[int32_t, 64]
  localMemoryPerThread: Annotated[uint32_t, 68]
  localMemoryTotal: Annotated[uint32_t, 72]
  correlationId: Annotated[uint32_t, 76]
  gridId: Annotated[int64_t, 80]
  parentGridId: Annotated[int64_t, 88]
  queued: Annotated[uint64_t, 96]
  submitted: Annotated[uint64_t, 104]
  completed: Annotated[uint64_t, 112]
  parentBlockX: Annotated[uint32_t, 120]
  parentBlockY: Annotated[uint32_t, 124]
  parentBlockZ: Annotated[uint32_t, 128]
  pad: Annotated[uint32_t, 132]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 136]
@c.record
class CUpti_ActivityCdpKernel_cacheConfig(c.Struct):
  SIZE = 1
  both: Annotated[uint8_t, 0]
  config: Annotated[CUpti_ActivityCdpKernel_cacheConfig_config, 0]
@c.record
class CUpti_ActivityCdpKernel_cacheConfig_config(c.Struct):
  SIZE = 1
  requested: Annotated[uint8_t, 0, 4, 0]
  executed: Annotated[uint8_t, 0, 4, 4]
@c.record
class CUpti_ActivityPreemption(c.Struct):
  SIZE = 40
  kind: Annotated[CUpti_ActivityKind, 0]
  preemptionKind: Annotated[CUpti_ActivityPreemptionKind, 4]
  timestamp: Annotated[uint64_t, 8]
  gridId: Annotated[int64_t, 16]
  blockX: Annotated[uint32_t, 24]
  blockY: Annotated[uint32_t, 28]
  blockZ: Annotated[uint32_t, 32]
  pad: Annotated[uint32_t, 36]
@c.record
class CUpti_ActivityAPI(c.Struct):
  SIZE = 40
  kind: Annotated[CUpti_ActivityKind, 0]
  cbid: Annotated[CUpti_CallbackId, 4]
  start: Annotated[uint64_t, 8]
  end: Annotated[uint64_t, 16]
  processId: Annotated[uint32_t, 24]
  threadId: Annotated[uint32_t, 28]
  correlationId: Annotated[uint32_t, 32]
  returnValue: Annotated[uint32_t, 36]
CUpti_CallbackId: TypeAlias = Annotated[int, ctypes.c_uint32]
@c.record
class CUpti_ActivityEvent(c.Struct):
  SIZE = 24
  kind: Annotated[CUpti_ActivityKind, 0]
  id: Annotated[CUpti_EventID, 4]
  value: Annotated[uint64_t, 8]
  domain: Annotated[CUpti_EventDomainID, 16]
  correlationId: Annotated[uint32_t, 20]
CUpti_EventID: TypeAlias = Annotated[int, ctypes.c_uint32]
CUpti_EventDomainID: TypeAlias = Annotated[int, ctypes.c_uint32]
@c.record
class CUpti_ActivityEventInstance(c.Struct):
  SIZE = 32
  kind: Annotated[CUpti_ActivityKind, 0]
  id: Annotated[CUpti_EventID, 4]
  domain: Annotated[CUpti_EventDomainID, 8]
  instance: Annotated[uint32_t, 12]
  value: Annotated[uint64_t, 16]
  correlationId: Annotated[uint32_t, 24]
  pad: Annotated[uint32_t, 28]
@c.record
class CUpti_ActivityMetric(c.Struct):
  SIZE = 24
  kind: Annotated[CUpti_ActivityKind, 0]
  id: Annotated[CUpti_MetricID, 4]
  value: Annotated[CUpti_MetricValue, 8]
  correlationId: Annotated[uint32_t, 16]
  flags: Annotated[uint8_t, 20]
  pad: Annotated[c.Array[uint8_t, Literal[3]], 21]
CUpti_MetricID: TypeAlias = Annotated[int, ctypes.c_uint32]
@c.record
class CUpti_MetricValue(c.Struct):
  SIZE = 8
  metricValueDouble: Annotated[Annotated[float, ctypes.c_double], 0]
  metricValueUint64: Annotated[uint64_t, 0]
  metricValueInt64: Annotated[int64_t, 0]
  metricValuePercent: Annotated[Annotated[float, ctypes.c_double], 0]
  metricValueThroughput: Annotated[uint64_t, 0]
  metricValueUtilizationLevel: Annotated[CUpti_MetricValueUtilizationLevel, 0]
class CUpti_MetricValueUtilizationLevel(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_METRIC_VALUE_UTILIZATION_IDLE = CUpti_MetricValueUtilizationLevel.define('CUPTI_METRIC_VALUE_UTILIZATION_IDLE', 0)
CUPTI_METRIC_VALUE_UTILIZATION_LOW = CUpti_MetricValueUtilizationLevel.define('CUPTI_METRIC_VALUE_UTILIZATION_LOW', 2)
CUPTI_METRIC_VALUE_UTILIZATION_MID = CUpti_MetricValueUtilizationLevel.define('CUPTI_METRIC_VALUE_UTILIZATION_MID', 5)
CUPTI_METRIC_VALUE_UTILIZATION_HIGH = CUpti_MetricValueUtilizationLevel.define('CUPTI_METRIC_VALUE_UTILIZATION_HIGH', 8)
CUPTI_METRIC_VALUE_UTILIZATION_MAX = CUpti_MetricValueUtilizationLevel.define('CUPTI_METRIC_VALUE_UTILIZATION_MAX', 10)
CUPTI_METRIC_VALUE_UTILIZATION_FORCE_INT = CUpti_MetricValueUtilizationLevel.define('CUPTI_METRIC_VALUE_UTILIZATION_FORCE_INT', 2147483647)

@c.record
class CUpti_ActivityMetricInstance(c.Struct):
  SIZE = 32
  kind: Annotated[CUpti_ActivityKind, 0]
  id: Annotated[CUpti_MetricID, 4]
  value: Annotated[CUpti_MetricValue, 8]
  instance: Annotated[uint32_t, 16]
  correlationId: Annotated[uint32_t, 20]
  flags: Annotated[uint8_t, 24]
  pad: Annotated[c.Array[uint8_t, Literal[7]], 25]
@c.record
class CUpti_ActivitySourceLocator(c.Struct):
  SIZE = 24
  kind: Annotated[CUpti_ActivityKind, 0]
  id: Annotated[uint32_t, 4]
  lineNumber: Annotated[uint32_t, 8]
  pad: Annotated[uint32_t, 12]
  fileName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 16]
@c.record
class CUpti_ActivityGlobalAccess3(c.Struct):
  SIZE = 56
  kind: Annotated[CUpti_ActivityKind, 0]
  flags: Annotated[CUpti_ActivityFlag, 4]
  sourceLocatorId: Annotated[uint32_t, 8]
  correlationId: Annotated[uint32_t, 12]
  functionId: Annotated[uint32_t, 16]
  executed: Annotated[uint32_t, 20]
  pcOffset: Annotated[uint64_t, 24]
  threadsExecuted: Annotated[uint64_t, 32]
  l2_transactions: Annotated[uint64_t, 40]
  theoreticalL2Transactions: Annotated[uint64_t, 48]
@c.record
class CUpti_ActivityBranch2(c.Struct):
  SIZE = 40
  kind: Annotated[CUpti_ActivityKind, 0]
  sourceLocatorId: Annotated[uint32_t, 4]
  correlationId: Annotated[uint32_t, 8]
  functionId: Annotated[uint32_t, 12]
  pcOffset: Annotated[uint32_t, 16]
  diverged: Annotated[uint32_t, 20]
  threadsExecuted: Annotated[uint64_t, 24]
  executed: Annotated[uint32_t, 32]
  pad: Annotated[uint32_t, 36]
@c.record
class CUpti_ActivityDevice5(c.Struct):
  SIZE = 184
  kind: Annotated[CUpti_ActivityKind, 0]
  flags: Annotated[CUpti_ActivityFlag, 4]
  globalMemoryBandwidth: Annotated[uint64_t, 8]
  globalMemorySize: Annotated[uint64_t, 16]
  constantMemorySize: Annotated[uint32_t, 24]
  l2CacheSize: Annotated[uint32_t, 28]
  numThreadsPerWarp: Annotated[uint32_t, 32]
  coreClockRate: Annotated[uint32_t, 36]
  numMemcpyEngines: Annotated[uint32_t, 40]
  numMultiprocessors: Annotated[uint32_t, 44]
  maxIPC: Annotated[uint32_t, 48]
  maxWarpsPerMultiprocessor: Annotated[uint32_t, 52]
  maxBlocksPerMultiprocessor: Annotated[uint32_t, 56]
  maxSharedMemoryPerMultiprocessor: Annotated[uint32_t, 60]
  maxRegistersPerMultiprocessor: Annotated[uint32_t, 64]
  maxRegistersPerBlock: Annotated[uint32_t, 68]
  maxSharedMemoryPerBlock: Annotated[uint32_t, 72]
  maxThreadsPerBlock: Annotated[uint32_t, 76]
  maxBlockDimX: Annotated[uint32_t, 80]
  maxBlockDimY: Annotated[uint32_t, 84]
  maxBlockDimZ: Annotated[uint32_t, 88]
  maxGridDimX: Annotated[uint32_t, 92]
  maxGridDimY: Annotated[uint32_t, 96]
  maxGridDimZ: Annotated[uint32_t, 100]
  computeCapabilityMajor: Annotated[uint32_t, 104]
  computeCapabilityMinor: Annotated[uint32_t, 108]
  id: Annotated[uint32_t, 112]
  eccEnabled: Annotated[uint32_t, 116]
  uuid: Annotated[CUuuid, 120]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 136]
  isCudaVisible: Annotated[uint8_t, 144]
  isMigEnabled: Annotated[uint8_t, 145]
  reserved: Annotated[c.Array[uint8_t, Literal[6]], 146]
  gpuInstanceId: Annotated[uint32_t, 152]
  computeInstanceId: Annotated[uint32_t, 156]
  migUuid: Annotated[CUuuid, 160]
  isNumaNode: Annotated[uint32_t, 176]
  numaId: Annotated[uint32_t, 180]
@c.record
class struct_CUuuid_st(c.Struct):
  SIZE = 16
  bytes: Annotated[c.Array[Annotated[bytes, ctypes.c_char], Literal[16]], 0]
CUuuid: TypeAlias = struct_CUuuid_st
@c.record
class CUpti_ActivityDeviceAttribute(c.Struct):
  SIZE = 24
  kind: Annotated[CUpti_ActivityKind, 0]
  flags: Annotated[CUpti_ActivityFlag, 4]
  deviceId: Annotated[uint32_t, 8]
  attribute: Annotated[CUpti_ActivityDeviceAttribute_attribute, 12]
  value: Annotated[CUpti_ActivityDeviceAttribute_value, 16]
@c.record
class CUpti_ActivityDeviceAttribute_attribute(c.Struct):
  SIZE = 4
  cu: Annotated[CUdevice_attribute, 0]
  cupti: Annotated[CUpti_DeviceAttribute, 0]
class enum_CUdevice_attribute_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK', 1)
CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_X', 2)
CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Y', 3)
CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_BLOCK_DIM_Z', 4)
CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_X = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_X', 5)
CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Y = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Y', 6)
CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Z = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_GRID_DIM_Z', 7)
CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK', 8)
CU_DEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_SHARED_MEMORY_PER_BLOCK', 8)
CU_DEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_TOTAL_CONSTANT_MEMORY', 9)
CU_DEVICE_ATTRIBUTE_WARP_SIZE = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_WARP_SIZE', 10)
CU_DEVICE_ATTRIBUTE_MAX_PITCH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_PITCH', 11)
CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_BLOCK', 12)
CU_DEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_REGISTERS_PER_BLOCK', 12)
CU_DEVICE_ATTRIBUTE_CLOCK_RATE = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_CLOCK_RATE', 13)
CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_TEXTURE_ALIGNMENT', 14)
CU_DEVICE_ATTRIBUTE_GPU_OVERLAP = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_GPU_OVERLAP', 15)
CU_DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT', 16)
CU_DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_KERNEL_EXEC_TIMEOUT', 17)
CU_DEVICE_ATTRIBUTE_INTEGRATED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_INTEGRATED', 18)
CU_DEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_CAN_MAP_HOST_MEMORY', 19)
CU_DEVICE_ATTRIBUTE_COMPUTE_MODE = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_COMPUTE_MODE', 20)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_WIDTH', 21)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_WIDTH', 22)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_HEIGHT', 23)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH', 24)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT', 25)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH', 26)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_WIDTH', 27)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_HEIGHT', 28)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LAYERED_LAYERS', 29)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_WIDTH', 27)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_HEIGHT', 28)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_ARRAY_NUMSLICES', 29)
CU_DEVICE_ATTRIBUTE_SURFACE_ALIGNMENT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_SURFACE_ALIGNMENT', 30)
CU_DEVICE_ATTRIBUTE_CONCURRENT_KERNELS = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_CONCURRENT_KERNELS', 31)
CU_DEVICE_ATTRIBUTE_ECC_ENABLED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_ECC_ENABLED', 32)
CU_DEVICE_ATTRIBUTE_PCI_BUS_ID = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_PCI_BUS_ID', 33)
CU_DEVICE_ATTRIBUTE_PCI_DEVICE_ID = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_PCI_DEVICE_ID', 34)
CU_DEVICE_ATTRIBUTE_TCC_DRIVER = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_TCC_DRIVER', 35)
CU_DEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MEMORY_CLOCK_RATE', 36)
CU_DEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_GLOBAL_MEMORY_BUS_WIDTH', 37)
CU_DEVICE_ATTRIBUTE_L2_CACHE_SIZE = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_L2_CACHE_SIZE', 38)
CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_THREADS_PER_MULTIPROCESSOR', 39)
CU_DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_ASYNC_ENGINE_COUNT', 40)
CU_DEVICE_ATTRIBUTE_UNIFIED_ADDRESSING = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_UNIFIED_ADDRESSING', 41)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_WIDTH', 42)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LAYERED_LAYERS', 43)
CU_DEVICE_ATTRIBUTE_CAN_TEX2D_GATHER = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_CAN_TEX2D_GATHER', 44)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_WIDTH', 45)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_GATHER_HEIGHT', 46)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_WIDTH_ALTERNATE', 47)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_HEIGHT_ALTERNATE', 48)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE3D_DEPTH_ALTERNATE', 49)
CU_DEVICE_ATTRIBUTE_PCI_DOMAIN_ID = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_PCI_DOMAIN_ID', 50)
CU_DEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_TEXTURE_PITCH_ALIGNMENT', 51)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_WIDTH', 52)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_WIDTH', 53)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURECUBEMAP_LAYERED_LAYERS', 54)
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_WIDTH', 55)
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_WIDTH', 56)
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_HEIGHT', 57)
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_WIDTH', 58)
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_HEIGHT', 59)
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE3D_DEPTH', 60)
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_WIDTH', 61)
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE1D_LAYERED_LAYERS', 62)
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_WIDTH', 63)
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_HEIGHT', 64)
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACE2D_LAYERED_LAYERS', 65)
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_WIDTH', 66)
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_WIDTH', 67)
CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_SURFACECUBEMAP_LAYERED_LAYERS', 68)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_LINEAR_WIDTH', 69)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_WIDTH', 70)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_HEIGHT', 71)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_LINEAR_PITCH', 72)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_WIDTH', 73)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE2D_MIPMAPPED_HEIGHT', 74)
CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MAJOR', 75)
CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_COMPUTE_CAPABILITY_MINOR', 76)
CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAXIMUM_TEXTURE1D_MIPMAPPED_WIDTH', 77)
CU_DEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_STREAM_PRIORITIES_SUPPORTED', 78)
CU_DEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_GLOBAL_L1_CACHE_SUPPORTED', 79)
CU_DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_LOCAL_L1_CACHE_SUPPORTED', 80)
CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_MULTIPROCESSOR', 81)
CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_REGISTERS_PER_MULTIPROCESSOR', 82)
CU_DEVICE_ATTRIBUTE_MANAGED_MEMORY = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MANAGED_MEMORY', 83)
CU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD', 84)
CU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MULTI_GPU_BOARD_GROUP_ID', 85)
CU_DEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_HOST_NATIVE_ATOMIC_SUPPORTED', 86)
CU_DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_SINGLE_TO_DOUBLE_PRECISION_PERF_RATIO', 87)
CU_DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS', 88)
CU_DEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS', 89)
CU_DEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_COMPUTE_PREEMPTION_SUPPORTED', 90)
CU_DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_CAN_USE_HOST_POINTER_FOR_REGISTERED_MEM', 91)
CU_DEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS_V1 = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_CAN_USE_STREAM_MEM_OPS_V1', 92)
CU_DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS_V1 = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS_V1', 93)
CU_DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR_V1 = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR_V1', 94)
CU_DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_COOPERATIVE_LAUNCH', 95)
CU_DEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_COOPERATIVE_MULTI_DEVICE_LAUNCH', 96)
CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_SHARED_MEMORY_PER_BLOCK_OPTIN', 97)
CU_DEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_CAN_FLUSH_REMOTE_WRITES', 98)
CU_DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_HOST_REGISTER_SUPPORTED', 99)
CU_DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_PAGEABLE_MEMORY_ACCESS_USES_HOST_PAGE_TABLES', 100)
CU_DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_DIRECT_MANAGED_MEM_ACCESS_FROM_HOST', 101)
CU_DEVICE_ATTRIBUTE_VIRTUAL_ADDRESS_MANAGEMENT_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_VIRTUAL_ADDRESS_MANAGEMENT_SUPPORTED', 102)
CU_DEVICE_ATTRIBUTE_VIRTUAL_MEMORY_MANAGEMENT_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_VIRTUAL_MEMORY_MANAGEMENT_SUPPORTED', 102)
CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_POSIX_FILE_DESCRIPTOR_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_POSIX_FILE_DESCRIPTOR_SUPPORTED', 103)
CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_WIN32_HANDLE_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_WIN32_HANDLE_SUPPORTED', 104)
CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_WIN32_KMT_HANDLE_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_WIN32_KMT_HANDLE_SUPPORTED', 105)
CU_DEVICE_ATTRIBUTE_MAX_BLOCKS_PER_MULTIPROCESSOR = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_BLOCKS_PER_MULTIPROCESSOR', 106)
CU_DEVICE_ATTRIBUTE_GENERIC_COMPRESSION_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_GENERIC_COMPRESSION_SUPPORTED', 107)
CU_DEVICE_ATTRIBUTE_MAX_PERSISTING_L2_CACHE_SIZE = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_PERSISTING_L2_CACHE_SIZE', 108)
CU_DEVICE_ATTRIBUTE_MAX_ACCESS_POLICY_WINDOW_SIZE = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX_ACCESS_POLICY_WINDOW_SIZE', 109)
CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_WITH_CUDA_VMM_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_WITH_CUDA_VMM_SUPPORTED', 110)
CU_DEVICE_ATTRIBUTE_RESERVED_SHARED_MEMORY_PER_BLOCK = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_RESERVED_SHARED_MEMORY_PER_BLOCK', 111)
CU_DEVICE_ATTRIBUTE_SPARSE_CUDA_ARRAY_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_SPARSE_CUDA_ARRAY_SUPPORTED', 112)
CU_DEVICE_ATTRIBUTE_READ_ONLY_HOST_REGISTER_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_READ_ONLY_HOST_REGISTER_SUPPORTED', 113)
CU_DEVICE_ATTRIBUTE_TIMELINE_SEMAPHORE_INTEROP_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_TIMELINE_SEMAPHORE_INTEROP_SUPPORTED', 114)
CU_DEVICE_ATTRIBUTE_MEMORY_POOLS_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MEMORY_POOLS_SUPPORTED', 115)
CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_SUPPORTED', 116)
CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_FLUSH_WRITES_OPTIONS = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_FLUSH_WRITES_OPTIONS', 117)
CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_WRITES_ORDERING = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_WRITES_ORDERING', 118)
CU_DEVICE_ATTRIBUTE_MEMPOOL_SUPPORTED_HANDLE_TYPES = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MEMPOOL_SUPPORTED_HANDLE_TYPES', 119)
CU_DEVICE_ATTRIBUTE_CLUSTER_LAUNCH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_CLUSTER_LAUNCH', 120)
CU_DEVICE_ATTRIBUTE_DEFERRED_MAPPING_CUDA_ARRAY_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_DEFERRED_MAPPING_CUDA_ARRAY_SUPPORTED', 121)
CU_DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_CAN_USE_64_BIT_STREAM_MEM_OPS', 122)
CU_DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_CAN_USE_STREAM_WAIT_VALUE_NOR', 123)
CU_DEVICE_ATTRIBUTE_DMA_BUF_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_DMA_BUF_SUPPORTED', 124)
CU_DEVICE_ATTRIBUTE_IPC_EVENT_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_IPC_EVENT_SUPPORTED', 125)
CU_DEVICE_ATTRIBUTE_MEM_SYNC_DOMAIN_COUNT = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MEM_SYNC_DOMAIN_COUNT', 126)
CU_DEVICE_ATTRIBUTE_TENSOR_MAP_ACCESS_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_TENSOR_MAP_ACCESS_SUPPORTED', 127)
CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_FABRIC_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_HANDLE_TYPE_FABRIC_SUPPORTED', 128)
CU_DEVICE_ATTRIBUTE_UNIFIED_FUNCTION_POINTERS = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_UNIFIED_FUNCTION_POINTERS', 129)
CU_DEVICE_ATTRIBUTE_NUMA_CONFIG = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_NUMA_CONFIG', 130)
CU_DEVICE_ATTRIBUTE_NUMA_ID = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_NUMA_ID', 131)
CU_DEVICE_ATTRIBUTE_MULTICAST_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MULTICAST_SUPPORTED', 132)
CU_DEVICE_ATTRIBUTE_MPS_ENABLED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MPS_ENABLED', 133)
CU_DEVICE_ATTRIBUTE_HOST_NUMA_ID = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_HOST_NUMA_ID', 134)
CU_DEVICE_ATTRIBUTE_D3D12_CIG_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_D3D12_CIG_SUPPORTED', 135)
CU_DEVICE_ATTRIBUTE_MEM_DECOMPRESS_ALGORITHM_MASK = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MEM_DECOMPRESS_ALGORITHM_MASK', 136)
CU_DEVICE_ATTRIBUTE_MEM_DECOMPRESS_MAXIMUM_LENGTH = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MEM_DECOMPRESS_MAXIMUM_LENGTH', 137)
CU_DEVICE_ATTRIBUTE_GPU_PCI_DEVICE_ID = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_GPU_PCI_DEVICE_ID', 139)
CU_DEVICE_ATTRIBUTE_GPU_PCI_SUBSYSTEM_ID = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_GPU_PCI_SUBSYSTEM_ID', 140)
CU_DEVICE_ATTRIBUTE_HOST_NUMA_MULTINODE_IPC_SUPPORTED = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_HOST_NUMA_MULTINODE_IPC_SUPPORTED', 143)
CU_DEVICE_ATTRIBUTE_MAX = enum_CUdevice_attribute_enum.define('CU_DEVICE_ATTRIBUTE_MAX', 144)

CUdevice_attribute: TypeAlias = enum_CUdevice_attribute_enum
class CUpti_DeviceAttribute(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_DEVICE_ATTR_MAX_EVENT_ID = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_MAX_EVENT_ID', 1)
CUPTI_DEVICE_ATTR_MAX_EVENT_DOMAIN_ID = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_MAX_EVENT_DOMAIN_ID', 2)
CUPTI_DEVICE_ATTR_GLOBAL_MEMORY_BANDWIDTH = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_GLOBAL_MEMORY_BANDWIDTH', 3)
CUPTI_DEVICE_ATTR_INSTRUCTION_PER_CYCLE = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_INSTRUCTION_PER_CYCLE', 4)
CUPTI_DEVICE_ATTR_INSTRUCTION_THROUGHPUT_SINGLE_PRECISION = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_INSTRUCTION_THROUGHPUT_SINGLE_PRECISION', 5)
CUPTI_DEVICE_ATTR_MAX_FRAME_BUFFERS = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_MAX_FRAME_BUFFERS', 6)
CUPTI_DEVICE_ATTR_PCIE_LINK_RATE = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_PCIE_LINK_RATE', 7)
CUPTI_DEVICE_ATTR_PCIE_LINK_WIDTH = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_PCIE_LINK_WIDTH', 8)
CUPTI_DEVICE_ATTR_PCIE_GEN = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_PCIE_GEN', 9)
CUPTI_DEVICE_ATTR_DEVICE_CLASS = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_DEVICE_CLASS', 10)
CUPTI_DEVICE_ATTR_FLOP_SP_PER_CYCLE = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_FLOP_SP_PER_CYCLE', 11)
CUPTI_DEVICE_ATTR_FLOP_DP_PER_CYCLE = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_FLOP_DP_PER_CYCLE', 12)
CUPTI_DEVICE_ATTR_MAX_L2_UNITS = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_MAX_L2_UNITS', 13)
CUPTI_DEVICE_ATTR_MAX_SHARED_MEMORY_CACHE_CONFIG_PREFER_SHARED = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_MAX_SHARED_MEMORY_CACHE_CONFIG_PREFER_SHARED', 14)
CUPTI_DEVICE_ATTR_MAX_SHARED_MEMORY_CACHE_CONFIG_PREFER_L1 = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_MAX_SHARED_MEMORY_CACHE_CONFIG_PREFER_L1', 15)
CUPTI_DEVICE_ATTR_MAX_SHARED_MEMORY_CACHE_CONFIG_PREFER_EQUAL = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_MAX_SHARED_MEMORY_CACHE_CONFIG_PREFER_EQUAL', 16)
CUPTI_DEVICE_ATTR_FLOP_HP_PER_CYCLE = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_FLOP_HP_PER_CYCLE', 17)
CUPTI_DEVICE_ATTR_NVLINK_PRESENT = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_NVLINK_PRESENT', 18)
CUPTI_DEVICE_ATTR_GPU_CPU_NVLINK_BW = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_GPU_CPU_NVLINK_BW', 19)
CUPTI_DEVICE_ATTR_NVSWITCH_PRESENT = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_NVSWITCH_PRESENT', 20)
CUPTI_DEVICE_ATTR_FORCE_INT = CUpti_DeviceAttribute.define('CUPTI_DEVICE_ATTR_FORCE_INT', 2147483647)

@c.record
class CUpti_ActivityDeviceAttribute_value(c.Struct):
  SIZE = 8
  vDouble: Annotated[Annotated[float, ctypes.c_double], 0]
  vUint32: Annotated[uint32_t, 0]
  vUint64: Annotated[uint64_t, 0]
  vInt32: Annotated[int32_t, 0]
  vInt64: Annotated[int64_t, 0]
@c.record
class CUpti_ActivityContext3(c.Struct):
  SIZE = 32
  kind: Annotated[CUpti_ActivityKind, 0]
  contextId: Annotated[uint32_t, 4]
  deviceId: Annotated[uint32_t, 8]
  computeApiKind: Annotated[uint16_t, 12]
  nullStreamId: Annotated[uint16_t, 14]
  parentContextId: Annotated[uint32_t, 16]
  isGreenContext: Annotated[uint8_t, 20]
  padding: Annotated[uint8_t, 21]
  numMultiprocessors: Annotated[uint16_t, 22]
  cigMode: Annotated[CUpti_ContextCigMode, 24]
  padding2: Annotated[uint32_t, 28]
@c.record
class CUpti_ActivityName(c.Struct):
  SIZE = 32
  kind: Annotated[CUpti_ActivityKind, 0]
  objectKind: Annotated[CUpti_ActivityObjectKind, 4]
  objectId: Annotated[CUpti_ActivityObjectKindId, 8]
  pad: Annotated[uint32_t, 20]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 24]
@c.record
class CUpti_ActivityMarker2(c.Struct):
  SIZE = 56
  kind: Annotated[CUpti_ActivityKind, 0]
  flags: Annotated[CUpti_ActivityFlag, 4]
  timestamp: Annotated[uint64_t, 8]
  id: Annotated[uint32_t, 16]
  objectKind: Annotated[CUpti_ActivityObjectKind, 20]
  objectId: Annotated[CUpti_ActivityObjectKindId, 24]
  pad: Annotated[uint32_t, 36]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 40]
  domain: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 48]
@c.record
class CUpti_ActivityMarkerData(c.Struct):
  SIZE = 32
  kind: Annotated[CUpti_ActivityKind, 0]
  flags: Annotated[CUpti_ActivityFlag, 4]
  id: Annotated[uint32_t, 8]
  payloadKind: Annotated[CUpti_MetricValueKind, 12]
  payload: Annotated[CUpti_MetricValue, 16]
  color: Annotated[uint32_t, 24]
  category: Annotated[uint32_t, 28]
class CUpti_MetricValueKind(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_METRIC_VALUE_KIND_DOUBLE = CUpti_MetricValueKind.define('CUPTI_METRIC_VALUE_KIND_DOUBLE', 0)
CUPTI_METRIC_VALUE_KIND_UINT64 = CUpti_MetricValueKind.define('CUPTI_METRIC_VALUE_KIND_UINT64', 1)
CUPTI_METRIC_VALUE_KIND_PERCENT = CUpti_MetricValueKind.define('CUPTI_METRIC_VALUE_KIND_PERCENT', 2)
CUPTI_METRIC_VALUE_KIND_THROUGHPUT = CUpti_MetricValueKind.define('CUPTI_METRIC_VALUE_KIND_THROUGHPUT', 3)
CUPTI_METRIC_VALUE_KIND_INT64 = CUpti_MetricValueKind.define('CUPTI_METRIC_VALUE_KIND_INT64', 4)
CUPTI_METRIC_VALUE_KIND_UTILIZATION_LEVEL = CUpti_MetricValueKind.define('CUPTI_METRIC_VALUE_KIND_UTILIZATION_LEVEL', 5)
CUPTI_METRIC_VALUE_KIND_FORCE_INT = CUpti_MetricValueKind.define('CUPTI_METRIC_VALUE_KIND_FORCE_INT', 2147483647)

@c.record
class CUpti_ActivityOverhead3(c.Struct):
  SIZE = 56
  kind: Annotated[CUpti_ActivityKind, 0]
  overheadKind: Annotated[CUpti_ActivityOverheadKind, 4]
  objectKind: Annotated[CUpti_ActivityObjectKind, 8]
  objectId: Annotated[CUpti_ActivityObjectKindId, 12]
  start: Annotated[uint64_t, 24]
  end: Annotated[uint64_t, 32]
  correlationId: Annotated[uint32_t, 40]
  reserved0: Annotated[uint32_t, 44]
  overheadData: Annotated[ctypes.c_void_p, 48]
@c.record
class CUpti_ActivityEnvironment(c.Struct):
  SIZE = 40
  kind: Annotated[CUpti_ActivityKind, 0]
  deviceId: Annotated[uint32_t, 4]
  timestamp: Annotated[uint64_t, 8]
  environmentKind: Annotated[CUpti_ActivityEnvironmentKind, 16]
  data: Annotated[CUpti_ActivityEnvironment_data, 20]
@c.record
class CUpti_ActivityEnvironment_data(c.Struct):
  SIZE = 20
  speed: Annotated[CUpti_ActivityEnvironment_data_speed, 0]
  temperature: Annotated[CUpti_ActivityEnvironment_data_temperature, 0]
  power: Annotated[CUpti_ActivityEnvironment_data_power, 0]
  cooling: Annotated[CUpti_ActivityEnvironment_data_cooling, 0]
@c.record
class CUpti_ActivityEnvironment_data_speed(c.Struct):
  SIZE = 20
  smClock: Annotated[uint32_t, 0]
  memoryClock: Annotated[uint32_t, 4]
  pcieLinkGen: Annotated[uint32_t, 8]
  pcieLinkWidth: Annotated[uint32_t, 12]
  clocksThrottleReasons: Annotated[CUpti_EnvironmentClocksThrottleReason, 16]
@c.record
class CUpti_ActivityEnvironment_data_temperature(c.Struct):
  SIZE = 4
  gpuTemperature: Annotated[uint32_t, 0]
@c.record
class CUpti_ActivityEnvironment_data_power(c.Struct):
  SIZE = 8
  power: Annotated[uint32_t, 0]
  powerLimit: Annotated[uint32_t, 4]
@c.record
class CUpti_ActivityEnvironment_data_cooling(c.Struct):
  SIZE = 4
  fanSpeed: Annotated[uint32_t, 0]
@c.record
class CUpti_ActivityInstructionExecution(c.Struct):
  SIZE = 48
  kind: Annotated[CUpti_ActivityKind, 0]
  flags: Annotated[CUpti_ActivityFlag, 4]
  sourceLocatorId: Annotated[uint32_t, 8]
  correlationId: Annotated[uint32_t, 12]
  functionId: Annotated[uint32_t, 16]
  pcOffset: Annotated[uint32_t, 20]
  threadsExecuted: Annotated[uint64_t, 24]
  notPredOffThreadsExecuted: Annotated[uint64_t, 32]
  executed: Annotated[uint32_t, 40]
  pad: Annotated[uint32_t, 44]
@c.record
class CUpti_ActivityPCSampling3(c.Struct):
  SIZE = 40
  kind: Annotated[CUpti_ActivityKind, 0]
  flags: Annotated[CUpti_ActivityFlag, 4]
  sourceLocatorId: Annotated[uint32_t, 8]
  correlationId: Annotated[uint32_t, 12]
  functionId: Annotated[uint32_t, 16]
  latencySamples: Annotated[uint32_t, 20]
  samples: Annotated[uint32_t, 24]
  stallReason: Annotated[CUpti_ActivityPCSamplingStallReason, 28]
  pcOffset: Annotated[uint64_t, 32]
@c.record
class CUpti_ActivityPCSamplingRecordInfo(c.Struct):
  SIZE = 32
  kind: Annotated[CUpti_ActivityKind, 0]
  correlationId: Annotated[uint32_t, 4]
  totalSamples: Annotated[uint64_t, 8]
  droppedSamples: Annotated[uint64_t, 16]
  samplingPeriodInCycles: Annotated[uint64_t, 24]
@c.record
class CUpti_ActivityUnifiedMemoryCounter3(c.Struct):
  SIZE = 104
  kind: Annotated[CUpti_ActivityKind, 0]
  counterKind: Annotated[CUpti_ActivityUnifiedMemoryCounterKind, 4]
  value: Annotated[uint64_t, 8]
  start: Annotated[uint64_t, 16]
  end: Annotated[uint64_t, 24]
  address: Annotated[uint64_t, 32]
  srcId: Annotated[uint32_t, 40]
  dstId: Annotated[uint32_t, 44]
  streamId: Annotated[uint32_t, 48]
  processId: Annotated[uint32_t, 52]
  flags: Annotated[uint32_t, 56]
  pad: Annotated[uint32_t, 60]
  processors: Annotated[c.Array[uint64_t, Literal[5]], 64]
@c.record
class CUpti_ActivityFunction(c.Struct):
  SIZE = 32
  kind: Annotated[CUpti_ActivityKind, 0]
  id: Annotated[uint32_t, 4]
  contextId: Annotated[uint32_t, 8]
  moduleId: Annotated[uint32_t, 12]
  functionIndex: Annotated[uint32_t, 16]
  pad: Annotated[uint32_t, 20]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 24]
@c.record
class CUpti_ActivityModule(c.Struct):
  SIZE = 24
  kind: Annotated[CUpti_ActivityKind, 0]
  contextId: Annotated[uint32_t, 4]
  id: Annotated[uint32_t, 8]
  cubinSize: Annotated[uint32_t, 12]
  cubin: Annotated[ctypes.c_void_p, 16]
@c.record
class CUpti_ActivitySharedAccess(c.Struct):
  SIZE = 56
  kind: Annotated[CUpti_ActivityKind, 0]
  flags: Annotated[CUpti_ActivityFlag, 4]
  sourceLocatorId: Annotated[uint32_t, 8]
  correlationId: Annotated[uint32_t, 12]
  functionId: Annotated[uint32_t, 16]
  pcOffset: Annotated[uint32_t, 20]
  threadsExecuted: Annotated[uint64_t, 24]
  sharedTransactions: Annotated[uint64_t, 32]
  theoreticalSharedTransactions: Annotated[uint64_t, 40]
  executed: Annotated[uint32_t, 48]
  pad: Annotated[uint32_t, 52]
@c.record
class CUpti_ActivityCudaEvent2(c.Struct):
  SIZE = 56
  kind: Annotated[CUpti_ActivityKind, 0]
  correlationId: Annotated[uint32_t, 4]
  contextId: Annotated[uint32_t, 8]
  streamId: Annotated[uint32_t, 12]
  eventId: Annotated[uint32_t, 16]
  pad: Annotated[uint32_t, 20]
  deviceId: Annotated[uint32_t, 24]
  pad2: Annotated[uint32_t, 28]
  reserved0: Annotated[ctypes.c_void_p, 32]
  deviceTimestamp: Annotated[uint64_t, 40]
  cudaEventSyncId: Annotated[uint64_t, 48]
@c.record
class CUpti_ActivityStream(c.Struct):
  SIZE = 24
  kind: Annotated[CUpti_ActivityKind, 0]
  contextId: Annotated[uint32_t, 4]
  streamId: Annotated[uint32_t, 8]
  priority: Annotated[uint32_t, 12]
  flag: Annotated[CUpti_ActivityStreamFlag, 16]
  correlationId: Annotated[uint32_t, 20]
@c.record
class CUpti_ActivitySynchronization2(c.Struct):
  SIZE = 56
  kind: Annotated[CUpti_ActivityKind, 0]
  type: Annotated[CUpti_ActivitySynchronizationType, 4]
  start: Annotated[uint64_t, 8]
  end: Annotated[uint64_t, 16]
  correlationId: Annotated[uint32_t, 24]
  contextId: Annotated[uint32_t, 28]
  streamId: Annotated[uint32_t, 32]
  cudaEventId: Annotated[uint32_t, 36]
  cudaEventSyncId: Annotated[uint64_t, 40]
  returnValue: Annotated[uint32_t, 48]
  pad: Annotated[uint32_t, 52]
@c.record
class CUpti_ActivityInstructionCorrelation(c.Struct):
  SIZE = 24
  kind: Annotated[CUpti_ActivityKind, 0]
  flags: Annotated[CUpti_ActivityFlag, 4]
  sourceLocatorId: Annotated[uint32_t, 8]
  functionId: Annotated[uint32_t, 12]
  pcOffset: Annotated[uint32_t, 16]
  pad: Annotated[uint32_t, 20]
class CUpti_OpenAccEventKind(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_OPENACC_EVENT_KIND_INVALID = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_INVALID', 0)
CUPTI_OPENACC_EVENT_KIND_DEVICE_INIT = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_DEVICE_INIT', 1)
CUPTI_OPENACC_EVENT_KIND_DEVICE_SHUTDOWN = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_DEVICE_SHUTDOWN', 2)
CUPTI_OPENACC_EVENT_KIND_RUNTIME_SHUTDOWN = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_RUNTIME_SHUTDOWN', 3)
CUPTI_OPENACC_EVENT_KIND_ENQUEUE_LAUNCH = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_ENQUEUE_LAUNCH', 4)
CUPTI_OPENACC_EVENT_KIND_ENQUEUE_UPLOAD = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_ENQUEUE_UPLOAD', 5)
CUPTI_OPENACC_EVENT_KIND_ENQUEUE_DOWNLOAD = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_ENQUEUE_DOWNLOAD', 6)
CUPTI_OPENACC_EVENT_KIND_WAIT = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_WAIT', 7)
CUPTI_OPENACC_EVENT_KIND_IMPLICIT_WAIT = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_IMPLICIT_WAIT', 8)
CUPTI_OPENACC_EVENT_KIND_COMPUTE_CONSTRUCT = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_COMPUTE_CONSTRUCT', 9)
CUPTI_OPENACC_EVENT_KIND_UPDATE = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_UPDATE', 10)
CUPTI_OPENACC_EVENT_KIND_ENTER_DATA = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_ENTER_DATA', 11)
CUPTI_OPENACC_EVENT_KIND_EXIT_DATA = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_EXIT_DATA', 12)
CUPTI_OPENACC_EVENT_KIND_CREATE = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_CREATE', 13)
CUPTI_OPENACC_EVENT_KIND_DELETE = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_DELETE', 14)
CUPTI_OPENACC_EVENT_KIND_ALLOC = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_ALLOC', 15)
CUPTI_OPENACC_EVENT_KIND_FREE = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_FREE', 16)
CUPTI_OPENACC_EVENT_KIND_FORCE_INT = CUpti_OpenAccEventKind.define('CUPTI_OPENACC_EVENT_KIND_FORCE_INT', 2147483647)

class CUpti_OpenAccConstructKind(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_OPENACC_CONSTRUCT_KIND_UNKNOWN = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_UNKNOWN', 0)
CUPTI_OPENACC_CONSTRUCT_KIND_PARALLEL = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_PARALLEL', 1)
CUPTI_OPENACC_CONSTRUCT_KIND_KERNELS = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_KERNELS', 2)
CUPTI_OPENACC_CONSTRUCT_KIND_LOOP = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_LOOP', 3)
CUPTI_OPENACC_CONSTRUCT_KIND_DATA = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_DATA', 4)
CUPTI_OPENACC_CONSTRUCT_KIND_ENTER_DATA = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_ENTER_DATA', 5)
CUPTI_OPENACC_CONSTRUCT_KIND_EXIT_DATA = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_EXIT_DATA', 6)
CUPTI_OPENACC_CONSTRUCT_KIND_HOST_DATA = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_HOST_DATA', 7)
CUPTI_OPENACC_CONSTRUCT_KIND_ATOMIC = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_ATOMIC', 8)
CUPTI_OPENACC_CONSTRUCT_KIND_DECLARE = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_DECLARE', 9)
CUPTI_OPENACC_CONSTRUCT_KIND_INIT = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_INIT', 10)
CUPTI_OPENACC_CONSTRUCT_KIND_SHUTDOWN = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_SHUTDOWN', 11)
CUPTI_OPENACC_CONSTRUCT_KIND_SET = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_SET', 12)
CUPTI_OPENACC_CONSTRUCT_KIND_UPDATE = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_UPDATE', 13)
CUPTI_OPENACC_CONSTRUCT_KIND_ROUTINE = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_ROUTINE', 14)
CUPTI_OPENACC_CONSTRUCT_KIND_WAIT = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_WAIT', 15)
CUPTI_OPENACC_CONSTRUCT_KIND_RUNTIME_API = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_RUNTIME_API', 16)
CUPTI_OPENACC_CONSTRUCT_KIND_FORCE_INT = CUpti_OpenAccConstructKind.define('CUPTI_OPENACC_CONSTRUCT_KIND_FORCE_INT', 2147483647)

class CUpti_OpenMpEventKind(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_OPENMP_EVENT_KIND_INVALID = CUpti_OpenMpEventKind.define('CUPTI_OPENMP_EVENT_KIND_INVALID', 0)
CUPTI_OPENMP_EVENT_KIND_PARALLEL = CUpti_OpenMpEventKind.define('CUPTI_OPENMP_EVENT_KIND_PARALLEL', 1)
CUPTI_OPENMP_EVENT_KIND_TASK = CUpti_OpenMpEventKind.define('CUPTI_OPENMP_EVENT_KIND_TASK', 2)
CUPTI_OPENMP_EVENT_KIND_THREAD = CUpti_OpenMpEventKind.define('CUPTI_OPENMP_EVENT_KIND_THREAD', 3)
CUPTI_OPENMP_EVENT_KIND_IDLE = CUpti_OpenMpEventKind.define('CUPTI_OPENMP_EVENT_KIND_IDLE', 4)
CUPTI_OPENMP_EVENT_KIND_WAIT_BARRIER = CUpti_OpenMpEventKind.define('CUPTI_OPENMP_EVENT_KIND_WAIT_BARRIER', 5)
CUPTI_OPENMP_EVENT_KIND_WAIT_TASKWAIT = CUpti_OpenMpEventKind.define('CUPTI_OPENMP_EVENT_KIND_WAIT_TASKWAIT', 6)
CUPTI_OPENMP_EVENT_KIND_FORCE_INT = CUpti_OpenMpEventKind.define('CUPTI_OPENMP_EVENT_KIND_FORCE_INT', 2147483647)

@c.record
class CUpti_ActivityOpenAcc(c.Struct):
  SIZE = 120
  kind: Annotated[CUpti_ActivityKind, 0]
  eventKind: Annotated[CUpti_OpenAccEventKind, 4]
  parentConstruct: Annotated[CUpti_OpenAccConstructKind, 8]
  version: Annotated[uint32_t, 12]
  implicit: Annotated[uint32_t, 16]
  deviceType: Annotated[uint32_t, 20]
  deviceNumber: Annotated[uint32_t, 24]
  threadId: Annotated[uint32_t, 28]
  _async: Annotated[uint64_t, 32]
  asyncMap: Annotated[uint64_t, 40]
  lineNo: Annotated[uint32_t, 48]
  endLineNo: Annotated[uint32_t, 52]
  funcLineNo: Annotated[uint32_t, 56]
  funcEndLineNo: Annotated[uint32_t, 60]
  start: Annotated[uint64_t, 64]
  end: Annotated[uint64_t, 72]
  cuDeviceId: Annotated[uint32_t, 80]
  cuContextId: Annotated[uint32_t, 84]
  cuStreamId: Annotated[uint32_t, 88]
  cuProcessId: Annotated[uint32_t, 92]
  cuThreadId: Annotated[uint32_t, 96]
  externalId: Annotated[uint32_t, 100]
  srcFile: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 104]
  funcName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 112]
@c.record
class CUpti_ActivityOpenAccData(c.Struct):
  SIZE = 152
  kind: Annotated[CUpti_ActivityKind, 0]
  eventKind: Annotated[CUpti_OpenAccEventKind, 4]
  parentConstruct: Annotated[CUpti_OpenAccConstructKind, 8]
  version: Annotated[uint32_t, 12]
  implicit: Annotated[uint32_t, 16]
  deviceType: Annotated[uint32_t, 20]
  deviceNumber: Annotated[uint32_t, 24]
  threadId: Annotated[uint32_t, 28]
  _async: Annotated[uint64_t, 32]
  asyncMap: Annotated[uint64_t, 40]
  lineNo: Annotated[uint32_t, 48]
  endLineNo: Annotated[uint32_t, 52]
  funcLineNo: Annotated[uint32_t, 56]
  funcEndLineNo: Annotated[uint32_t, 60]
  start: Annotated[uint64_t, 64]
  end: Annotated[uint64_t, 72]
  cuDeviceId: Annotated[uint32_t, 80]
  cuContextId: Annotated[uint32_t, 84]
  cuStreamId: Annotated[uint32_t, 88]
  cuProcessId: Annotated[uint32_t, 92]
  cuThreadId: Annotated[uint32_t, 96]
  externalId: Annotated[uint32_t, 100]
  srcFile: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 104]
  funcName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 112]
  bytes: Annotated[uint64_t, 120]
  hostPtr: Annotated[uint64_t, 128]
  devicePtr: Annotated[uint64_t, 136]
  varName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 144]
@c.record
class CUpti_ActivityOpenAccLaunch(c.Struct):
  SIZE = 152
  kind: Annotated[CUpti_ActivityKind, 0]
  eventKind: Annotated[CUpti_OpenAccEventKind, 4]
  parentConstruct: Annotated[CUpti_OpenAccConstructKind, 8]
  version: Annotated[uint32_t, 12]
  implicit: Annotated[uint32_t, 16]
  deviceType: Annotated[uint32_t, 20]
  deviceNumber: Annotated[uint32_t, 24]
  threadId: Annotated[uint32_t, 28]
  _async: Annotated[uint64_t, 32]
  asyncMap: Annotated[uint64_t, 40]
  lineNo: Annotated[uint32_t, 48]
  endLineNo: Annotated[uint32_t, 52]
  funcLineNo: Annotated[uint32_t, 56]
  funcEndLineNo: Annotated[uint32_t, 60]
  start: Annotated[uint64_t, 64]
  end: Annotated[uint64_t, 72]
  cuDeviceId: Annotated[uint32_t, 80]
  cuContextId: Annotated[uint32_t, 84]
  cuStreamId: Annotated[uint32_t, 88]
  cuProcessId: Annotated[uint32_t, 92]
  cuThreadId: Annotated[uint32_t, 96]
  externalId: Annotated[uint32_t, 100]
  srcFile: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 104]
  funcName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 112]
  numGangs: Annotated[uint64_t, 120]
  numWorkers: Annotated[uint64_t, 128]
  vectorLength: Annotated[uint64_t, 136]
  kernelName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 144]
@c.record
class CUpti_ActivityOpenAccOther(c.Struct):
  SIZE = 120
  kind: Annotated[CUpti_ActivityKind, 0]
  eventKind: Annotated[CUpti_OpenAccEventKind, 4]
  parentConstruct: Annotated[CUpti_OpenAccConstructKind, 8]
  version: Annotated[uint32_t, 12]
  implicit: Annotated[uint32_t, 16]
  deviceType: Annotated[uint32_t, 20]
  deviceNumber: Annotated[uint32_t, 24]
  threadId: Annotated[uint32_t, 28]
  _async: Annotated[uint64_t, 32]
  asyncMap: Annotated[uint64_t, 40]
  lineNo: Annotated[uint32_t, 48]
  endLineNo: Annotated[uint32_t, 52]
  funcLineNo: Annotated[uint32_t, 56]
  funcEndLineNo: Annotated[uint32_t, 60]
  start: Annotated[uint64_t, 64]
  end: Annotated[uint64_t, 72]
  cuDeviceId: Annotated[uint32_t, 80]
  cuContextId: Annotated[uint32_t, 84]
  cuStreamId: Annotated[uint32_t, 88]
  cuProcessId: Annotated[uint32_t, 92]
  cuThreadId: Annotated[uint32_t, 96]
  externalId: Annotated[uint32_t, 100]
  srcFile: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 104]
  funcName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 112]
@c.record
class CUpti_ActivityOpenMp(c.Struct):
  SIZE = 40
  kind: Annotated[CUpti_ActivityKind, 0]
  eventKind: Annotated[CUpti_OpenMpEventKind, 4]
  version: Annotated[uint32_t, 8]
  threadId: Annotated[uint32_t, 12]
  start: Annotated[uint64_t, 16]
  end: Annotated[uint64_t, 24]
  cuProcessId: Annotated[uint32_t, 32]
  cuThreadId: Annotated[uint32_t, 36]
class CUpti_ExternalCorrelationKind(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_EXTERNAL_CORRELATION_KIND_INVALID = CUpti_ExternalCorrelationKind.define('CUPTI_EXTERNAL_CORRELATION_KIND_INVALID', 0)
CUPTI_EXTERNAL_CORRELATION_KIND_UNKNOWN = CUpti_ExternalCorrelationKind.define('CUPTI_EXTERNAL_CORRELATION_KIND_UNKNOWN', 1)
CUPTI_EXTERNAL_CORRELATION_KIND_OPENACC = CUpti_ExternalCorrelationKind.define('CUPTI_EXTERNAL_CORRELATION_KIND_OPENACC', 2)
CUPTI_EXTERNAL_CORRELATION_KIND_CUSTOM0 = CUpti_ExternalCorrelationKind.define('CUPTI_EXTERNAL_CORRELATION_KIND_CUSTOM0', 3)
CUPTI_EXTERNAL_CORRELATION_KIND_CUSTOM1 = CUpti_ExternalCorrelationKind.define('CUPTI_EXTERNAL_CORRELATION_KIND_CUSTOM1', 4)
CUPTI_EXTERNAL_CORRELATION_KIND_CUSTOM2 = CUpti_ExternalCorrelationKind.define('CUPTI_EXTERNAL_CORRELATION_KIND_CUSTOM2', 5)
CUPTI_EXTERNAL_CORRELATION_KIND_SIZE = CUpti_ExternalCorrelationKind.define('CUPTI_EXTERNAL_CORRELATION_KIND_SIZE', 6)
CUPTI_EXTERNAL_CORRELATION_KIND_FORCE_INT = CUpti_ExternalCorrelationKind.define('CUPTI_EXTERNAL_CORRELATION_KIND_FORCE_INT', 2147483647)

@c.record
class CUpti_ActivityExternalCorrelation(c.Struct):
  SIZE = 24
  kind: Annotated[CUpti_ActivityKind, 0]
  externalKind: Annotated[CUpti_ExternalCorrelationKind, 4]
  externalId: Annotated[uint64_t, 8]
  correlationId: Annotated[uint32_t, 16]
  reserved: Annotated[uint32_t, 20]
class CUpti_DevType(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_DEV_TYPE_INVALID = CUpti_DevType.define('CUPTI_DEV_TYPE_INVALID', 0)
CUPTI_DEV_TYPE_GPU = CUpti_DevType.define('CUPTI_DEV_TYPE_GPU', 1)
CUPTI_DEV_TYPE_NPU = CUpti_DevType.define('CUPTI_DEV_TYPE_NPU', 2)
CUPTI_DEV_TYPE_FORCE_INT = CUpti_DevType.define('CUPTI_DEV_TYPE_FORCE_INT', 2147483647)

@c.record
class CUpti_ActivityNvLink4(c.Struct):
  SIZE = 136
  kind: Annotated[CUpti_ActivityKind, 0]
  nvlinkVersion: Annotated[uint32_t, 4]
  typeDev0: Annotated[CUpti_DevType, 8]
  typeDev1: Annotated[CUpti_DevType, 12]
  idDev0: Annotated[CUpti_ActivityNvLink4_idDev0, 16]
  idDev1: Annotated[CUpti_ActivityNvLink4_idDev1, 32]
  flag: Annotated[uint32_t, 48]
  physicalNvLinkCount: Annotated[uint32_t, 52]
  portDev0: Annotated[c.Array[int8_t, Literal[32]], 56]
  portDev1: Annotated[c.Array[int8_t, Literal[32]], 88]
  bandwidth: Annotated[uint64_t, 120]
  nvswitchConnected: Annotated[uint8_t, 128]
  pad: Annotated[c.Array[uint8_t, Literal[7]], 129]
@c.record
class CUpti_ActivityNvLink4_idDev0(c.Struct):
  SIZE = 16
  uuidDev: Annotated[CUuuid, 0]
  npu: Annotated[CUpti_ActivityNvLink4_idDev0_npu, 0]
@c.record
class CUpti_ActivityNvLink4_idDev0_npu(c.Struct):
  SIZE = 8
  index: Annotated[uint32_t, 0]
  domainId: Annotated[uint32_t, 4]
@c.record
class CUpti_ActivityNvLink4_idDev1(c.Struct):
  SIZE = 16
  uuidDev: Annotated[CUuuid, 0]
  npu: Annotated[CUpti_ActivityNvLink4_idDev1_npu, 0]
@c.record
class CUpti_ActivityNvLink4_idDev1_npu(c.Struct):
  SIZE = 8
  index: Annotated[uint32_t, 0]
  domainId: Annotated[uint32_t, 4]
int8_t: TypeAlias = Annotated[int, ctypes.c_byte]
class CUpti_PcieDeviceType(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_PCIE_DEVICE_TYPE_GPU = CUpti_PcieDeviceType.define('CUPTI_PCIE_DEVICE_TYPE_GPU', 0)
CUPTI_PCIE_DEVICE_TYPE_BRIDGE = CUpti_PcieDeviceType.define('CUPTI_PCIE_DEVICE_TYPE_BRIDGE', 1)
CUPTI_PCIE_DEVICE_TYPE_FORCE_INT = CUpti_PcieDeviceType.define('CUPTI_PCIE_DEVICE_TYPE_FORCE_INT', 2147483647)

@c.record
class CUpti_ActivityPcie(c.Struct):
  SIZE = 168
  kind: Annotated[CUpti_ActivityKind, 0]
  type: Annotated[CUpti_PcieDeviceType, 4]
  id: Annotated[CUpti_ActivityPcie_id, 8]
  domain: Annotated[uint32_t, 12]
  pcieGeneration: Annotated[uint16_t, 16]
  linkRate: Annotated[uint16_t, 18]
  linkWidth: Annotated[uint16_t, 20]
  upstreamBus: Annotated[uint16_t, 22]
  attr: Annotated[CUpti_ActivityPcie_attr, 24]
@c.record
class CUpti_ActivityPcie_id(c.Struct):
  SIZE = 4
  devId: Annotated[CUdevice, 0]
  bridgeId: Annotated[uint32_t, 0]
CUdevice: TypeAlias = Annotated[int, ctypes.c_int32]
@c.record
class CUpti_ActivityPcie_attr(c.Struct):
  SIZE = 144
  gpuAttr: Annotated[CUpti_ActivityPcie_attr_gpuAttr, 0]
  bridgeAttr: Annotated[CUpti_ActivityPcie_attr_bridgeAttr, 0]
@c.record
class CUpti_ActivityPcie_attr_gpuAttr(c.Struct):
  SIZE = 144
  uuidDev: Annotated[CUuuid, 0]
  peerDev: Annotated[c.Array[CUdevice, Literal[32]], 16]
@c.record
class CUpti_ActivityPcie_attr_bridgeAttr(c.Struct):
  SIZE = 8
  secondaryBus: Annotated[uint16_t, 0]
  deviceId: Annotated[uint16_t, 2]
  vendorId: Annotated[uint16_t, 4]
  pad0: Annotated[uint16_t, 6]
class CUpti_PcieGen(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_PCIE_GEN_GEN1 = CUpti_PcieGen.define('CUPTI_PCIE_GEN_GEN1', 1)
CUPTI_PCIE_GEN_GEN2 = CUpti_PcieGen.define('CUPTI_PCIE_GEN_GEN2', 2)
CUPTI_PCIE_GEN_GEN3 = CUpti_PcieGen.define('CUPTI_PCIE_GEN_GEN3', 3)
CUPTI_PCIE_GEN_GEN4 = CUpti_PcieGen.define('CUPTI_PCIE_GEN_GEN4', 4)
CUPTI_PCIE_GEN_GEN5 = CUpti_PcieGen.define('CUPTI_PCIE_GEN_GEN5', 5)
CUPTI_PCIE_GEN_GEN6 = CUpti_PcieGen.define('CUPTI_PCIE_GEN_GEN6', 6)
CUPTI_PCIE_GEN_FORCE_INT = CUpti_PcieGen.define('CUPTI_PCIE_GEN_FORCE_INT', 2147483647)

@c.record
class CUpti_ActivityInstantaneousEvent(c.Struct):
  SIZE = 32
  kind: Annotated[CUpti_ActivityKind, 0]
  id: Annotated[CUpti_EventID, 4]
  value: Annotated[uint64_t, 8]
  timestamp: Annotated[uint64_t, 16]
  deviceId: Annotated[uint32_t, 24]
  reserved: Annotated[uint32_t, 28]
@c.record
class CUpti_ActivityInstantaneousEventInstance(c.Struct):
  SIZE = 32
  kind: Annotated[CUpti_ActivityKind, 0]
  id: Annotated[CUpti_EventID, 4]
  value: Annotated[uint64_t, 8]
  timestamp: Annotated[uint64_t, 16]
  deviceId: Annotated[uint32_t, 24]
  instance: Annotated[uint8_t, 28]
  pad: Annotated[c.Array[uint8_t, Literal[3]], 29]
@c.record
class CUpti_ActivityInstantaneousMetric(c.Struct):
  SIZE = 32
  kind: Annotated[CUpti_ActivityKind, 0]
  id: Annotated[CUpti_MetricID, 4]
  value: Annotated[CUpti_MetricValue, 8]
  timestamp: Annotated[uint64_t, 16]
  deviceId: Annotated[uint32_t, 24]
  flags: Annotated[uint8_t, 28]
  pad: Annotated[c.Array[uint8_t, Literal[3]], 29]
@c.record
class CUpti_ActivityInstantaneousMetricInstance(c.Struct):
  SIZE = 32
  kind: Annotated[CUpti_ActivityKind, 0]
  id: Annotated[CUpti_MetricID, 4]
  value: Annotated[CUpti_MetricValue, 8]
  timestamp: Annotated[uint64_t, 16]
  deviceId: Annotated[uint32_t, 24]
  flags: Annotated[uint8_t, 28]
  instance: Annotated[uint8_t, 29]
  pad: Annotated[c.Array[uint8_t, Literal[2]], 30]
class CUpti_ActivityJitEntryType(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_JIT_ENTRY_INVALID = CUpti_ActivityJitEntryType.define('CUPTI_ACTIVITY_JIT_ENTRY_INVALID', 0)
CUPTI_ACTIVITY_JIT_ENTRY_PTX_TO_CUBIN = CUpti_ActivityJitEntryType.define('CUPTI_ACTIVITY_JIT_ENTRY_PTX_TO_CUBIN', 1)
CUPTI_ACTIVITY_JIT_ENTRY_NVVM_IR_TO_PTX = CUpti_ActivityJitEntryType.define('CUPTI_ACTIVITY_JIT_ENTRY_NVVM_IR_TO_PTX', 2)
CUPTI_ACTIVITY_JIT_ENTRY_TYPE_FORCE_INT = CUpti_ActivityJitEntryType.define('CUPTI_ACTIVITY_JIT_ENTRY_TYPE_FORCE_INT', 2147483647)

class CUpti_ActivityJitOperationType(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_JIT_OPERATION_INVALID = CUpti_ActivityJitOperationType.define('CUPTI_ACTIVITY_JIT_OPERATION_INVALID', 0)
CUPTI_ACTIVITY_JIT_OPERATION_CACHE_LOAD = CUpti_ActivityJitOperationType.define('CUPTI_ACTIVITY_JIT_OPERATION_CACHE_LOAD', 1)
CUPTI_ACTIVITY_JIT_OPERATION_CACHE_STORE = CUpti_ActivityJitOperationType.define('CUPTI_ACTIVITY_JIT_OPERATION_CACHE_STORE', 2)
CUPTI_ACTIVITY_JIT_OPERATION_COMPILE = CUpti_ActivityJitOperationType.define('CUPTI_ACTIVITY_JIT_OPERATION_COMPILE', 3)
CUPTI_ACTIVITY_JIT_OPERATION_TYPE_FORCE_INT = CUpti_ActivityJitOperationType.define('CUPTI_ACTIVITY_JIT_OPERATION_TYPE_FORCE_INT', 2147483647)

@c.record
class CUpti_ActivityJit2(c.Struct):
  SIZE = 72
  kind: Annotated[CUpti_ActivityKind, 0]
  jitEntryType: Annotated[CUpti_ActivityJitEntryType, 4]
  jitOperationType: Annotated[CUpti_ActivityJitOperationType, 8]
  deviceId: Annotated[uint32_t, 12]
  start: Annotated[uint64_t, 16]
  end: Annotated[uint64_t, 24]
  correlationId: Annotated[uint32_t, 32]
  padding: Annotated[uint32_t, 36]
  jitOperationCorrelationId: Annotated[uint64_t, 40]
  cacheSize: Annotated[uint64_t, 48]
  cachePath: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 56]
  processId: Annotated[uint32_t, 64]
  threadId: Annotated[uint32_t, 68]
@c.record
class CUpti_ActivityGraphTrace2(c.Struct):
  SIZE = 56
  kind: Annotated[CUpti_ActivityKind, 0]
  correlationId: Annotated[uint32_t, 4]
  start: Annotated[uint64_t, 8]
  end: Annotated[uint64_t, 16]
  deviceId: Annotated[uint32_t, 24]
  graphId: Annotated[uint32_t, 28]
  contextId: Annotated[uint32_t, 32]
  streamId: Annotated[uint32_t, 36]
  reserved: Annotated[ctypes.c_void_p, 40]
  endDeviceId: Annotated[uint32_t, 48]
  endContextId: Annotated[uint32_t, 52]
class CUpti_DeviceGraphLaunchMode(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_DEVICE_GRAPH_LAUNCH_MODE_INVALID = CUpti_DeviceGraphLaunchMode.define('CUPTI_DEVICE_GRAPH_LAUNCH_MODE_INVALID', 0)
CUPTI_DEVICE_GRAPH_LAUNCH_MODE_FIRE_AND_FORGET = CUpti_DeviceGraphLaunchMode.define('CUPTI_DEVICE_GRAPH_LAUNCH_MODE_FIRE_AND_FORGET', 1)
CUPTI_DEVICE_GRAPH_LAUNCH_MODE_TAIL = CUpti_DeviceGraphLaunchMode.define('CUPTI_DEVICE_GRAPH_LAUNCH_MODE_TAIL', 2)
CUPTI_DEVICE_GRAPH_LAUNCH_MODE_FIRE_AND_FORGET_AS_SIBLING = CUpti_DeviceGraphLaunchMode.define('CUPTI_DEVICE_GRAPH_LAUNCH_MODE_FIRE_AND_FORGET_AS_SIBLING', 3)

@c.record
class CUpti_ActivityDeviceGraphTrace(c.Struct):
  SIZE = 56
  kind: Annotated[CUpti_ActivityKind, 0]
  deviceId: Annotated[uint32_t, 4]
  start: Annotated[uint64_t, 8]
  end: Annotated[uint64_t, 16]
  graphId: Annotated[uint32_t, 24]
  launcherGraphId: Annotated[uint32_t, 28]
  deviceLaunchMode: Annotated[uint32_t, 32]
  contextId: Annotated[uint32_t, 36]
  streamId: Annotated[uint64_t, 40]
  reserved: Annotated[ctypes.c_void_p, 48]
@c.record
class CUpti_ActivityMemDecompress(c.Struct):
  SIZE = 64
  kind: Annotated[CUpti_ActivityKind, 0]
  deviceId: Annotated[uint32_t, 4]
  contextId: Annotated[uint32_t, 8]
  streamId: Annotated[uint32_t, 12]
  channelID: Annotated[uint32_t, 16]
  channelType: Annotated[CUpti_ChannelType, 20]
  correlationId: Annotated[uint32_t, 24]
  numberOfOperations: Annotated[uint32_t, 28]
  sourceBytes: Annotated[uint64_t, 32]
  reserved0: Annotated[ctypes.c_void_p, 40]
  start: Annotated[uint64_t, 48]
  end: Annotated[uint64_t, 56]
class CUpti_ActivityAttribute(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_ATTR_DEVICE_BUFFER_SIZE = CUpti_ActivityAttribute.define('CUPTI_ACTIVITY_ATTR_DEVICE_BUFFER_SIZE', 0)
CUPTI_ACTIVITY_ATTR_DEVICE_BUFFER_SIZE_CDP = CUpti_ActivityAttribute.define('CUPTI_ACTIVITY_ATTR_DEVICE_BUFFER_SIZE_CDP', 1)
CUPTI_ACTIVITY_ATTR_DEVICE_BUFFER_POOL_LIMIT = CUpti_ActivityAttribute.define('CUPTI_ACTIVITY_ATTR_DEVICE_BUFFER_POOL_LIMIT', 2)
CUPTI_ACTIVITY_ATTR_PROFILING_SEMAPHORE_POOL_SIZE = CUpti_ActivityAttribute.define('CUPTI_ACTIVITY_ATTR_PROFILING_SEMAPHORE_POOL_SIZE', 3)
CUPTI_ACTIVITY_ATTR_PROFILING_SEMAPHORE_POOL_LIMIT = CUpti_ActivityAttribute.define('CUPTI_ACTIVITY_ATTR_PROFILING_SEMAPHORE_POOL_LIMIT', 4)
CUPTI_ACTIVITY_ATTR_ZEROED_OUT_ACTIVITY_BUFFER = CUpti_ActivityAttribute.define('CUPTI_ACTIVITY_ATTR_ZEROED_OUT_ACTIVITY_BUFFER', 5)
CUPTI_ACTIVITY_ATTR_DEVICE_BUFFER_PRE_ALLOCATE_VALUE = CUpti_ActivityAttribute.define('CUPTI_ACTIVITY_ATTR_DEVICE_BUFFER_PRE_ALLOCATE_VALUE', 6)
CUPTI_ACTIVITY_ATTR_PROFILING_SEMAPHORE_PRE_ALLOCATE_VALUE = CUpti_ActivityAttribute.define('CUPTI_ACTIVITY_ATTR_PROFILING_SEMAPHORE_PRE_ALLOCATE_VALUE', 7)
CUPTI_ACTIVITY_ATTR_MEM_ALLOCATION_TYPE_HOST_PINNED = CUpti_ActivityAttribute.define('CUPTI_ACTIVITY_ATTR_MEM_ALLOCATION_TYPE_HOST_PINNED', 8)
CUPTI_ACTIVITY_ATTR_PER_THREAD_ACTIVITY_BUFFER = CUpti_ActivityAttribute.define('CUPTI_ACTIVITY_ATTR_PER_THREAD_ACTIVITY_BUFFER', 9)
CUPTI_ACTIVITY_ATTR_DEVICE_BUFFER_FORCE_INT = CUpti_ActivityAttribute.define('CUPTI_ACTIVITY_ATTR_DEVICE_BUFFER_FORCE_INT', 2147483647)

class CUpti_ActivityThreadIdType(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_ACTIVITY_THREAD_ID_TYPE_DEFAULT = CUpti_ActivityThreadIdType.define('CUPTI_ACTIVITY_THREAD_ID_TYPE_DEFAULT', 0)
CUPTI_ACTIVITY_THREAD_ID_TYPE_SYSTEM = CUpti_ActivityThreadIdType.define('CUPTI_ACTIVITY_THREAD_ID_TYPE_SYSTEM', 1)
CUPTI_ACTIVITY_THREAD_ID_TYPE_SIZE = CUpti_ActivityThreadIdType.define('CUPTI_ACTIVITY_THREAD_ID_TYPE_SIZE', 2)
CUPTI_ACTIVITY_THREAD_ID_TYPE_FORCE_INT = CUpti_ActivityThreadIdType.define('CUPTI_ACTIVITY_THREAD_ID_TYPE_FORCE_INT', 2147483647)

@dll.bind
def cuptiGetTimestamp(timestamp:c.POINTER[uint64_t]) -> CUptiResult: ...
class struct_CUctx_st(ctypes.Structure): pass
CUcontext: TypeAlias = c.POINTER[struct_CUctx_st]
@dll.bind
def cuptiGetContextId(context:CUcontext, contextId:c.POINTER[uint32_t]) -> CUptiResult: ...
class struct_CUstream_st(ctypes.Structure): pass
CUstream: TypeAlias = c.POINTER[struct_CUstream_st]
@dll.bind
def cuptiGetStreamId(context:CUcontext, stream:CUstream, streamId:c.POINTER[uint32_t]) -> CUptiResult: ...
@dll.bind
def cuptiGetStreamIdEx(context:CUcontext, stream:CUstream, perThreadStream:uint8_t, streamId:c.POINTER[uint32_t]) -> CUptiResult: ...
@dll.bind
def cuptiGetDeviceId(context:CUcontext, deviceId:c.POINTER[uint32_t]) -> CUptiResult: ...
class struct_CUgraphNode_st(ctypes.Structure): pass
CUgraphNode: TypeAlias = c.POINTER[struct_CUgraphNode_st]
@dll.bind
def cuptiGetGraphNodeId(node:CUgraphNode, nodeId:c.POINTER[uint64_t]) -> CUptiResult: ...
class struct_CUgraph_st(ctypes.Structure): pass
CUgraph: TypeAlias = c.POINTER[struct_CUgraph_st]
@dll.bind
def cuptiGetGraphId(graph:CUgraph, pId:c.POINTER[uint32_t]) -> CUptiResult: ...
class struct_CUgraphExec_st(ctypes.Structure): pass
CUgraphExec: TypeAlias = c.POINTER[struct_CUgraphExec_st]
@dll.bind
def cuptiGetGraphExecId(graphExec:CUgraphExec, pId:c.POINTER[uint32_t]) -> CUptiResult: ...
@dll.bind
def cuptiActivityEnable(kind:CUpti_ActivityKind) -> CUptiResult: ...
@dll.bind
def cuptiActivityEnableAndDump(kind:CUpti_ActivityKind) -> CUptiResult: ...
@dll.bind
def cuptiActivityDisable(kind:CUpti_ActivityKind) -> CUptiResult: ...
@dll.bind
def cuptiActivityEnableContext(context:CUcontext, kind:CUpti_ActivityKind) -> CUptiResult: ...
@dll.bind
def cuptiActivityDisableContext(context:CUcontext, kind:CUpti_ActivityKind) -> CUptiResult: ...
@dll.bind
def cuptiActivityGetNumDroppedRecords(context:CUcontext, streamId:uint32_t, dropped:c.POINTER[size_t]) -> CUptiResult: ...
@dll.bind
def cuptiActivityGetNextRecord(buffer:c.POINTER[uint8_t], validBufferSizeBytes:size_t, record:c.POINTER[c.POINTER[CUpti_Activity]]) -> CUptiResult: ...
CUpti_BuffersCallbackRequestFunc: TypeAlias = c.CFUNCTYPE[None, [c.POINTER[c.POINTER[Annotated[int, ctypes.c_ubyte]]], c.POINTER[Annotated[int, ctypes.c_uint64]], c.POINTER[Annotated[int, ctypes.c_uint64]]]]
CUpti_BuffersCallbackCompleteFunc: TypeAlias = c.CFUNCTYPE[None, [c.POINTER[struct_CUctx_st], Annotated[int, ctypes.c_uint32], c.POINTER[Annotated[int, ctypes.c_ubyte]], Annotated[int, ctypes.c_uint64], Annotated[int, ctypes.c_uint64]]]
@dll.bind
def cuptiActivityRegisterCallbacks(funcBufferRequested:CUpti_BuffersCallbackRequestFunc, funcBufferCompleted:CUpti_BuffersCallbackCompleteFunc) -> CUptiResult: ...
@dll.bind
def cuptiActivityFlush(context:CUcontext, streamId:uint32_t, flag:uint32_t) -> CUptiResult: ...
@dll.bind
def cuptiActivityFlushAll(flag:uint32_t) -> CUptiResult: ...
@dll.bind
def cuptiActivityGetAttribute(attr:CUpti_ActivityAttribute, valueSize:c.POINTER[size_t], value:ctypes.c_void_p) -> CUptiResult: ...
@dll.bind
def cuptiActivitySetAttribute(attr:CUpti_ActivityAttribute, valueSize:c.POINTER[size_t], value:ctypes.c_void_p) -> CUptiResult: ...
@dll.bind
def cuptiActivityConfigureUnifiedMemoryCounter(config:c.POINTER[CUpti_ActivityUnifiedMemoryCounterConfig], count:uint32_t) -> CUptiResult: ...
@dll.bind
def cuptiGetAutoBoostState(context:CUcontext, state:c.POINTER[CUpti_ActivityAutoBoostState]) -> CUptiResult: ...
@dll.bind
def cuptiActivityConfigurePCSampling(ctx:CUcontext, config:c.POINTER[CUpti_ActivityPCSamplingConfig]) -> CUptiResult: ...
@dll.bind
def cuptiGetLastError() -> CUptiResult: ...
@dll.bind
def cuptiSetThreadIdType(type:CUpti_ActivityThreadIdType) -> CUptiResult: ...
@dll.bind
def cuptiGetThreadIdType(type:c.POINTER[CUpti_ActivityThreadIdType]) -> CUptiResult: ...
@dll.bind
def cuptiComputeCapabilitySupported(major:Annotated[int, ctypes.c_int32], minor:Annotated[int, ctypes.c_int32], support:c.POINTER[Annotated[int, ctypes.c_int32]]) -> CUptiResult: ...
@dll.bind
def cuptiDeviceSupported(dev:CUdevice, support:c.POINTER[Annotated[int, ctypes.c_int32]]) -> CUptiResult: ...
class CUpti_DeviceVirtualizationMode(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_DEVICE_VIRTUALIZATION_MODE_NONE = CUpti_DeviceVirtualizationMode.define('CUPTI_DEVICE_VIRTUALIZATION_MODE_NONE', 0)
CUPTI_DEVICE_VIRTUALIZATION_MODE_PASS_THROUGH = CUpti_DeviceVirtualizationMode.define('CUPTI_DEVICE_VIRTUALIZATION_MODE_PASS_THROUGH', 1)
CUPTI_DEVICE_VIRTUALIZATION_MODE_VIRTUAL_GPU = CUpti_DeviceVirtualizationMode.define('CUPTI_DEVICE_VIRTUALIZATION_MODE_VIRTUAL_GPU', 2)
CUPTI_DEVICE_VIRTUALIZATION_MODE_FORCE_INT = CUpti_DeviceVirtualizationMode.define('CUPTI_DEVICE_VIRTUALIZATION_MODE_FORCE_INT', 2147483647)

@dll.bind
def cuptiDeviceVirtualizationMode(dev:CUdevice, mode:c.POINTER[CUpti_DeviceVirtualizationMode]) -> CUptiResult: ...
@dll.bind
def cuptiFinalize() -> CUptiResult: ...
@dll.bind
def cuptiActivityPushExternalCorrelationId(kind:CUpti_ExternalCorrelationKind, id:uint64_t) -> CUptiResult: ...
@dll.bind
def cuptiActivityPopExternalCorrelationId(kind:CUpti_ExternalCorrelationKind, lastId:c.POINTER[uint64_t]) -> CUptiResult: ...
@dll.bind
def cuptiActivityEnableLatencyTimestamps(enable:uint8_t) -> CUptiResult: ...
@dll.bind
def cuptiActivityFlushPeriod(time:uint32_t) -> CUptiResult: ...
@dll.bind
def cuptiActivityEnableLaunchAttributes(enable:uint8_t) -> CUptiResult: ...
CUpti_TimestampCallbackFunc: TypeAlias = c.CFUNCTYPE[Annotated[int, ctypes.c_uint64], []]
@dll.bind
def cuptiActivityRegisterTimestampCallback(funcTimestamp:CUpti_TimestampCallbackFunc) -> CUptiResult: ...
@dll.bind
def cuptiActivityEnableDeviceGraph(enable:uint8_t) -> CUptiResult: ...
@dll.bind
def cuptiActivityEnableDriverApi(cbid:CUpti_CallbackId, enable:uint8_t) -> CUptiResult: ...
@dll.bind
def cuptiActivityEnableRuntimeApi(cbid:CUpti_CallbackId, enable:uint8_t) -> CUptiResult: ...
@dll.bind
def cuptiActivityEnableHWTrace(enable:uint8_t) -> CUptiResult: ...
@dll.bind
def cuptiActivityEnableAllocationSource(enable:uint8_t) -> CUptiResult: ...
@dll.bind
def cuptiActivityEnableAllSyncRecords(enable:uint8_t) -> CUptiResult: ...
class CUpti_ApiCallbackSite(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_API_ENTER = CUpti_ApiCallbackSite.define('CUPTI_API_ENTER', 0)
CUPTI_API_EXIT = CUpti_ApiCallbackSite.define('CUPTI_API_EXIT', 1)
CUPTI_API_CBSITE_FORCE_INT = CUpti_ApiCallbackSite.define('CUPTI_API_CBSITE_FORCE_INT', 2147483647)

class CUpti_CallbackDomain(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_CB_DOMAIN_INVALID = CUpti_CallbackDomain.define('CUPTI_CB_DOMAIN_INVALID', 0)
CUPTI_CB_DOMAIN_DRIVER_API = CUpti_CallbackDomain.define('CUPTI_CB_DOMAIN_DRIVER_API', 1)
CUPTI_CB_DOMAIN_RUNTIME_API = CUpti_CallbackDomain.define('CUPTI_CB_DOMAIN_RUNTIME_API', 2)
CUPTI_CB_DOMAIN_RESOURCE = CUpti_CallbackDomain.define('CUPTI_CB_DOMAIN_RESOURCE', 3)
CUPTI_CB_DOMAIN_SYNCHRONIZE = CUpti_CallbackDomain.define('CUPTI_CB_DOMAIN_SYNCHRONIZE', 4)
CUPTI_CB_DOMAIN_NVTX = CUpti_CallbackDomain.define('CUPTI_CB_DOMAIN_NVTX', 5)
CUPTI_CB_DOMAIN_STATE = CUpti_CallbackDomain.define('CUPTI_CB_DOMAIN_STATE', 6)
CUPTI_CB_DOMAIN_SIZE = CUpti_CallbackDomain.define('CUPTI_CB_DOMAIN_SIZE', 7)
CUPTI_CB_DOMAIN_FORCE_INT = CUpti_CallbackDomain.define('CUPTI_CB_DOMAIN_FORCE_INT', 2147483647)

class CUpti_CallbackIdResource(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_CBID_RESOURCE_INVALID = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_INVALID', 0)
CUPTI_CBID_RESOURCE_CONTEXT_CREATED = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_CONTEXT_CREATED', 1)
CUPTI_CBID_RESOURCE_CONTEXT_DESTROY_STARTING = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_CONTEXT_DESTROY_STARTING', 2)
CUPTI_CBID_RESOURCE_STREAM_CREATED = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_STREAM_CREATED', 3)
CUPTI_CBID_RESOURCE_STREAM_DESTROY_STARTING = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_STREAM_DESTROY_STARTING', 4)
CUPTI_CBID_RESOURCE_CU_INIT_FINISHED = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_CU_INIT_FINISHED', 5)
CUPTI_CBID_RESOURCE_MODULE_LOADED = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_MODULE_LOADED', 6)
CUPTI_CBID_RESOURCE_MODULE_UNLOAD_STARTING = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_MODULE_UNLOAD_STARTING', 7)
CUPTI_CBID_RESOURCE_MODULE_PROFILED = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_MODULE_PROFILED', 8)
CUPTI_CBID_RESOURCE_GRAPH_CREATED = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_GRAPH_CREATED', 9)
CUPTI_CBID_RESOURCE_GRAPH_DESTROY_STARTING = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_GRAPH_DESTROY_STARTING', 10)
CUPTI_CBID_RESOURCE_GRAPH_CLONED = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_GRAPH_CLONED', 11)
CUPTI_CBID_RESOURCE_GRAPHNODE_CREATE_STARTING = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_GRAPHNODE_CREATE_STARTING', 12)
CUPTI_CBID_RESOURCE_GRAPHNODE_CREATED = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_GRAPHNODE_CREATED', 13)
CUPTI_CBID_RESOURCE_GRAPHNODE_DESTROY_STARTING = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_GRAPHNODE_DESTROY_STARTING', 14)
CUPTI_CBID_RESOURCE_GRAPHNODE_DEPENDENCY_CREATED = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_GRAPHNODE_DEPENDENCY_CREATED', 15)
CUPTI_CBID_RESOURCE_GRAPHNODE_DEPENDENCY_DESTROY_STARTING = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_GRAPHNODE_DEPENDENCY_DESTROY_STARTING', 16)
CUPTI_CBID_RESOURCE_GRAPHEXEC_CREATE_STARTING = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_GRAPHEXEC_CREATE_STARTING', 17)
CUPTI_CBID_RESOURCE_GRAPHEXEC_CREATED = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_GRAPHEXEC_CREATED', 18)
CUPTI_CBID_RESOURCE_GRAPHEXEC_DESTROY_STARTING = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_GRAPHEXEC_DESTROY_STARTING', 19)
CUPTI_CBID_RESOURCE_GRAPHNODE_CLONED = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_GRAPHNODE_CLONED', 20)
CUPTI_CBID_RESOURCE_STREAM_ATTRIBUTE_CHANGED = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_STREAM_ATTRIBUTE_CHANGED', 21)
CUPTI_CBID_RESOURCE_SIZE = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_SIZE', 22)
CUPTI_CBID_RESOURCE_FORCE_INT = CUpti_CallbackIdResource.define('CUPTI_CBID_RESOURCE_FORCE_INT', 2147483647)

class CUpti_CallbackIdSync(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_CBID_SYNCHRONIZE_INVALID = CUpti_CallbackIdSync.define('CUPTI_CBID_SYNCHRONIZE_INVALID', 0)
CUPTI_CBID_SYNCHRONIZE_STREAM_SYNCHRONIZED = CUpti_CallbackIdSync.define('CUPTI_CBID_SYNCHRONIZE_STREAM_SYNCHRONIZED', 1)
CUPTI_CBID_SYNCHRONIZE_CONTEXT_SYNCHRONIZED = CUpti_CallbackIdSync.define('CUPTI_CBID_SYNCHRONIZE_CONTEXT_SYNCHRONIZED', 2)
CUPTI_CBID_SYNCHRONIZE_SIZE = CUpti_CallbackIdSync.define('CUPTI_CBID_SYNCHRONIZE_SIZE', 3)
CUPTI_CBID_SYNCHRONIZE_FORCE_INT = CUpti_CallbackIdSync.define('CUPTI_CBID_SYNCHRONIZE_FORCE_INT', 2147483647)

class CUpti_CallbackIdState(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_CBID_STATE_INVALID = CUpti_CallbackIdState.define('CUPTI_CBID_STATE_INVALID', 0)
CUPTI_CBID_STATE_FATAL_ERROR = CUpti_CallbackIdState.define('CUPTI_CBID_STATE_FATAL_ERROR', 1)
CUPTI_CBID_STATE_ERROR = CUpti_CallbackIdState.define('CUPTI_CBID_STATE_ERROR', 2)
CUPTI_CBID_STATE_WARNING = CUpti_CallbackIdState.define('CUPTI_CBID_STATE_WARNING', 3)
CUPTI_CBID_STATE_SIZE = CUpti_CallbackIdState.define('CUPTI_CBID_STATE_SIZE', 4)
CUPTI_CBID_STATE_FORCE_INT = CUpti_CallbackIdState.define('CUPTI_CBID_STATE_FORCE_INT', 2147483647)

@c.record
class CUpti_CallbackData(c.Struct):
  SIZE = 72
  callbackSite: Annotated[CUpti_ApiCallbackSite, 0]
  functionName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 8]
  functionParams: Annotated[ctypes.c_void_p, 16]
  functionReturnValue: Annotated[ctypes.c_void_p, 24]
  symbolName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 32]
  context: Annotated[CUcontext, 40]
  contextUid: Annotated[uint32_t, 48]
  correlationData: Annotated[c.POINTER[uint64_t], 56]
  correlationId: Annotated[uint32_t, 64]
@c.record
class CUpti_ResourceData(c.Struct):
  SIZE = 24
  context: Annotated[CUcontext, 0]
  resourceHandle: Annotated[CUpti_ResourceData_resourceHandle, 8]
  resourceDescriptor: Annotated[ctypes.c_void_p, 16]
@c.record
class CUpti_ResourceData_resourceHandle(c.Struct):
  SIZE = 8
  stream: Annotated[CUstream, 0]
@c.record
class CUpti_ModuleResourceData(c.Struct):
  SIZE = 24
  moduleId: Annotated[uint32_t, 0]
  cubinSize: Annotated[size_t, 8]
  pCubin: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 16]
@c.record
class CUpti_GraphData(c.Struct):
  SIZE = 56
  graph: Annotated[CUgraph, 0]
  originalGraph: Annotated[CUgraph, 8]
  node: Annotated[CUgraphNode, 16]
  originalNode: Annotated[CUgraphNode, 24]
  nodeType: Annotated[CUgraphNodeType, 32]
  dependency: Annotated[CUgraphNode, 40]
  graphExec: Annotated[CUgraphExec, 48]
class enum_CUgraphNodeType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_GRAPH_NODE_TYPE_KERNEL = enum_CUgraphNodeType_enum.define('CU_GRAPH_NODE_TYPE_KERNEL', 0)
CU_GRAPH_NODE_TYPE_MEMCPY = enum_CUgraphNodeType_enum.define('CU_GRAPH_NODE_TYPE_MEMCPY', 1)
CU_GRAPH_NODE_TYPE_MEMSET = enum_CUgraphNodeType_enum.define('CU_GRAPH_NODE_TYPE_MEMSET', 2)
CU_GRAPH_NODE_TYPE_HOST = enum_CUgraphNodeType_enum.define('CU_GRAPH_NODE_TYPE_HOST', 3)
CU_GRAPH_NODE_TYPE_GRAPH = enum_CUgraphNodeType_enum.define('CU_GRAPH_NODE_TYPE_GRAPH', 4)
CU_GRAPH_NODE_TYPE_EMPTY = enum_CUgraphNodeType_enum.define('CU_GRAPH_NODE_TYPE_EMPTY', 5)
CU_GRAPH_NODE_TYPE_WAIT_EVENT = enum_CUgraphNodeType_enum.define('CU_GRAPH_NODE_TYPE_WAIT_EVENT', 6)
CU_GRAPH_NODE_TYPE_EVENT_RECORD = enum_CUgraphNodeType_enum.define('CU_GRAPH_NODE_TYPE_EVENT_RECORD', 7)
CU_GRAPH_NODE_TYPE_EXT_SEMAS_SIGNAL = enum_CUgraphNodeType_enum.define('CU_GRAPH_NODE_TYPE_EXT_SEMAS_SIGNAL', 8)
CU_GRAPH_NODE_TYPE_EXT_SEMAS_WAIT = enum_CUgraphNodeType_enum.define('CU_GRAPH_NODE_TYPE_EXT_SEMAS_WAIT', 9)
CU_GRAPH_NODE_TYPE_MEM_ALLOC = enum_CUgraphNodeType_enum.define('CU_GRAPH_NODE_TYPE_MEM_ALLOC', 10)
CU_GRAPH_NODE_TYPE_MEM_FREE = enum_CUgraphNodeType_enum.define('CU_GRAPH_NODE_TYPE_MEM_FREE', 11)
CU_GRAPH_NODE_TYPE_BATCH_MEM_OP = enum_CUgraphNodeType_enum.define('CU_GRAPH_NODE_TYPE_BATCH_MEM_OP', 12)
CU_GRAPH_NODE_TYPE_CONDITIONAL = enum_CUgraphNodeType_enum.define('CU_GRAPH_NODE_TYPE_CONDITIONAL', 13)

CUgraphNodeType: TypeAlias = enum_CUgraphNodeType_enum
@c.record
class CUpti_SynchronizeData(c.Struct):
  SIZE = 16
  context: Annotated[CUcontext, 0]
  stream: Annotated[CUstream, 8]
@c.record
class CUpti_NvtxData(c.Struct):
  SIZE = 24
  functionName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 0]
  functionParams: Annotated[ctypes.c_void_p, 8]
  functionReturnValue: Annotated[ctypes.c_void_p, 16]
@c.record
class CUpti_StreamAttrData(c.Struct):
  SIZE = 24
  stream: Annotated[CUstream, 0]
  attr: Annotated[CUstreamAttrID, 8]
  value: Annotated[c.POINTER[CUstreamAttrValue], 16]
class enum_CUlaunchAttributeID_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_LAUNCH_ATTRIBUTE_IGNORE = enum_CUlaunchAttributeID_enum.define('CU_LAUNCH_ATTRIBUTE_IGNORE', 0)
CU_LAUNCH_ATTRIBUTE_ACCESS_POLICY_WINDOW = enum_CUlaunchAttributeID_enum.define('CU_LAUNCH_ATTRIBUTE_ACCESS_POLICY_WINDOW', 1)
CU_LAUNCH_ATTRIBUTE_COOPERATIVE = enum_CUlaunchAttributeID_enum.define('CU_LAUNCH_ATTRIBUTE_COOPERATIVE', 2)
CU_LAUNCH_ATTRIBUTE_SYNCHRONIZATION_POLICY = enum_CUlaunchAttributeID_enum.define('CU_LAUNCH_ATTRIBUTE_SYNCHRONIZATION_POLICY', 3)
CU_LAUNCH_ATTRIBUTE_CLUSTER_DIMENSION = enum_CUlaunchAttributeID_enum.define('CU_LAUNCH_ATTRIBUTE_CLUSTER_DIMENSION', 4)
CU_LAUNCH_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE = enum_CUlaunchAttributeID_enum.define('CU_LAUNCH_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE', 5)
CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_STREAM_SERIALIZATION = enum_CUlaunchAttributeID_enum.define('CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_STREAM_SERIALIZATION', 6)
CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT = enum_CUlaunchAttributeID_enum.define('CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT', 7)
CU_LAUNCH_ATTRIBUTE_PRIORITY = enum_CUlaunchAttributeID_enum.define('CU_LAUNCH_ATTRIBUTE_PRIORITY', 8)
CU_LAUNCH_ATTRIBUTE_MEM_SYNC_DOMAIN_MAP = enum_CUlaunchAttributeID_enum.define('CU_LAUNCH_ATTRIBUTE_MEM_SYNC_DOMAIN_MAP', 9)
CU_LAUNCH_ATTRIBUTE_MEM_SYNC_DOMAIN = enum_CUlaunchAttributeID_enum.define('CU_LAUNCH_ATTRIBUTE_MEM_SYNC_DOMAIN', 10)
CU_LAUNCH_ATTRIBUTE_PREFERRED_CLUSTER_DIMENSION = enum_CUlaunchAttributeID_enum.define('CU_LAUNCH_ATTRIBUTE_PREFERRED_CLUSTER_DIMENSION', 11)
CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT = enum_CUlaunchAttributeID_enum.define('CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT', 12)
CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE = enum_CUlaunchAttributeID_enum.define('CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE', 13)
CU_LAUNCH_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT = enum_CUlaunchAttributeID_enum.define('CU_LAUNCH_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT', 14)
CU_LAUNCH_ATTRIBUTE_MAX = enum_CUlaunchAttributeID_enum.define('CU_LAUNCH_ATTRIBUTE_MAX', 15)

CUstreamAttrID: TypeAlias = enum_CUlaunchAttributeID_enum
@c.record
class union_CUlaunchAttributeValue_union(c.Struct):
  SIZE = 64
  pad: Annotated[c.Array[Annotated[bytes, ctypes.c_char], Literal[64]], 0]
  accessPolicyWindow: Annotated[CUaccessPolicyWindow, 0]
  cooperative: Annotated[Annotated[int, ctypes.c_int32], 0]
  syncPolicy: Annotated[CUsynchronizationPolicy, 0]
  clusterDim: Annotated[union_CUlaunchAttributeValue_union_clusterDim, 0]
  clusterSchedulingPolicyPreference: Annotated[CUclusterSchedulingPolicy, 0]
  programmaticStreamSerializationAllowed: Annotated[Annotated[int, ctypes.c_int32], 0]
  programmaticEvent: Annotated[union_CUlaunchAttributeValue_union_programmaticEvent, 0]
  launchCompletionEvent: Annotated[union_CUlaunchAttributeValue_union_launchCompletionEvent, 0]
  priority: Annotated[Annotated[int, ctypes.c_int32], 0]
  memSyncDomainMap: Annotated[CUlaunchMemSyncDomainMap, 0]
  memSyncDomain: Annotated[CUlaunchMemSyncDomain, 0]
  preferredClusterDim: Annotated[union_CUlaunchAttributeValue_union_preferredClusterDim, 0]
  deviceUpdatableKernelNode: Annotated[union_CUlaunchAttributeValue_union_deviceUpdatableKernelNode, 0]
  sharedMemCarveout: Annotated[Annotated[int, ctypes.c_uint32], 0]
CUstreamAttrValue: TypeAlias = union_CUlaunchAttributeValue_union
class enum_CUsynchronizationPolicy_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_SYNC_POLICY_AUTO = enum_CUsynchronizationPolicy_enum.define('CU_SYNC_POLICY_AUTO', 1)
CU_SYNC_POLICY_SPIN = enum_CUsynchronizationPolicy_enum.define('CU_SYNC_POLICY_SPIN', 2)
CU_SYNC_POLICY_YIELD = enum_CUsynchronizationPolicy_enum.define('CU_SYNC_POLICY_YIELD', 3)
CU_SYNC_POLICY_BLOCKING_SYNC = enum_CUsynchronizationPolicy_enum.define('CU_SYNC_POLICY_BLOCKING_SYNC', 4)

CUsynchronizationPolicy: TypeAlias = enum_CUsynchronizationPolicy_enum
@c.record
class union_CUlaunchAttributeValue_union_clusterDim(c.Struct):
  SIZE = 12
  x: Annotated[Annotated[int, ctypes.c_uint32], 0]
  y: Annotated[Annotated[int, ctypes.c_uint32], 4]
  z: Annotated[Annotated[int, ctypes.c_uint32], 8]
class enum_CUclusterSchedulingPolicy_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_CLUSTER_SCHEDULING_POLICY_DEFAULT = enum_CUclusterSchedulingPolicy_enum.define('CU_CLUSTER_SCHEDULING_POLICY_DEFAULT', 0)
CU_CLUSTER_SCHEDULING_POLICY_SPREAD = enum_CUclusterSchedulingPolicy_enum.define('CU_CLUSTER_SCHEDULING_POLICY_SPREAD', 1)
CU_CLUSTER_SCHEDULING_POLICY_LOAD_BALANCING = enum_CUclusterSchedulingPolicy_enum.define('CU_CLUSTER_SCHEDULING_POLICY_LOAD_BALANCING', 2)

CUclusterSchedulingPolicy: TypeAlias = enum_CUclusterSchedulingPolicy_enum
@c.record
class union_CUlaunchAttributeValue_union_programmaticEvent(c.Struct):
  SIZE = 16
  event: Annotated[CUevent, 0]
  flags: Annotated[Annotated[int, ctypes.c_int32], 8]
  triggerAtBlockStart: Annotated[Annotated[int, ctypes.c_int32], 12]
class struct_CUevent_st(ctypes.Structure): pass
CUevent: TypeAlias = c.POINTER[struct_CUevent_st]
@c.record
class union_CUlaunchAttributeValue_union_launchCompletionEvent(c.Struct):
  SIZE = 16
  event: Annotated[CUevent, 0]
  flags: Annotated[Annotated[int, ctypes.c_int32], 8]
@c.record
class struct_CUlaunchMemSyncDomainMap_st(c.Struct):
  SIZE = 2
  default_: Annotated[Annotated[int, ctypes.c_ubyte], 0]
  remote: Annotated[Annotated[int, ctypes.c_ubyte], 1]
CUlaunchMemSyncDomainMap: TypeAlias = struct_CUlaunchMemSyncDomainMap_st
class enum_CUlaunchMemSyncDomain_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_LAUNCH_MEM_SYNC_DOMAIN_DEFAULT = enum_CUlaunchMemSyncDomain_enum.define('CU_LAUNCH_MEM_SYNC_DOMAIN_DEFAULT', 0)
CU_LAUNCH_MEM_SYNC_DOMAIN_REMOTE = enum_CUlaunchMemSyncDomain_enum.define('CU_LAUNCH_MEM_SYNC_DOMAIN_REMOTE', 1)

CUlaunchMemSyncDomain: TypeAlias = enum_CUlaunchMemSyncDomain_enum
@c.record
class union_CUlaunchAttributeValue_union_preferredClusterDim(c.Struct):
  SIZE = 12
  x: Annotated[Annotated[int, ctypes.c_uint32], 0]
  y: Annotated[Annotated[int, ctypes.c_uint32], 4]
  z: Annotated[Annotated[int, ctypes.c_uint32], 8]
@c.record
class union_CUlaunchAttributeValue_union_deviceUpdatableKernelNode(c.Struct):
  SIZE = 16
  deviceUpdatable: Annotated[Annotated[int, ctypes.c_int32], 0]
  devNode: Annotated[CUgraphDeviceNode, 8]
class struct_CUgraphDeviceUpdatableNode_st(ctypes.Structure): pass
CUgraphDeviceNode: TypeAlias = c.POINTER[struct_CUgraphDeviceUpdatableNode_st]
@c.record
class CUpti_StateData(c.Struct):
  SIZE = 16
  notification: Annotated[CUpti_StateData_notification, 0]
@c.record
class CUpti_StateData_notification(c.Struct):
  SIZE = 16
  result: Annotated[CUptiResult, 0]
  message: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 8]
CUpti_CallbackFunc: TypeAlias = c.CFUNCTYPE[None, [ctypes.c_void_p, CUpti_CallbackDomain, Annotated[int, ctypes.c_uint32], ctypes.c_void_p]]
class struct_CUpti_Subscriber_st(ctypes.Structure): pass
CUpti_SubscriberHandle: TypeAlias = c.POINTER[struct_CUpti_Subscriber_st]
CUpti_DomainTable: TypeAlias = c.POINTER[CUpti_CallbackDomain]
@dll.bind
def cuptiSupportedDomains(domainCount:c.POINTER[size_t], domainTable:c.POINTER[CUpti_DomainTable]) -> CUptiResult: ...
@dll.bind
def cuptiSubscribe(subscriber:c.POINTER[CUpti_SubscriberHandle], callback:CUpti_CallbackFunc, userdata:ctypes.c_void_p) -> CUptiResult: ...
@dll.bind
def cuptiUnsubscribe(subscriber:CUpti_SubscriberHandle) -> CUptiResult: ...
@dll.bind
def cuptiGetCallbackState(enable:c.POINTER[uint32_t], subscriber:CUpti_SubscriberHandle, domain:CUpti_CallbackDomain, cbid:CUpti_CallbackId) -> CUptiResult: ...
@dll.bind
def cuptiEnableCallback(enable:uint32_t, subscriber:CUpti_SubscriberHandle, domain:CUpti_CallbackDomain, cbid:CUpti_CallbackId) -> CUptiResult: ...
@dll.bind
def cuptiEnableDomain(enable:uint32_t, subscriber:CUpti_SubscriberHandle, domain:CUpti_CallbackDomain) -> CUptiResult: ...
@dll.bind
def cuptiEnableAllDomains(enable:uint32_t, subscriber:CUpti_SubscriberHandle) -> CUptiResult: ...
@dll.bind
def cuptiGetCallbackName(domain:CUpti_CallbackDomain, cbid:uint32_t, name:c.POINTER[c.POINTER[Annotated[bytes, ctypes.c_char]]]) -> CUptiResult: ...
CUpti_EventGroup: TypeAlias = ctypes.c_void_p
class CUpti_DeviceAttributeDeviceClass(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_DEVICE_ATTR_DEVICE_CLASS_TESLA = CUpti_DeviceAttributeDeviceClass.define('CUPTI_DEVICE_ATTR_DEVICE_CLASS_TESLA', 0)
CUPTI_DEVICE_ATTR_DEVICE_CLASS_QUADRO = CUpti_DeviceAttributeDeviceClass.define('CUPTI_DEVICE_ATTR_DEVICE_CLASS_QUADRO', 1)
CUPTI_DEVICE_ATTR_DEVICE_CLASS_GEFORCE = CUpti_DeviceAttributeDeviceClass.define('CUPTI_DEVICE_ATTR_DEVICE_CLASS_GEFORCE', 2)
CUPTI_DEVICE_ATTR_DEVICE_CLASS_TEGRA = CUpti_DeviceAttributeDeviceClass.define('CUPTI_DEVICE_ATTR_DEVICE_CLASS_TEGRA', 3)

class CUpti_EventDomainAttribute(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_EVENT_DOMAIN_ATTR_NAME = CUpti_EventDomainAttribute.define('CUPTI_EVENT_DOMAIN_ATTR_NAME', 0)
CUPTI_EVENT_DOMAIN_ATTR_INSTANCE_COUNT = CUpti_EventDomainAttribute.define('CUPTI_EVENT_DOMAIN_ATTR_INSTANCE_COUNT', 1)
CUPTI_EVENT_DOMAIN_ATTR_TOTAL_INSTANCE_COUNT = CUpti_EventDomainAttribute.define('CUPTI_EVENT_DOMAIN_ATTR_TOTAL_INSTANCE_COUNT', 3)
CUPTI_EVENT_DOMAIN_ATTR_COLLECTION_METHOD = CUpti_EventDomainAttribute.define('CUPTI_EVENT_DOMAIN_ATTR_COLLECTION_METHOD', 4)
CUPTI_EVENT_DOMAIN_ATTR_FORCE_INT = CUpti_EventDomainAttribute.define('CUPTI_EVENT_DOMAIN_ATTR_FORCE_INT', 2147483647)

class CUpti_EventCollectionMethod(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_EVENT_COLLECTION_METHOD_PM = CUpti_EventCollectionMethod.define('CUPTI_EVENT_COLLECTION_METHOD_PM', 0)
CUPTI_EVENT_COLLECTION_METHOD_SM = CUpti_EventCollectionMethod.define('CUPTI_EVENT_COLLECTION_METHOD_SM', 1)
CUPTI_EVENT_COLLECTION_METHOD_INSTRUMENTED = CUpti_EventCollectionMethod.define('CUPTI_EVENT_COLLECTION_METHOD_INSTRUMENTED', 2)
CUPTI_EVENT_COLLECTION_METHOD_NVLINK_TC = CUpti_EventCollectionMethod.define('CUPTI_EVENT_COLLECTION_METHOD_NVLINK_TC', 3)
CUPTI_EVENT_COLLECTION_METHOD_FORCE_INT = CUpti_EventCollectionMethod.define('CUPTI_EVENT_COLLECTION_METHOD_FORCE_INT', 2147483647)

class CUpti_EventGroupAttribute(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_EVENT_GROUP_ATTR_EVENT_DOMAIN_ID = CUpti_EventGroupAttribute.define('CUPTI_EVENT_GROUP_ATTR_EVENT_DOMAIN_ID', 0)
CUPTI_EVENT_GROUP_ATTR_PROFILE_ALL_DOMAIN_INSTANCES = CUpti_EventGroupAttribute.define('CUPTI_EVENT_GROUP_ATTR_PROFILE_ALL_DOMAIN_INSTANCES', 1)
CUPTI_EVENT_GROUP_ATTR_USER_DATA = CUpti_EventGroupAttribute.define('CUPTI_EVENT_GROUP_ATTR_USER_DATA', 2)
CUPTI_EVENT_GROUP_ATTR_NUM_EVENTS = CUpti_EventGroupAttribute.define('CUPTI_EVENT_GROUP_ATTR_NUM_EVENTS', 3)
CUPTI_EVENT_GROUP_ATTR_EVENTS = CUpti_EventGroupAttribute.define('CUPTI_EVENT_GROUP_ATTR_EVENTS', 4)
CUPTI_EVENT_GROUP_ATTR_INSTANCE_COUNT = CUpti_EventGroupAttribute.define('CUPTI_EVENT_GROUP_ATTR_INSTANCE_COUNT', 5)
CUPTI_EVENT_GROUP_ATTR_PROFILING_SCOPE = CUpti_EventGroupAttribute.define('CUPTI_EVENT_GROUP_ATTR_PROFILING_SCOPE', 6)
CUPTI_EVENT_GROUP_ATTR_FORCE_INT = CUpti_EventGroupAttribute.define('CUPTI_EVENT_GROUP_ATTR_FORCE_INT', 2147483647)

class CUpti_EventProfilingScope(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_EVENT_PROFILING_SCOPE_CONTEXT = CUpti_EventProfilingScope.define('CUPTI_EVENT_PROFILING_SCOPE_CONTEXT', 0)
CUPTI_EVENT_PROFILING_SCOPE_DEVICE = CUpti_EventProfilingScope.define('CUPTI_EVENT_PROFILING_SCOPE_DEVICE', 1)
CUPTI_EVENT_PROFILING_SCOPE_BOTH = CUpti_EventProfilingScope.define('CUPTI_EVENT_PROFILING_SCOPE_BOTH', 2)
CUPTI_EVENT_PROFILING_SCOPE_FORCE_INT = CUpti_EventProfilingScope.define('CUPTI_EVENT_PROFILING_SCOPE_FORCE_INT', 2147483647)

class CUpti_EventAttribute(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_EVENT_ATTR_NAME = CUpti_EventAttribute.define('CUPTI_EVENT_ATTR_NAME', 0)
CUPTI_EVENT_ATTR_SHORT_DESCRIPTION = CUpti_EventAttribute.define('CUPTI_EVENT_ATTR_SHORT_DESCRIPTION', 1)
CUPTI_EVENT_ATTR_LONG_DESCRIPTION = CUpti_EventAttribute.define('CUPTI_EVENT_ATTR_LONG_DESCRIPTION', 2)
CUPTI_EVENT_ATTR_CATEGORY = CUpti_EventAttribute.define('CUPTI_EVENT_ATTR_CATEGORY', 3)
CUPTI_EVENT_ATTR_PROFILING_SCOPE = CUpti_EventAttribute.define('CUPTI_EVENT_ATTR_PROFILING_SCOPE', 5)
CUPTI_EVENT_ATTR_FORCE_INT = CUpti_EventAttribute.define('CUPTI_EVENT_ATTR_FORCE_INT', 2147483647)

class CUpti_EventCollectionMode(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_EVENT_COLLECTION_MODE_CONTINUOUS = CUpti_EventCollectionMode.define('CUPTI_EVENT_COLLECTION_MODE_CONTINUOUS', 0)
CUPTI_EVENT_COLLECTION_MODE_KERNEL = CUpti_EventCollectionMode.define('CUPTI_EVENT_COLLECTION_MODE_KERNEL', 1)
CUPTI_EVENT_COLLECTION_MODE_FORCE_INT = CUpti_EventCollectionMode.define('CUPTI_EVENT_COLLECTION_MODE_FORCE_INT', 2147483647)

class CUpti_EventCategory(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_EVENT_CATEGORY_INSTRUCTION = CUpti_EventCategory.define('CUPTI_EVENT_CATEGORY_INSTRUCTION', 0)
CUPTI_EVENT_CATEGORY_MEMORY = CUpti_EventCategory.define('CUPTI_EVENT_CATEGORY_MEMORY', 1)
CUPTI_EVENT_CATEGORY_CACHE = CUpti_EventCategory.define('CUPTI_EVENT_CATEGORY_CACHE', 2)
CUPTI_EVENT_CATEGORY_PROFILE_TRIGGER = CUpti_EventCategory.define('CUPTI_EVENT_CATEGORY_PROFILE_TRIGGER', 3)
CUPTI_EVENT_CATEGORY_SYSTEM = CUpti_EventCategory.define('CUPTI_EVENT_CATEGORY_SYSTEM', 4)
CUPTI_EVENT_CATEGORY_FORCE_INT = CUpti_EventCategory.define('CUPTI_EVENT_CATEGORY_FORCE_INT', 2147483647)

class CUpti_ReadEventFlags(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_EVENT_READ_FLAG_NONE = CUpti_ReadEventFlags.define('CUPTI_EVENT_READ_FLAG_NONE', 0)
CUPTI_EVENT_READ_FLAG_FORCE_INT = CUpti_ReadEventFlags.define('CUPTI_EVENT_READ_FLAG_FORCE_INT', 2147483647)

@c.record
class CUpti_EventGroupSet(c.Struct):
  SIZE = 16
  numEventGroups: Annotated[uint32_t, 0]
  eventGroups: Annotated[c.POINTER[CUpti_EventGroup], 8]
@c.record
class CUpti_EventGroupSets(c.Struct):
  SIZE = 16
  numSets: Annotated[uint32_t, 0]
  sets: Annotated[c.POINTER[CUpti_EventGroupSet], 8]
@dll.bind
def cuptiSetEventCollectionMode(context:CUcontext, mode:CUpti_EventCollectionMode) -> CUptiResult: ...
@dll.bind
def cuptiDeviceGetAttribute(device:CUdevice, attrib:CUpti_DeviceAttribute, valueSize:c.POINTER[size_t], value:ctypes.c_void_p) -> CUptiResult: ...
@dll.bind
def cuptiDeviceGetNumEventDomains(device:CUdevice, numDomains:c.POINTER[uint32_t]) -> CUptiResult: ...
@dll.bind
def cuptiDeviceEnumEventDomains(device:CUdevice, arraySizeBytes:c.POINTER[size_t], domainArray:c.POINTER[CUpti_EventDomainID]) -> CUptiResult: ...
@dll.bind
def cuptiDeviceGetEventDomainAttribute(device:CUdevice, eventDomain:CUpti_EventDomainID, attrib:CUpti_EventDomainAttribute, valueSize:c.POINTER[size_t], value:ctypes.c_void_p) -> CUptiResult: ...
@dll.bind
def cuptiGetNumEventDomains(numDomains:c.POINTER[uint32_t]) -> CUptiResult: ...
@dll.bind
def cuptiEnumEventDomains(arraySizeBytes:c.POINTER[size_t], domainArray:c.POINTER[CUpti_EventDomainID]) -> CUptiResult: ...
@dll.bind
def cuptiEventDomainGetAttribute(eventDomain:CUpti_EventDomainID, attrib:CUpti_EventDomainAttribute, valueSize:c.POINTER[size_t], value:ctypes.c_void_p) -> CUptiResult: ...
@dll.bind
def cuptiEventDomainGetNumEvents(eventDomain:CUpti_EventDomainID, numEvents:c.POINTER[uint32_t]) -> CUptiResult: ...
@dll.bind
def cuptiEventDomainEnumEvents(eventDomain:CUpti_EventDomainID, arraySizeBytes:c.POINTER[size_t], eventArray:c.POINTER[CUpti_EventID]) -> CUptiResult: ...
@dll.bind
def cuptiEventGetAttribute(event:CUpti_EventID, attrib:CUpti_EventAttribute, valueSize:c.POINTER[size_t], value:ctypes.c_void_p) -> CUptiResult: ...
@dll.bind
def cuptiEventGetIdFromName(device:CUdevice, eventName:c.POINTER[Annotated[bytes, ctypes.c_char]], event:c.POINTER[CUpti_EventID]) -> CUptiResult: ...
@dll.bind
def cuptiEventGroupCreate(context:CUcontext, eventGroup:c.POINTER[CUpti_EventGroup], flags:uint32_t) -> CUptiResult: ...
@dll.bind
def cuptiEventGroupDestroy(eventGroup:CUpti_EventGroup) -> CUptiResult: ...
@dll.bind
def cuptiEventGroupGetAttribute(eventGroup:CUpti_EventGroup, attrib:CUpti_EventGroupAttribute, valueSize:c.POINTER[size_t], value:ctypes.c_void_p) -> CUptiResult: ...
@dll.bind
def cuptiEventGroupSetAttribute(eventGroup:CUpti_EventGroup, attrib:CUpti_EventGroupAttribute, valueSize:size_t, value:ctypes.c_void_p) -> CUptiResult: ...
@dll.bind
def cuptiEventGroupAddEvent(eventGroup:CUpti_EventGroup, event:CUpti_EventID) -> CUptiResult: ...
@dll.bind
def cuptiEventGroupRemoveEvent(eventGroup:CUpti_EventGroup, event:CUpti_EventID) -> CUptiResult: ...
@dll.bind
def cuptiEventGroupRemoveAllEvents(eventGroup:CUpti_EventGroup) -> CUptiResult: ...
@dll.bind
def cuptiEventGroupResetAllEvents(eventGroup:CUpti_EventGroup) -> CUptiResult: ...
@dll.bind
def cuptiEventGroupEnable(eventGroup:CUpti_EventGroup) -> CUptiResult: ...
@dll.bind
def cuptiEventGroupDisable(eventGroup:CUpti_EventGroup) -> CUptiResult: ...
@dll.bind
def cuptiEventGroupReadEvent(eventGroup:CUpti_EventGroup, flags:CUpti_ReadEventFlags, event:CUpti_EventID, eventValueBufferSizeBytes:c.POINTER[size_t], eventValueBuffer:c.POINTER[uint64_t]) -> CUptiResult: ...
@dll.bind
def cuptiEventGroupReadAllEvents(eventGroup:CUpti_EventGroup, flags:CUpti_ReadEventFlags, eventValueBufferSizeBytes:c.POINTER[size_t], eventValueBuffer:c.POINTER[uint64_t], eventIdArraySizeBytes:c.POINTER[size_t], eventIdArray:c.POINTER[CUpti_EventID], numEventIdsRead:c.POINTER[size_t]) -> CUptiResult: ...
@dll.bind
def cuptiEventGroupSetsCreate(context:CUcontext, eventIdArraySizeBytes:size_t, eventIdArray:c.POINTER[CUpti_EventID], eventGroupPasses:c.POINTER[c.POINTER[CUpti_EventGroupSets]]) -> CUptiResult: ...
@dll.bind
def cuptiEventGroupSetsDestroy(eventGroupSets:c.POINTER[CUpti_EventGroupSets]) -> CUptiResult: ...
@dll.bind
def cuptiEventGroupSetEnable(eventGroupSet:c.POINTER[CUpti_EventGroupSet]) -> CUptiResult: ...
@dll.bind
def cuptiEventGroupSetDisable(eventGroupSet:c.POINTER[CUpti_EventGroupSet]) -> CUptiResult: ...
@dll.bind
def cuptiEnableKernelReplayMode(context:CUcontext) -> CUptiResult: ...
@dll.bind
def cuptiDisableKernelReplayMode(context:CUcontext) -> CUptiResult: ...
CUpti_KernelReplayUpdateFunc: TypeAlias = c.CFUNCTYPE[None, [c.POINTER[Annotated[bytes, ctypes.c_char]], Annotated[int, ctypes.c_int32], ctypes.c_void_p]]
@dll.bind
def cuptiKernelReplaySubscribeUpdate(updateFunc:CUpti_KernelReplayUpdateFunc, customData:ctypes.c_void_p) -> CUptiResult: ...
class CUpti_MetricCategory(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_METRIC_CATEGORY_MEMORY = CUpti_MetricCategory.define('CUPTI_METRIC_CATEGORY_MEMORY', 0)
CUPTI_METRIC_CATEGORY_INSTRUCTION = CUpti_MetricCategory.define('CUPTI_METRIC_CATEGORY_INSTRUCTION', 1)
CUPTI_METRIC_CATEGORY_MULTIPROCESSOR = CUpti_MetricCategory.define('CUPTI_METRIC_CATEGORY_MULTIPROCESSOR', 2)
CUPTI_METRIC_CATEGORY_CACHE = CUpti_MetricCategory.define('CUPTI_METRIC_CATEGORY_CACHE', 3)
CUPTI_METRIC_CATEGORY_TEXTURE = CUpti_MetricCategory.define('CUPTI_METRIC_CATEGORY_TEXTURE', 4)
CUPTI_METRIC_CATEGORY_NVLINK = CUpti_MetricCategory.define('CUPTI_METRIC_CATEGORY_NVLINK', 5)
CUPTI_METRIC_CATEGORY_PCIE = CUpti_MetricCategory.define('CUPTI_METRIC_CATEGORY_PCIE', 6)
CUPTI_METRIC_CATEGORY_FORCE_INT = CUpti_MetricCategory.define('CUPTI_METRIC_CATEGORY_FORCE_INT', 2147483647)

class CUpti_MetricEvaluationMode(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_METRIC_EVALUATION_MODE_PER_INSTANCE = CUpti_MetricEvaluationMode.define('CUPTI_METRIC_EVALUATION_MODE_PER_INSTANCE', 1)
CUPTI_METRIC_EVALUATION_MODE_AGGREGATE = CUpti_MetricEvaluationMode.define('CUPTI_METRIC_EVALUATION_MODE_AGGREGATE', 2)
CUPTI_METRIC_EVALUATION_MODE_FORCE_INT = CUpti_MetricEvaluationMode.define('CUPTI_METRIC_EVALUATION_MODE_FORCE_INT', 2147483647)

class CUpti_MetricAttribute(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_METRIC_ATTR_NAME = CUpti_MetricAttribute.define('CUPTI_METRIC_ATTR_NAME', 0)
CUPTI_METRIC_ATTR_SHORT_DESCRIPTION = CUpti_MetricAttribute.define('CUPTI_METRIC_ATTR_SHORT_DESCRIPTION', 1)
CUPTI_METRIC_ATTR_LONG_DESCRIPTION = CUpti_MetricAttribute.define('CUPTI_METRIC_ATTR_LONG_DESCRIPTION', 2)
CUPTI_METRIC_ATTR_CATEGORY = CUpti_MetricAttribute.define('CUPTI_METRIC_ATTR_CATEGORY', 3)
CUPTI_METRIC_ATTR_VALUE_KIND = CUpti_MetricAttribute.define('CUPTI_METRIC_ATTR_VALUE_KIND', 4)
CUPTI_METRIC_ATTR_EVALUATION_MODE = CUpti_MetricAttribute.define('CUPTI_METRIC_ATTR_EVALUATION_MODE', 5)
CUPTI_METRIC_ATTR_FORCE_INT = CUpti_MetricAttribute.define('CUPTI_METRIC_ATTR_FORCE_INT', 2147483647)

class CUpti_MetricPropertyDeviceClass(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_METRIC_PROPERTY_DEVICE_CLASS_TESLA = CUpti_MetricPropertyDeviceClass.define('CUPTI_METRIC_PROPERTY_DEVICE_CLASS_TESLA', 0)
CUPTI_METRIC_PROPERTY_DEVICE_CLASS_QUADRO = CUpti_MetricPropertyDeviceClass.define('CUPTI_METRIC_PROPERTY_DEVICE_CLASS_QUADRO', 1)
CUPTI_METRIC_PROPERTY_DEVICE_CLASS_GEFORCE = CUpti_MetricPropertyDeviceClass.define('CUPTI_METRIC_PROPERTY_DEVICE_CLASS_GEFORCE', 2)
CUPTI_METRIC_PROPERTY_DEVICE_CLASS_TEGRA = CUpti_MetricPropertyDeviceClass.define('CUPTI_METRIC_PROPERTY_DEVICE_CLASS_TEGRA', 3)

class CUpti_MetricPropertyID(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_METRIC_PROPERTY_MULTIPROCESSOR_COUNT = CUpti_MetricPropertyID.define('CUPTI_METRIC_PROPERTY_MULTIPROCESSOR_COUNT', 0)
CUPTI_METRIC_PROPERTY_WARPS_PER_MULTIPROCESSOR = CUpti_MetricPropertyID.define('CUPTI_METRIC_PROPERTY_WARPS_PER_MULTIPROCESSOR', 1)
CUPTI_METRIC_PROPERTY_KERNEL_GPU_TIME = CUpti_MetricPropertyID.define('CUPTI_METRIC_PROPERTY_KERNEL_GPU_TIME', 2)
CUPTI_METRIC_PROPERTY_CLOCK_RATE = CUpti_MetricPropertyID.define('CUPTI_METRIC_PROPERTY_CLOCK_RATE', 3)
CUPTI_METRIC_PROPERTY_FRAME_BUFFER_COUNT = CUpti_MetricPropertyID.define('CUPTI_METRIC_PROPERTY_FRAME_BUFFER_COUNT', 4)
CUPTI_METRIC_PROPERTY_GLOBAL_MEMORY_BANDWIDTH = CUpti_MetricPropertyID.define('CUPTI_METRIC_PROPERTY_GLOBAL_MEMORY_BANDWIDTH', 5)
CUPTI_METRIC_PROPERTY_PCIE_LINK_RATE = CUpti_MetricPropertyID.define('CUPTI_METRIC_PROPERTY_PCIE_LINK_RATE', 6)
CUPTI_METRIC_PROPERTY_PCIE_LINK_WIDTH = CUpti_MetricPropertyID.define('CUPTI_METRIC_PROPERTY_PCIE_LINK_WIDTH', 7)
CUPTI_METRIC_PROPERTY_PCIE_GEN = CUpti_MetricPropertyID.define('CUPTI_METRIC_PROPERTY_PCIE_GEN', 8)
CUPTI_METRIC_PROPERTY_DEVICE_CLASS = CUpti_MetricPropertyID.define('CUPTI_METRIC_PROPERTY_DEVICE_CLASS', 9)
CUPTI_METRIC_PROPERTY_FLOP_SP_PER_CYCLE = CUpti_MetricPropertyID.define('CUPTI_METRIC_PROPERTY_FLOP_SP_PER_CYCLE', 10)
CUPTI_METRIC_PROPERTY_FLOP_DP_PER_CYCLE = CUpti_MetricPropertyID.define('CUPTI_METRIC_PROPERTY_FLOP_DP_PER_CYCLE', 11)
CUPTI_METRIC_PROPERTY_L2_UNITS = CUpti_MetricPropertyID.define('CUPTI_METRIC_PROPERTY_L2_UNITS', 12)
CUPTI_METRIC_PROPERTY_ECC_ENABLED = CUpti_MetricPropertyID.define('CUPTI_METRIC_PROPERTY_ECC_ENABLED', 13)
CUPTI_METRIC_PROPERTY_FLOP_HP_PER_CYCLE = CUpti_MetricPropertyID.define('CUPTI_METRIC_PROPERTY_FLOP_HP_PER_CYCLE', 14)
CUPTI_METRIC_PROPERTY_GPU_CPU_NVLINK_BANDWIDTH = CUpti_MetricPropertyID.define('CUPTI_METRIC_PROPERTY_GPU_CPU_NVLINK_BANDWIDTH', 15)

@dll.bind
def cuptiGetNumMetrics(numMetrics:c.POINTER[uint32_t]) -> CUptiResult: ...
@dll.bind
def cuptiEnumMetrics(arraySizeBytes:c.POINTER[size_t], metricArray:c.POINTER[CUpti_MetricID]) -> CUptiResult: ...
@dll.bind
def cuptiDeviceGetNumMetrics(device:CUdevice, numMetrics:c.POINTER[uint32_t]) -> CUptiResult: ...
@dll.bind
def cuptiDeviceEnumMetrics(device:CUdevice, arraySizeBytes:c.POINTER[size_t], metricArray:c.POINTER[CUpti_MetricID]) -> CUptiResult: ...
@dll.bind
def cuptiMetricGetAttribute(metric:CUpti_MetricID, attrib:CUpti_MetricAttribute, valueSize:c.POINTER[size_t], value:ctypes.c_void_p) -> CUptiResult: ...
@dll.bind
def cuptiMetricGetIdFromName(device:CUdevice, metricName:c.POINTER[Annotated[bytes, ctypes.c_char]], metric:c.POINTER[CUpti_MetricID]) -> CUptiResult: ...
@dll.bind
def cuptiMetricGetNumEvents(metric:CUpti_MetricID, numEvents:c.POINTER[uint32_t]) -> CUptiResult: ...
@dll.bind
def cuptiMetricEnumEvents(metric:CUpti_MetricID, eventIdArraySizeBytes:c.POINTER[size_t], eventIdArray:c.POINTER[Annotated[int, ctypes.c_int32]]) -> CUptiResult: ...
@dll.bind
def cuptiMetricGetNumProperties(metric:CUpti_MetricID, numProp:c.POINTER[uint32_t]) -> CUptiResult: ...
@dll.bind
def cuptiMetricEnumProperties(metric:CUpti_MetricID, propIdArraySizeBytes:c.POINTER[size_t], propIdArray:c.POINTER[CUpti_MetricPropertyID]) -> CUptiResult: ...
@dll.bind
def cuptiMetricGetRequiredEventGroupSets(context:CUcontext, metric:CUpti_MetricID, eventGroupSets:c.POINTER[c.POINTER[Annotated[int, ctypes.c_int32]]]) -> CUptiResult: ...
@dll.bind
def cuptiMetricCreateEventGroupSets(context:CUcontext, metricIdArraySizeBytes:size_t, metricIdArray:c.POINTER[CUpti_MetricID], eventGroupPasses:c.POINTER[c.POINTER[Annotated[int, ctypes.c_int32]]]) -> CUptiResult: ...
@dll.bind
def cuptiMetricGetValue(device:CUdevice, metric:CUpti_MetricID, eventIdArraySizeBytes:size_t, eventIdArray:c.POINTER[Annotated[int, ctypes.c_int32]], eventValueArraySizeBytes:size_t, eventValueArray:c.POINTER[uint64_t], timeDuration:uint64_t, metricValue:c.POINTER[CUpti_MetricValue]) -> CUptiResult: ...
@dll.bind
def cuptiMetricGetValue2(metric:CUpti_MetricID, eventIdArraySizeBytes:size_t, eventIdArray:c.POINTER[Annotated[int, ctypes.c_int32]], eventValueArraySizeBytes:size_t, eventValueArray:c.POINTER[uint64_t], propIdArraySizeBytes:size_t, propIdArray:c.POINTER[CUpti_MetricPropertyID], propValueArraySizeBytes:size_t, propValueArray:c.POINTER[uint64_t], metricValue:c.POINTER[CUpti_MetricValue]) -> CUptiResult: ...
class enum_CUpti_driver_api_trace_cbid_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_DRIVER_TRACE_CBID_INVALID = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_INVALID', 0)
CUPTI_DRIVER_TRACE_CBID_cuInit = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuInit', 1)
CUPTI_DRIVER_TRACE_CBID_cuDriverGetVersion = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDriverGetVersion', 2)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGet = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGet', 3)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetCount = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetCount', 4)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetName = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetName', 5)
CUPTI_DRIVER_TRACE_CBID_cuDeviceComputeCapability = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceComputeCapability', 6)
CUPTI_DRIVER_TRACE_CBID_cuDeviceTotalMem = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceTotalMem', 7)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetProperties = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetProperties', 8)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetAttribute', 9)
CUPTI_DRIVER_TRACE_CBID_cuCtxCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxCreate', 10)
CUPTI_DRIVER_TRACE_CBID_cuCtxDestroy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxDestroy', 11)
CUPTI_DRIVER_TRACE_CBID_cuCtxAttach = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxAttach', 12)
CUPTI_DRIVER_TRACE_CBID_cuCtxDetach = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxDetach', 13)
CUPTI_DRIVER_TRACE_CBID_cuCtxPushCurrent = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxPushCurrent', 14)
CUPTI_DRIVER_TRACE_CBID_cuCtxPopCurrent = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxPopCurrent', 15)
CUPTI_DRIVER_TRACE_CBID_cuCtxGetDevice = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxGetDevice', 16)
CUPTI_DRIVER_TRACE_CBID_cuCtxSynchronize = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxSynchronize', 17)
CUPTI_DRIVER_TRACE_CBID_cuModuleLoad = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuModuleLoad', 18)
CUPTI_DRIVER_TRACE_CBID_cuModuleLoadData = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuModuleLoadData', 19)
CUPTI_DRIVER_TRACE_CBID_cuModuleLoadDataEx = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuModuleLoadDataEx', 20)
CUPTI_DRIVER_TRACE_CBID_cuModuleLoadFatBinary = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuModuleLoadFatBinary', 21)
CUPTI_DRIVER_TRACE_CBID_cuModuleUnload = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuModuleUnload', 22)
CUPTI_DRIVER_TRACE_CBID_cuModuleGetFunction = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuModuleGetFunction', 23)
CUPTI_DRIVER_TRACE_CBID_cuModuleGetGlobal = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuModuleGetGlobal', 24)
CUPTI_DRIVER_TRACE_CBID_cu64ModuleGetGlobal = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64ModuleGetGlobal', 25)
CUPTI_DRIVER_TRACE_CBID_cuModuleGetTexRef = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuModuleGetTexRef', 26)
CUPTI_DRIVER_TRACE_CBID_cuMemGetInfo = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemGetInfo', 27)
CUPTI_DRIVER_TRACE_CBID_cu64MemGetInfo = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemGetInfo', 28)
CUPTI_DRIVER_TRACE_CBID_cuMemAlloc = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemAlloc', 29)
CUPTI_DRIVER_TRACE_CBID_cu64MemAlloc = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemAlloc', 30)
CUPTI_DRIVER_TRACE_CBID_cuMemAllocPitch = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemAllocPitch', 31)
CUPTI_DRIVER_TRACE_CBID_cu64MemAllocPitch = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemAllocPitch', 32)
CUPTI_DRIVER_TRACE_CBID_cuMemFree = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemFree', 33)
CUPTI_DRIVER_TRACE_CBID_cu64MemFree = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemFree', 34)
CUPTI_DRIVER_TRACE_CBID_cuMemGetAddressRange = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemGetAddressRange', 35)
CUPTI_DRIVER_TRACE_CBID_cu64MemGetAddressRange = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemGetAddressRange', 36)
CUPTI_DRIVER_TRACE_CBID_cuMemAllocHost = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemAllocHost', 37)
CUPTI_DRIVER_TRACE_CBID_cuMemFreeHost = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemFreeHost', 38)
CUPTI_DRIVER_TRACE_CBID_cuMemHostAlloc = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemHostAlloc', 39)
CUPTI_DRIVER_TRACE_CBID_cuMemHostGetDevicePointer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemHostGetDevicePointer', 40)
CUPTI_DRIVER_TRACE_CBID_cu64MemHostGetDevicePointer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemHostGetDevicePointer', 41)
CUPTI_DRIVER_TRACE_CBID_cuMemHostGetFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemHostGetFlags', 42)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoD = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoD', 43)
CUPTI_DRIVER_TRACE_CBID_cu64MemcpyHtoD = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemcpyHtoD', 44)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoH = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoH', 45)
CUPTI_DRIVER_TRACE_CBID_cu64MemcpyDtoH = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemcpyDtoH', 46)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoD = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoD', 47)
CUPTI_DRIVER_TRACE_CBID_cu64MemcpyDtoD = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemcpyDtoD', 48)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoA = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoA', 49)
CUPTI_DRIVER_TRACE_CBID_cu64MemcpyDtoA = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemcpyDtoA', 50)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoD = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoD', 51)
CUPTI_DRIVER_TRACE_CBID_cu64MemcpyAtoD = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemcpyAtoD', 52)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoA = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoA', 53)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoH = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoH', 54)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoA = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoA', 55)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy2D = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy2D', 56)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy2DUnaligned = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy2DUnaligned', 57)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy3D = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy3D', 58)
CUPTI_DRIVER_TRACE_CBID_cu64Memcpy3D = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64Memcpy3D', 59)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoDAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoDAsync', 60)
CUPTI_DRIVER_TRACE_CBID_cu64MemcpyHtoDAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemcpyHtoDAsync', 61)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoHAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoHAsync', 62)
CUPTI_DRIVER_TRACE_CBID_cu64MemcpyDtoHAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemcpyDtoHAsync', 63)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoDAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoDAsync', 64)
CUPTI_DRIVER_TRACE_CBID_cu64MemcpyDtoDAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemcpyDtoDAsync', 65)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoAAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoAAsync', 66)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoHAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoHAsync', 67)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy2DAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy2DAsync', 68)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DAsync', 69)
CUPTI_DRIVER_TRACE_CBID_cu64Memcpy3DAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64Memcpy3DAsync', 70)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD8 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD8', 71)
CUPTI_DRIVER_TRACE_CBID_cu64MemsetD8 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemsetD8', 72)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD16 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD16', 73)
CUPTI_DRIVER_TRACE_CBID_cu64MemsetD16 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemsetD16', 74)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD32 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD32', 75)
CUPTI_DRIVER_TRACE_CBID_cu64MemsetD32 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemsetD32', 76)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D8 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D8', 77)
CUPTI_DRIVER_TRACE_CBID_cu64MemsetD2D8 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemsetD2D8', 78)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D16 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D16', 79)
CUPTI_DRIVER_TRACE_CBID_cu64MemsetD2D16 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemsetD2D16', 80)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D32 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D32', 81)
CUPTI_DRIVER_TRACE_CBID_cu64MemsetD2D32 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemsetD2D32', 82)
CUPTI_DRIVER_TRACE_CBID_cuFuncSetBlockShape = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuFuncSetBlockShape', 83)
CUPTI_DRIVER_TRACE_CBID_cuFuncSetSharedSize = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuFuncSetSharedSize', 84)
CUPTI_DRIVER_TRACE_CBID_cuFuncGetAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuFuncGetAttribute', 85)
CUPTI_DRIVER_TRACE_CBID_cuFuncSetCacheConfig = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuFuncSetCacheConfig', 86)
CUPTI_DRIVER_TRACE_CBID_cuArrayCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuArrayCreate', 87)
CUPTI_DRIVER_TRACE_CBID_cuArrayGetDescriptor = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuArrayGetDescriptor', 88)
CUPTI_DRIVER_TRACE_CBID_cuArrayDestroy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuArrayDestroy', 89)
CUPTI_DRIVER_TRACE_CBID_cuArray3DCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuArray3DCreate', 90)
CUPTI_DRIVER_TRACE_CBID_cuArray3DGetDescriptor = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuArray3DGetDescriptor', 91)
CUPTI_DRIVER_TRACE_CBID_cuTexRefCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefCreate', 92)
CUPTI_DRIVER_TRACE_CBID_cuTexRefDestroy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefDestroy', 93)
CUPTI_DRIVER_TRACE_CBID_cuTexRefSetArray = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefSetArray', 94)
CUPTI_DRIVER_TRACE_CBID_cuTexRefSetAddress = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefSetAddress', 95)
CUPTI_DRIVER_TRACE_CBID_cu64TexRefSetAddress = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64TexRefSetAddress', 96)
CUPTI_DRIVER_TRACE_CBID_cuTexRefSetAddress2D = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefSetAddress2D', 97)
CUPTI_DRIVER_TRACE_CBID_cu64TexRefSetAddress2D = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64TexRefSetAddress2D', 98)
CUPTI_DRIVER_TRACE_CBID_cuTexRefSetFormat = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefSetFormat', 99)
CUPTI_DRIVER_TRACE_CBID_cuTexRefSetAddressMode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefSetAddressMode', 100)
CUPTI_DRIVER_TRACE_CBID_cuTexRefSetFilterMode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefSetFilterMode', 101)
CUPTI_DRIVER_TRACE_CBID_cuTexRefSetFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefSetFlags', 102)
CUPTI_DRIVER_TRACE_CBID_cuTexRefGetAddress = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefGetAddress', 103)
CUPTI_DRIVER_TRACE_CBID_cu64TexRefGetAddress = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64TexRefGetAddress', 104)
CUPTI_DRIVER_TRACE_CBID_cuTexRefGetArray = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefGetArray', 105)
CUPTI_DRIVER_TRACE_CBID_cuTexRefGetAddressMode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefGetAddressMode', 106)
CUPTI_DRIVER_TRACE_CBID_cuTexRefGetFilterMode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefGetFilterMode', 107)
CUPTI_DRIVER_TRACE_CBID_cuTexRefGetFormat = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefGetFormat', 108)
CUPTI_DRIVER_TRACE_CBID_cuTexRefGetFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefGetFlags', 109)
CUPTI_DRIVER_TRACE_CBID_cuParamSetSize = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuParamSetSize', 110)
CUPTI_DRIVER_TRACE_CBID_cuParamSeti = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuParamSeti', 111)
CUPTI_DRIVER_TRACE_CBID_cuParamSetf = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuParamSetf', 112)
CUPTI_DRIVER_TRACE_CBID_cuParamSetv = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuParamSetv', 113)
CUPTI_DRIVER_TRACE_CBID_cuParamSetTexRef = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuParamSetTexRef', 114)
CUPTI_DRIVER_TRACE_CBID_cuLaunch = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLaunch', 115)
CUPTI_DRIVER_TRACE_CBID_cuLaunchGrid = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLaunchGrid', 116)
CUPTI_DRIVER_TRACE_CBID_cuLaunchGridAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLaunchGridAsync', 117)
CUPTI_DRIVER_TRACE_CBID_cuEventCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEventCreate', 118)
CUPTI_DRIVER_TRACE_CBID_cuEventRecord = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEventRecord', 119)
CUPTI_DRIVER_TRACE_CBID_cuEventQuery = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEventQuery', 120)
CUPTI_DRIVER_TRACE_CBID_cuEventSynchronize = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEventSynchronize', 121)
CUPTI_DRIVER_TRACE_CBID_cuEventDestroy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEventDestroy', 122)
CUPTI_DRIVER_TRACE_CBID_cuEventElapsedTime = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEventElapsedTime', 123)
CUPTI_DRIVER_TRACE_CBID_cuStreamCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamCreate', 124)
CUPTI_DRIVER_TRACE_CBID_cuStreamQuery = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamQuery', 125)
CUPTI_DRIVER_TRACE_CBID_cuStreamSynchronize = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamSynchronize', 126)
CUPTI_DRIVER_TRACE_CBID_cuStreamDestroy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamDestroy', 127)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsUnregisterResource = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsUnregisterResource', 128)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsSubResourceGetMappedArray = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsSubResourceGetMappedArray', 129)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsResourceGetMappedPointer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsResourceGetMappedPointer', 130)
CUPTI_DRIVER_TRACE_CBID_cu64GraphicsResourceGetMappedPointer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64GraphicsResourceGetMappedPointer', 131)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsResourceSetMapFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsResourceSetMapFlags', 132)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsMapResources = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsMapResources', 133)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsUnmapResources = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsUnmapResources', 134)
CUPTI_DRIVER_TRACE_CBID_cuGetExportTable = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGetExportTable', 135)
CUPTI_DRIVER_TRACE_CBID_cuCtxSetLimit = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxSetLimit', 136)
CUPTI_DRIVER_TRACE_CBID_cuCtxGetLimit = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxGetLimit', 137)
CUPTI_DRIVER_TRACE_CBID_cuD3D10GetDevice = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10GetDevice', 138)
CUPTI_DRIVER_TRACE_CBID_cuD3D10CtxCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10CtxCreate', 139)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsD3D10RegisterResource = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsD3D10RegisterResource', 140)
CUPTI_DRIVER_TRACE_CBID_cuD3D10RegisterResource = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10RegisterResource', 141)
CUPTI_DRIVER_TRACE_CBID_cuD3D10UnregisterResource = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10UnregisterResource', 142)
CUPTI_DRIVER_TRACE_CBID_cuD3D10MapResources = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10MapResources', 143)
CUPTI_DRIVER_TRACE_CBID_cuD3D10UnmapResources = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10UnmapResources', 144)
CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceSetMapFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceSetMapFlags', 145)
CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetMappedArray = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetMappedArray', 146)
CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetMappedPointer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetMappedPointer', 147)
CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetMappedSize = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetMappedSize', 148)
CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetMappedPitch = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetMappedPitch', 149)
CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetSurfaceDimensions = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetSurfaceDimensions', 150)
CUPTI_DRIVER_TRACE_CBID_cuD3D11GetDevice = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D11GetDevice', 151)
CUPTI_DRIVER_TRACE_CBID_cuD3D11CtxCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D11CtxCreate', 152)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsD3D11RegisterResource = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsD3D11RegisterResource', 153)
CUPTI_DRIVER_TRACE_CBID_cuD3D9GetDevice = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9GetDevice', 154)
CUPTI_DRIVER_TRACE_CBID_cuD3D9CtxCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9CtxCreate', 155)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsD3D9RegisterResource = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsD3D9RegisterResource', 156)
CUPTI_DRIVER_TRACE_CBID_cuD3D9GetDirect3DDevice = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9GetDirect3DDevice', 157)
CUPTI_DRIVER_TRACE_CBID_cuD3D9RegisterResource = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9RegisterResource', 158)
CUPTI_DRIVER_TRACE_CBID_cuD3D9UnregisterResource = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9UnregisterResource', 159)
CUPTI_DRIVER_TRACE_CBID_cuD3D9MapResources = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9MapResources', 160)
CUPTI_DRIVER_TRACE_CBID_cuD3D9UnmapResources = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9UnmapResources', 161)
CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceSetMapFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceSetMapFlags', 162)
CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetSurfaceDimensions = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetSurfaceDimensions', 163)
CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetMappedArray = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetMappedArray', 164)
CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetMappedPointer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetMappedPointer', 165)
CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetMappedSize = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetMappedSize', 166)
CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetMappedPitch = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetMappedPitch', 167)
CUPTI_DRIVER_TRACE_CBID_cuD3D9Begin = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9Begin', 168)
CUPTI_DRIVER_TRACE_CBID_cuD3D9End = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9End', 169)
CUPTI_DRIVER_TRACE_CBID_cuD3D9RegisterVertexBuffer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9RegisterVertexBuffer', 170)
CUPTI_DRIVER_TRACE_CBID_cuD3D9MapVertexBuffer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9MapVertexBuffer', 171)
CUPTI_DRIVER_TRACE_CBID_cuD3D9UnmapVertexBuffer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9UnmapVertexBuffer', 172)
CUPTI_DRIVER_TRACE_CBID_cuD3D9UnregisterVertexBuffer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9UnregisterVertexBuffer', 173)
CUPTI_DRIVER_TRACE_CBID_cuGLCtxCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGLCtxCreate', 174)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsGLRegisterBuffer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsGLRegisterBuffer', 175)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsGLRegisterImage = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsGLRegisterImage', 176)
CUPTI_DRIVER_TRACE_CBID_cuWGLGetDevice = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuWGLGetDevice', 177)
CUPTI_DRIVER_TRACE_CBID_cuGLInit = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGLInit', 178)
CUPTI_DRIVER_TRACE_CBID_cuGLRegisterBufferObject = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGLRegisterBufferObject', 179)
CUPTI_DRIVER_TRACE_CBID_cuGLMapBufferObject = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGLMapBufferObject', 180)
CUPTI_DRIVER_TRACE_CBID_cuGLUnmapBufferObject = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGLUnmapBufferObject', 181)
CUPTI_DRIVER_TRACE_CBID_cuGLUnregisterBufferObject = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGLUnregisterBufferObject', 182)
CUPTI_DRIVER_TRACE_CBID_cuGLSetBufferObjectMapFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGLSetBufferObjectMapFlags', 183)
CUPTI_DRIVER_TRACE_CBID_cuGLMapBufferObjectAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGLMapBufferObjectAsync', 184)
CUPTI_DRIVER_TRACE_CBID_cuGLUnmapBufferObjectAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGLUnmapBufferObjectAsync', 185)
CUPTI_DRIVER_TRACE_CBID_cuVDPAUGetDevice = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuVDPAUGetDevice', 186)
CUPTI_DRIVER_TRACE_CBID_cuVDPAUCtxCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuVDPAUCtxCreate', 187)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsVDPAURegisterVideoSurface = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsVDPAURegisterVideoSurface', 188)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsVDPAURegisterOutputSurface = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsVDPAURegisterOutputSurface', 189)
CUPTI_DRIVER_TRACE_CBID_cuModuleGetSurfRef = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuModuleGetSurfRef', 190)
CUPTI_DRIVER_TRACE_CBID_cuSurfRefCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuSurfRefCreate', 191)
CUPTI_DRIVER_TRACE_CBID_cuSurfRefDestroy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuSurfRefDestroy', 192)
CUPTI_DRIVER_TRACE_CBID_cuSurfRefSetFormat = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuSurfRefSetFormat', 193)
CUPTI_DRIVER_TRACE_CBID_cuSurfRefSetArray = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuSurfRefSetArray', 194)
CUPTI_DRIVER_TRACE_CBID_cuSurfRefGetFormat = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuSurfRefGetFormat', 195)
CUPTI_DRIVER_TRACE_CBID_cuSurfRefGetArray = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuSurfRefGetArray', 196)
CUPTI_DRIVER_TRACE_CBID_cu64DeviceTotalMem = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64DeviceTotalMem', 197)
CUPTI_DRIVER_TRACE_CBID_cu64D3D10ResourceGetMappedPointer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64D3D10ResourceGetMappedPointer', 198)
CUPTI_DRIVER_TRACE_CBID_cu64D3D10ResourceGetMappedSize = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64D3D10ResourceGetMappedSize', 199)
CUPTI_DRIVER_TRACE_CBID_cu64D3D10ResourceGetMappedPitch = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64D3D10ResourceGetMappedPitch', 200)
CUPTI_DRIVER_TRACE_CBID_cu64D3D10ResourceGetSurfaceDimensions = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64D3D10ResourceGetSurfaceDimensions', 201)
CUPTI_DRIVER_TRACE_CBID_cu64D3D9ResourceGetSurfaceDimensions = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64D3D9ResourceGetSurfaceDimensions', 202)
CUPTI_DRIVER_TRACE_CBID_cu64D3D9ResourceGetMappedPointer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64D3D9ResourceGetMappedPointer', 203)
CUPTI_DRIVER_TRACE_CBID_cu64D3D9ResourceGetMappedSize = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64D3D9ResourceGetMappedSize', 204)
CUPTI_DRIVER_TRACE_CBID_cu64D3D9ResourceGetMappedPitch = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64D3D9ResourceGetMappedPitch', 205)
CUPTI_DRIVER_TRACE_CBID_cu64D3D9MapVertexBuffer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64D3D9MapVertexBuffer', 206)
CUPTI_DRIVER_TRACE_CBID_cu64GLMapBufferObject = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64GLMapBufferObject', 207)
CUPTI_DRIVER_TRACE_CBID_cu64GLMapBufferObjectAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64GLMapBufferObjectAsync', 208)
CUPTI_DRIVER_TRACE_CBID_cuD3D11GetDevices = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D11GetDevices', 209)
CUPTI_DRIVER_TRACE_CBID_cuD3D11CtxCreateOnDevice = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D11CtxCreateOnDevice', 210)
CUPTI_DRIVER_TRACE_CBID_cuD3D10GetDevices = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10GetDevices', 211)
CUPTI_DRIVER_TRACE_CBID_cuD3D10CtxCreateOnDevice = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10CtxCreateOnDevice', 212)
CUPTI_DRIVER_TRACE_CBID_cuD3D9GetDevices = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9GetDevices', 213)
CUPTI_DRIVER_TRACE_CBID_cuD3D9CtxCreateOnDevice = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9CtxCreateOnDevice', 214)
CUPTI_DRIVER_TRACE_CBID_cu64MemHostAlloc = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemHostAlloc', 215)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD8Async = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD8Async', 216)
CUPTI_DRIVER_TRACE_CBID_cu64MemsetD8Async = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemsetD8Async', 217)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD16Async = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD16Async', 218)
CUPTI_DRIVER_TRACE_CBID_cu64MemsetD16Async = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemsetD16Async', 219)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD32Async = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD32Async', 220)
CUPTI_DRIVER_TRACE_CBID_cu64MemsetD32Async = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemsetD32Async', 221)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D8Async = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D8Async', 222)
CUPTI_DRIVER_TRACE_CBID_cu64MemsetD2D8Async = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemsetD2D8Async', 223)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D16Async = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D16Async', 224)
CUPTI_DRIVER_TRACE_CBID_cu64MemsetD2D16Async = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemsetD2D16Async', 225)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D32Async = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D32Async', 226)
CUPTI_DRIVER_TRACE_CBID_cu64MemsetD2D32Async = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64MemsetD2D32Async', 227)
CUPTI_DRIVER_TRACE_CBID_cu64ArrayCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64ArrayCreate', 228)
CUPTI_DRIVER_TRACE_CBID_cu64ArrayGetDescriptor = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64ArrayGetDescriptor', 229)
CUPTI_DRIVER_TRACE_CBID_cu64Array3DCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64Array3DCreate', 230)
CUPTI_DRIVER_TRACE_CBID_cu64Array3DGetDescriptor = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64Array3DGetDescriptor', 231)
CUPTI_DRIVER_TRACE_CBID_cu64Memcpy2D = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64Memcpy2D', 232)
CUPTI_DRIVER_TRACE_CBID_cu64Memcpy2DUnaligned = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64Memcpy2DUnaligned', 233)
CUPTI_DRIVER_TRACE_CBID_cu64Memcpy2DAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cu64Memcpy2DAsync', 234)
CUPTI_DRIVER_TRACE_CBID_cuCtxCreate_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxCreate_v2', 235)
CUPTI_DRIVER_TRACE_CBID_cuD3D10CtxCreate_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10CtxCreate_v2', 236)
CUPTI_DRIVER_TRACE_CBID_cuD3D11CtxCreate_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D11CtxCreate_v2', 237)
CUPTI_DRIVER_TRACE_CBID_cuD3D9CtxCreate_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9CtxCreate_v2', 238)
CUPTI_DRIVER_TRACE_CBID_cuGLCtxCreate_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGLCtxCreate_v2', 239)
CUPTI_DRIVER_TRACE_CBID_cuVDPAUCtxCreate_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuVDPAUCtxCreate_v2', 240)
CUPTI_DRIVER_TRACE_CBID_cuModuleGetGlobal_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuModuleGetGlobal_v2', 241)
CUPTI_DRIVER_TRACE_CBID_cuMemGetInfo_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemGetInfo_v2', 242)
CUPTI_DRIVER_TRACE_CBID_cuMemAlloc_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemAlloc_v2', 243)
CUPTI_DRIVER_TRACE_CBID_cuMemAllocPitch_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemAllocPitch_v2', 244)
CUPTI_DRIVER_TRACE_CBID_cuMemFree_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemFree_v2', 245)
CUPTI_DRIVER_TRACE_CBID_cuMemGetAddressRange_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemGetAddressRange_v2', 246)
CUPTI_DRIVER_TRACE_CBID_cuMemHostGetDevicePointer_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemHostGetDevicePointer_v2', 247)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy_v2', 248)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD8_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD8_v2', 249)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD16_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD16_v2', 250)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD32_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD32_v2', 251)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D8_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D8_v2', 252)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D16_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D16_v2', 253)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D32_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D32_v2', 254)
CUPTI_DRIVER_TRACE_CBID_cuTexRefSetAddress_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefSetAddress_v2', 255)
CUPTI_DRIVER_TRACE_CBID_cuTexRefSetAddress2D_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefSetAddress2D_v2', 256)
CUPTI_DRIVER_TRACE_CBID_cuTexRefGetAddress_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefGetAddress_v2', 257)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsResourceGetMappedPointer_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsResourceGetMappedPointer_v2', 258)
CUPTI_DRIVER_TRACE_CBID_cuDeviceTotalMem_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceTotalMem_v2', 259)
CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetMappedPointer_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetMappedPointer_v2', 260)
CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetMappedSize_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetMappedSize_v2', 261)
CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetMappedPitch_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetMappedPitch_v2', 262)
CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetSurfaceDimensions_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10ResourceGetSurfaceDimensions_v2', 263)
CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetSurfaceDimensions_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetSurfaceDimensions_v2', 264)
CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetMappedPointer_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetMappedPointer_v2', 265)
CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetMappedSize_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetMappedSize_v2', 266)
CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetMappedPitch_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9ResourceGetMappedPitch_v2', 267)
CUPTI_DRIVER_TRACE_CBID_cuD3D9MapVertexBuffer_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D9MapVertexBuffer_v2', 268)
CUPTI_DRIVER_TRACE_CBID_cuGLMapBufferObject_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGLMapBufferObject_v2', 269)
CUPTI_DRIVER_TRACE_CBID_cuGLMapBufferObjectAsync_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGLMapBufferObjectAsync_v2', 270)
CUPTI_DRIVER_TRACE_CBID_cuMemHostAlloc_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemHostAlloc_v2', 271)
CUPTI_DRIVER_TRACE_CBID_cuArrayCreate_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuArrayCreate_v2', 272)
CUPTI_DRIVER_TRACE_CBID_cuArrayGetDescriptor_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuArrayGetDescriptor_v2', 273)
CUPTI_DRIVER_TRACE_CBID_cuArray3DCreate_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuArray3DCreate_v2', 274)
CUPTI_DRIVER_TRACE_CBID_cuArray3DGetDescriptor_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuArray3DGetDescriptor_v2', 275)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoD_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoD_v2', 276)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoDAsync_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoDAsync_v2', 277)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoH_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoH_v2', 278)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoHAsync_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoHAsync_v2', 279)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoD_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoD_v2', 280)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoDAsync_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoDAsync_v2', 281)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoH_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoH_v2', 282)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoHAsync_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoHAsync_v2', 283)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoD_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoD_v2', 284)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoA_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoA_v2', 285)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoA_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoA_v2', 286)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy2D_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy2D_v2', 287)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy2DUnaligned_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy2DUnaligned_v2', 288)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy2DAsync_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy2DAsync_v2', 289)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy3D_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy3D_v2', 290)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DAsync_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DAsync_v2', 291)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoA_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoA_v2', 292)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoAAsync_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoAAsync_v2', 293)
CUPTI_DRIVER_TRACE_CBID_cuMemAllocHost_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemAllocHost_v2', 294)
CUPTI_DRIVER_TRACE_CBID_cuStreamWaitEvent = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWaitEvent', 295)
CUPTI_DRIVER_TRACE_CBID_cuCtxGetApiVersion = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxGetApiVersion', 296)
CUPTI_DRIVER_TRACE_CBID_cuD3D10GetDirect3DDevice = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D10GetDirect3DDevice', 297)
CUPTI_DRIVER_TRACE_CBID_cuD3D11GetDirect3DDevice = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuD3D11GetDirect3DDevice', 298)
CUPTI_DRIVER_TRACE_CBID_cuCtxGetCacheConfig = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxGetCacheConfig', 299)
CUPTI_DRIVER_TRACE_CBID_cuCtxSetCacheConfig = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxSetCacheConfig', 300)
CUPTI_DRIVER_TRACE_CBID_cuMemHostRegister = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemHostRegister', 301)
CUPTI_DRIVER_TRACE_CBID_cuMemHostUnregister = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemHostUnregister', 302)
CUPTI_DRIVER_TRACE_CBID_cuCtxSetCurrent = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxSetCurrent', 303)
CUPTI_DRIVER_TRACE_CBID_cuCtxGetCurrent = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxGetCurrent', 304)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy', 305)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyAsync', 306)
CUPTI_DRIVER_TRACE_CBID_cuLaunchKernel = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLaunchKernel', 307)
CUPTI_DRIVER_TRACE_CBID_cuProfilerStart = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuProfilerStart', 308)
CUPTI_DRIVER_TRACE_CBID_cuProfilerStop = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuProfilerStop', 309)
CUPTI_DRIVER_TRACE_CBID_cuPointerGetAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuPointerGetAttribute', 310)
CUPTI_DRIVER_TRACE_CBID_cuProfilerInitialize = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuProfilerInitialize', 311)
CUPTI_DRIVER_TRACE_CBID_cuDeviceCanAccessPeer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceCanAccessPeer', 312)
CUPTI_DRIVER_TRACE_CBID_cuCtxEnablePeerAccess = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxEnablePeerAccess', 313)
CUPTI_DRIVER_TRACE_CBID_cuCtxDisablePeerAccess = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxDisablePeerAccess', 314)
CUPTI_DRIVER_TRACE_CBID_cuMemPeerRegister = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPeerRegister', 315)
CUPTI_DRIVER_TRACE_CBID_cuMemPeerUnregister = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPeerUnregister', 316)
CUPTI_DRIVER_TRACE_CBID_cuMemPeerGetDevicePointer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPeerGetDevicePointer', 317)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyPeer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyPeer', 318)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyPeerAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyPeerAsync', 319)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DPeer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DPeer', 320)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DPeerAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DPeerAsync', 321)
CUPTI_DRIVER_TRACE_CBID_cuCtxDestroy_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxDestroy_v2', 322)
CUPTI_DRIVER_TRACE_CBID_cuCtxPushCurrent_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxPushCurrent_v2', 323)
CUPTI_DRIVER_TRACE_CBID_cuCtxPopCurrent_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxPopCurrent_v2', 324)
CUPTI_DRIVER_TRACE_CBID_cuEventDestroy_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEventDestroy_v2', 325)
CUPTI_DRIVER_TRACE_CBID_cuStreamDestroy_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamDestroy_v2', 326)
CUPTI_DRIVER_TRACE_CBID_cuTexRefSetAddress2D_v3 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefSetAddress2D_v3', 327)
CUPTI_DRIVER_TRACE_CBID_cuIpcGetMemHandle = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuIpcGetMemHandle', 328)
CUPTI_DRIVER_TRACE_CBID_cuIpcOpenMemHandle = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuIpcOpenMemHandle', 329)
CUPTI_DRIVER_TRACE_CBID_cuIpcCloseMemHandle = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuIpcCloseMemHandle', 330)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetByPCIBusId = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetByPCIBusId', 331)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetPCIBusId = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetPCIBusId', 332)
CUPTI_DRIVER_TRACE_CBID_cuGLGetDevices = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGLGetDevices', 333)
CUPTI_DRIVER_TRACE_CBID_cuIpcGetEventHandle = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuIpcGetEventHandle', 334)
CUPTI_DRIVER_TRACE_CBID_cuIpcOpenEventHandle = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuIpcOpenEventHandle', 335)
CUPTI_DRIVER_TRACE_CBID_cuCtxSetSharedMemConfig = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxSetSharedMemConfig', 336)
CUPTI_DRIVER_TRACE_CBID_cuCtxGetSharedMemConfig = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxGetSharedMemConfig', 337)
CUPTI_DRIVER_TRACE_CBID_cuFuncSetSharedMemConfig = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuFuncSetSharedMemConfig', 338)
CUPTI_DRIVER_TRACE_CBID_cuTexObjectCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexObjectCreate', 339)
CUPTI_DRIVER_TRACE_CBID_cuTexObjectDestroy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexObjectDestroy', 340)
CUPTI_DRIVER_TRACE_CBID_cuTexObjectGetResourceDesc = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexObjectGetResourceDesc', 341)
CUPTI_DRIVER_TRACE_CBID_cuTexObjectGetTextureDesc = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexObjectGetTextureDesc', 342)
CUPTI_DRIVER_TRACE_CBID_cuSurfObjectCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuSurfObjectCreate', 343)
CUPTI_DRIVER_TRACE_CBID_cuSurfObjectDestroy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuSurfObjectDestroy', 344)
CUPTI_DRIVER_TRACE_CBID_cuSurfObjectGetResourceDesc = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuSurfObjectGetResourceDesc', 345)
CUPTI_DRIVER_TRACE_CBID_cuStreamAddCallback = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamAddCallback', 346)
CUPTI_DRIVER_TRACE_CBID_cuMipmappedArrayCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMipmappedArrayCreate', 347)
CUPTI_DRIVER_TRACE_CBID_cuMipmappedArrayGetLevel = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMipmappedArrayGetLevel', 348)
CUPTI_DRIVER_TRACE_CBID_cuMipmappedArrayDestroy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMipmappedArrayDestroy', 349)
CUPTI_DRIVER_TRACE_CBID_cuTexRefSetMipmappedArray = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefSetMipmappedArray', 350)
CUPTI_DRIVER_TRACE_CBID_cuTexRefSetMipmapFilterMode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefSetMipmapFilterMode', 351)
CUPTI_DRIVER_TRACE_CBID_cuTexRefSetMipmapLevelBias = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefSetMipmapLevelBias', 352)
CUPTI_DRIVER_TRACE_CBID_cuTexRefSetMipmapLevelClamp = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefSetMipmapLevelClamp', 353)
CUPTI_DRIVER_TRACE_CBID_cuTexRefSetMaxAnisotropy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefSetMaxAnisotropy', 354)
CUPTI_DRIVER_TRACE_CBID_cuTexRefGetMipmappedArray = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefGetMipmappedArray', 355)
CUPTI_DRIVER_TRACE_CBID_cuTexRefGetMipmapFilterMode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefGetMipmapFilterMode', 356)
CUPTI_DRIVER_TRACE_CBID_cuTexRefGetMipmapLevelBias = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefGetMipmapLevelBias', 357)
CUPTI_DRIVER_TRACE_CBID_cuTexRefGetMipmapLevelClamp = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefGetMipmapLevelClamp', 358)
CUPTI_DRIVER_TRACE_CBID_cuTexRefGetMaxAnisotropy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefGetMaxAnisotropy', 359)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsResourceGetMappedMipmappedArray = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsResourceGetMappedMipmappedArray', 360)
CUPTI_DRIVER_TRACE_CBID_cuTexObjectGetResourceViewDesc = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexObjectGetResourceViewDesc', 361)
CUPTI_DRIVER_TRACE_CBID_cuLinkCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLinkCreate', 362)
CUPTI_DRIVER_TRACE_CBID_cuLinkAddData = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLinkAddData', 363)
CUPTI_DRIVER_TRACE_CBID_cuLinkAddFile = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLinkAddFile', 364)
CUPTI_DRIVER_TRACE_CBID_cuLinkComplete = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLinkComplete', 365)
CUPTI_DRIVER_TRACE_CBID_cuLinkDestroy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLinkDestroy', 366)
CUPTI_DRIVER_TRACE_CBID_cuStreamCreateWithPriority = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamCreateWithPriority', 367)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetPriority = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetPriority', 368)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetFlags', 369)
CUPTI_DRIVER_TRACE_CBID_cuCtxGetStreamPriorityRange = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxGetStreamPriorityRange', 370)
CUPTI_DRIVER_TRACE_CBID_cuMemAllocManaged = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemAllocManaged', 371)
CUPTI_DRIVER_TRACE_CBID_cuGetErrorString = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGetErrorString', 372)
CUPTI_DRIVER_TRACE_CBID_cuGetErrorName = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGetErrorName', 373)
CUPTI_DRIVER_TRACE_CBID_cuOccupancyMaxActiveBlocksPerMultiprocessor = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuOccupancyMaxActiveBlocksPerMultiprocessor', 374)
CUPTI_DRIVER_TRACE_CBID_cuCompilePtx = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCompilePtx', 375)
CUPTI_DRIVER_TRACE_CBID_cuBinaryFree = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuBinaryFree', 376)
CUPTI_DRIVER_TRACE_CBID_cuStreamAttachMemAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamAttachMemAsync', 377)
CUPTI_DRIVER_TRACE_CBID_cuPointerSetAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuPointerSetAttribute', 378)
CUPTI_DRIVER_TRACE_CBID_cuMemHostRegister_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemHostRegister_v2', 379)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsResourceSetMapFlags_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsResourceSetMapFlags_v2', 380)
CUPTI_DRIVER_TRACE_CBID_cuLinkCreate_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLinkCreate_v2', 381)
CUPTI_DRIVER_TRACE_CBID_cuLinkAddData_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLinkAddData_v2', 382)
CUPTI_DRIVER_TRACE_CBID_cuLinkAddFile_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLinkAddFile_v2', 383)
CUPTI_DRIVER_TRACE_CBID_cuOccupancyMaxPotentialBlockSize = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuOccupancyMaxPotentialBlockSize', 384)
CUPTI_DRIVER_TRACE_CBID_cuGLGetDevices_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGLGetDevices_v2', 385)
CUPTI_DRIVER_TRACE_CBID_cuDevicePrimaryCtxRetain = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDevicePrimaryCtxRetain', 386)
CUPTI_DRIVER_TRACE_CBID_cuDevicePrimaryCtxRelease = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDevicePrimaryCtxRelease', 387)
CUPTI_DRIVER_TRACE_CBID_cuDevicePrimaryCtxSetFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDevicePrimaryCtxSetFlags', 388)
CUPTI_DRIVER_TRACE_CBID_cuDevicePrimaryCtxReset = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDevicePrimaryCtxReset', 389)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsEGLRegisterImage = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsEGLRegisterImage', 390)
CUPTI_DRIVER_TRACE_CBID_cuCtxGetFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxGetFlags', 391)
CUPTI_DRIVER_TRACE_CBID_cuDevicePrimaryCtxGetState = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDevicePrimaryCtxGetState', 392)
CUPTI_DRIVER_TRACE_CBID_cuEGLStreamConsumerConnect = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEGLStreamConsumerConnect', 393)
CUPTI_DRIVER_TRACE_CBID_cuEGLStreamConsumerDisconnect = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEGLStreamConsumerDisconnect', 394)
CUPTI_DRIVER_TRACE_CBID_cuEGLStreamConsumerAcquireFrame = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEGLStreamConsumerAcquireFrame', 395)
CUPTI_DRIVER_TRACE_CBID_cuEGLStreamConsumerReleaseFrame = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEGLStreamConsumerReleaseFrame', 396)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoD_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoD_v2_ptds', 397)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoH_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoH_v2_ptds', 398)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoD_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoD_v2_ptds', 399)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoA_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoA_v2_ptds', 400)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoD_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoD_v2_ptds', 401)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoA_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoA_v2_ptds', 402)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoH_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoH_v2_ptds', 403)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoA_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoA_v2_ptds', 404)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy2D_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy2D_v2_ptds', 405)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy2DUnaligned_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy2DUnaligned_v2_ptds', 406)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy3D_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy3D_v2_ptds', 407)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy_ptds', 408)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyPeer_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyPeer_ptds', 409)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DPeer_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DPeer_ptds', 410)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD8_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD8_v2_ptds', 411)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD16_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD16_v2_ptds', 412)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD32_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD32_v2_ptds', 413)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D8_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D8_v2_ptds', 414)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D16_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D16_v2_ptds', 415)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D32_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D32_v2_ptds', 416)
CUPTI_DRIVER_TRACE_CBID_cuGLMapBufferObject_v2_ptds = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGLMapBufferObject_v2_ptds', 417)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyAsync_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyAsync_ptsz', 418)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoAAsync_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoAAsync_v2_ptsz', 419)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoHAsync_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyAtoHAsync_v2_ptsz', 420)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoDAsync_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyHtoDAsync_v2_ptsz', 421)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoHAsync_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoHAsync_v2_ptsz', 422)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoDAsync_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyDtoDAsync_v2_ptsz', 423)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy2DAsync_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy2DAsync_v2_ptsz', 424)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DAsync_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DAsync_v2_ptsz', 425)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyPeerAsync_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyPeerAsync_ptsz', 426)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DPeerAsync_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DPeerAsync_ptsz', 427)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD8Async_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD8Async_ptsz', 428)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD16Async_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD16Async_ptsz', 429)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD32Async_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD32Async_ptsz', 430)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D8Async_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D8Async_ptsz', 431)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D16Async_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D16Async_ptsz', 432)
CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D32Async_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemsetD2D32Async_ptsz', 433)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetPriority_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetPriority_ptsz', 434)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetFlags_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetFlags_ptsz', 435)
CUPTI_DRIVER_TRACE_CBID_cuStreamWaitEvent_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWaitEvent_ptsz', 436)
CUPTI_DRIVER_TRACE_CBID_cuStreamAddCallback_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamAddCallback_ptsz', 437)
CUPTI_DRIVER_TRACE_CBID_cuStreamAttachMemAsync_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamAttachMemAsync_ptsz', 438)
CUPTI_DRIVER_TRACE_CBID_cuStreamQuery_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamQuery_ptsz', 439)
CUPTI_DRIVER_TRACE_CBID_cuStreamSynchronize_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamSynchronize_ptsz', 440)
CUPTI_DRIVER_TRACE_CBID_cuEventRecord_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEventRecord_ptsz', 441)
CUPTI_DRIVER_TRACE_CBID_cuLaunchKernel_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLaunchKernel_ptsz', 442)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsMapResources_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsMapResources_ptsz', 443)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsUnmapResources_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsUnmapResources_ptsz', 444)
CUPTI_DRIVER_TRACE_CBID_cuGLMapBufferObjectAsync_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGLMapBufferObjectAsync_v2_ptsz', 445)
CUPTI_DRIVER_TRACE_CBID_cuEGLStreamProducerConnect = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEGLStreamProducerConnect', 446)
CUPTI_DRIVER_TRACE_CBID_cuEGLStreamProducerDisconnect = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEGLStreamProducerDisconnect', 447)
CUPTI_DRIVER_TRACE_CBID_cuEGLStreamProducerPresentFrame = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEGLStreamProducerPresentFrame', 448)
CUPTI_DRIVER_TRACE_CBID_cuGraphicsResourceGetMappedEglFrame = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphicsResourceGetMappedEglFrame', 449)
CUPTI_DRIVER_TRACE_CBID_cuPointerGetAttributes = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuPointerGetAttributes', 450)
CUPTI_DRIVER_TRACE_CBID_cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags', 451)
CUPTI_DRIVER_TRACE_CBID_cuOccupancyMaxPotentialBlockSizeWithFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuOccupancyMaxPotentialBlockSizeWithFlags', 452)
CUPTI_DRIVER_TRACE_CBID_cuEGLStreamProducerReturnFrame = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEGLStreamProducerReturnFrame', 453)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetP2PAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetP2PAttribute', 454)
CUPTI_DRIVER_TRACE_CBID_cuTexRefSetBorderColor = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefSetBorderColor', 455)
CUPTI_DRIVER_TRACE_CBID_cuTexRefGetBorderColor = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTexRefGetBorderColor', 456)
CUPTI_DRIVER_TRACE_CBID_cuMemAdvise = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemAdvise', 457)
CUPTI_DRIVER_TRACE_CBID_cuStreamWaitValue32 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWaitValue32', 458)
CUPTI_DRIVER_TRACE_CBID_cuStreamWaitValue32_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWaitValue32_ptsz', 459)
CUPTI_DRIVER_TRACE_CBID_cuStreamWriteValue32 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWriteValue32', 460)
CUPTI_DRIVER_TRACE_CBID_cuStreamWriteValue32_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWriteValue32_ptsz', 461)
CUPTI_DRIVER_TRACE_CBID_cuStreamBatchMemOp = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamBatchMemOp', 462)
CUPTI_DRIVER_TRACE_CBID_cuStreamBatchMemOp_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamBatchMemOp_ptsz', 463)
CUPTI_DRIVER_TRACE_CBID_cuNVNbufferGetPointer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuNVNbufferGetPointer', 464)
CUPTI_DRIVER_TRACE_CBID_cuNVNtextureGetArray = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuNVNtextureGetArray', 465)
CUPTI_DRIVER_TRACE_CBID_cuNNSetAllocator = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuNNSetAllocator', 466)
CUPTI_DRIVER_TRACE_CBID_cuMemPrefetchAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPrefetchAsync', 467)
CUPTI_DRIVER_TRACE_CBID_cuMemPrefetchAsync_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPrefetchAsync_ptsz', 468)
CUPTI_DRIVER_TRACE_CBID_cuEventCreateFromNVNSync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEventCreateFromNVNSync', 469)
CUPTI_DRIVER_TRACE_CBID_cuEGLStreamConsumerConnectWithFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEGLStreamConsumerConnectWithFlags', 470)
CUPTI_DRIVER_TRACE_CBID_cuMemRangeGetAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemRangeGetAttribute', 471)
CUPTI_DRIVER_TRACE_CBID_cuMemRangeGetAttributes = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemRangeGetAttributes', 472)
CUPTI_DRIVER_TRACE_CBID_cuStreamWaitValue64 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWaitValue64', 473)
CUPTI_DRIVER_TRACE_CBID_cuStreamWaitValue64_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWaitValue64_ptsz', 474)
CUPTI_DRIVER_TRACE_CBID_cuStreamWriteValue64 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWriteValue64', 475)
CUPTI_DRIVER_TRACE_CBID_cuStreamWriteValue64_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWriteValue64_ptsz', 476)
CUPTI_DRIVER_TRACE_CBID_cuLaunchCooperativeKernel = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLaunchCooperativeKernel', 477)
CUPTI_DRIVER_TRACE_CBID_cuLaunchCooperativeKernel_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLaunchCooperativeKernel_ptsz', 478)
CUPTI_DRIVER_TRACE_CBID_cuEventCreateFromEGLSync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEventCreateFromEGLSync', 479)
CUPTI_DRIVER_TRACE_CBID_cuLaunchCooperativeKernelMultiDevice = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLaunchCooperativeKernelMultiDevice', 480)
CUPTI_DRIVER_TRACE_CBID_cuFuncSetAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuFuncSetAttribute', 481)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetUuid = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetUuid', 482)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetCtx = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetCtx', 483)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetCtx_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetCtx_ptsz', 484)
CUPTI_DRIVER_TRACE_CBID_cuImportExternalMemory = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuImportExternalMemory', 485)
CUPTI_DRIVER_TRACE_CBID_cuExternalMemoryGetMappedBuffer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuExternalMemoryGetMappedBuffer', 486)
CUPTI_DRIVER_TRACE_CBID_cuExternalMemoryGetMappedMipmappedArray = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuExternalMemoryGetMappedMipmappedArray', 487)
CUPTI_DRIVER_TRACE_CBID_cuDestroyExternalMemory = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDestroyExternalMemory', 488)
CUPTI_DRIVER_TRACE_CBID_cuImportExternalSemaphore = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuImportExternalSemaphore', 489)
CUPTI_DRIVER_TRACE_CBID_cuSignalExternalSemaphoresAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuSignalExternalSemaphoresAsync', 490)
CUPTI_DRIVER_TRACE_CBID_cuSignalExternalSemaphoresAsync_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuSignalExternalSemaphoresAsync_ptsz', 491)
CUPTI_DRIVER_TRACE_CBID_cuWaitExternalSemaphoresAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuWaitExternalSemaphoresAsync', 492)
CUPTI_DRIVER_TRACE_CBID_cuWaitExternalSemaphoresAsync_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuWaitExternalSemaphoresAsync_ptsz', 493)
CUPTI_DRIVER_TRACE_CBID_cuDestroyExternalSemaphore = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDestroyExternalSemaphore', 494)
CUPTI_DRIVER_TRACE_CBID_cuStreamBeginCapture = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamBeginCapture', 495)
CUPTI_DRIVER_TRACE_CBID_cuStreamBeginCapture_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamBeginCapture_ptsz', 496)
CUPTI_DRIVER_TRACE_CBID_cuStreamEndCapture = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamEndCapture', 497)
CUPTI_DRIVER_TRACE_CBID_cuStreamEndCapture_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamEndCapture_ptsz', 498)
CUPTI_DRIVER_TRACE_CBID_cuStreamIsCapturing = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamIsCapturing', 499)
CUPTI_DRIVER_TRACE_CBID_cuStreamIsCapturing_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamIsCapturing_ptsz', 500)
CUPTI_DRIVER_TRACE_CBID_cuGraphCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphCreate', 501)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddKernelNode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddKernelNode', 502)
CUPTI_DRIVER_TRACE_CBID_cuGraphKernelNodeGetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphKernelNodeGetParams', 503)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddMemcpyNode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddMemcpyNode', 504)
CUPTI_DRIVER_TRACE_CBID_cuGraphMemcpyNodeGetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphMemcpyNodeGetParams', 505)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddMemsetNode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddMemsetNode', 506)
CUPTI_DRIVER_TRACE_CBID_cuGraphMemsetNodeGetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphMemsetNodeGetParams', 507)
CUPTI_DRIVER_TRACE_CBID_cuGraphMemsetNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphMemsetNodeSetParams', 508)
CUPTI_DRIVER_TRACE_CBID_cuGraphNodeGetType = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphNodeGetType', 509)
CUPTI_DRIVER_TRACE_CBID_cuGraphGetRootNodes = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphGetRootNodes', 510)
CUPTI_DRIVER_TRACE_CBID_cuGraphNodeGetDependencies = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphNodeGetDependencies', 511)
CUPTI_DRIVER_TRACE_CBID_cuGraphNodeGetDependentNodes = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphNodeGetDependentNodes', 512)
CUPTI_DRIVER_TRACE_CBID_cuGraphInstantiate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphInstantiate', 513)
CUPTI_DRIVER_TRACE_CBID_cuGraphLaunch = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphLaunch', 514)
CUPTI_DRIVER_TRACE_CBID_cuGraphLaunch_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphLaunch_ptsz', 515)
CUPTI_DRIVER_TRACE_CBID_cuGraphExecDestroy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExecDestroy', 516)
CUPTI_DRIVER_TRACE_CBID_cuGraphDestroy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphDestroy', 517)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddDependencies = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddDependencies', 518)
CUPTI_DRIVER_TRACE_CBID_cuGraphRemoveDependencies = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphRemoveDependencies', 519)
CUPTI_DRIVER_TRACE_CBID_cuGraphMemcpyNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphMemcpyNodeSetParams', 520)
CUPTI_DRIVER_TRACE_CBID_cuGraphKernelNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphKernelNodeSetParams', 521)
CUPTI_DRIVER_TRACE_CBID_cuGraphDestroyNode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphDestroyNode', 522)
CUPTI_DRIVER_TRACE_CBID_cuGraphClone = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphClone', 523)
CUPTI_DRIVER_TRACE_CBID_cuGraphNodeFindInClone = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphNodeFindInClone', 524)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddChildGraphNode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddChildGraphNode', 525)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddEmptyNode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddEmptyNode', 526)
CUPTI_DRIVER_TRACE_CBID_cuLaunchHostFunc = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLaunchHostFunc', 527)
CUPTI_DRIVER_TRACE_CBID_cuLaunchHostFunc_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLaunchHostFunc_ptsz', 528)
CUPTI_DRIVER_TRACE_CBID_cuGraphChildGraphNodeGetGraph = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphChildGraphNodeGetGraph', 529)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddHostNode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddHostNode', 530)
CUPTI_DRIVER_TRACE_CBID_cuGraphHostNodeGetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphHostNodeGetParams', 531)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetLuid = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetLuid', 532)
CUPTI_DRIVER_TRACE_CBID_cuGraphHostNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphHostNodeSetParams', 533)
CUPTI_DRIVER_TRACE_CBID_cuGraphGetNodes = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphGetNodes', 534)
CUPTI_DRIVER_TRACE_CBID_cuGraphGetEdges = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphGetEdges', 535)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetCaptureInfo = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetCaptureInfo', 536)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetCaptureInfo_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetCaptureInfo_ptsz', 537)
CUPTI_DRIVER_TRACE_CBID_cuGraphExecKernelNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExecKernelNodeSetParams', 538)
CUPTI_DRIVER_TRACE_CBID_cuStreamBeginCapture_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamBeginCapture_v2', 539)
CUPTI_DRIVER_TRACE_CBID_cuStreamBeginCapture_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamBeginCapture_v2_ptsz', 540)
CUPTI_DRIVER_TRACE_CBID_cuThreadExchangeStreamCaptureMode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuThreadExchangeStreamCaptureMode', 541)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetNvSciSyncAttributes = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetNvSciSyncAttributes', 542)
CUPTI_DRIVER_TRACE_CBID_cuOccupancyAvailableDynamicSMemPerBlock = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuOccupancyAvailableDynamicSMemPerBlock', 543)
CUPTI_DRIVER_TRACE_CBID_cuDevicePrimaryCtxRelease_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDevicePrimaryCtxRelease_v2', 544)
CUPTI_DRIVER_TRACE_CBID_cuDevicePrimaryCtxReset_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDevicePrimaryCtxReset_v2', 545)
CUPTI_DRIVER_TRACE_CBID_cuDevicePrimaryCtxSetFlags_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDevicePrimaryCtxSetFlags_v2', 546)
CUPTI_DRIVER_TRACE_CBID_cuMemAddressReserve = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemAddressReserve', 547)
CUPTI_DRIVER_TRACE_CBID_cuMemAddressFree = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemAddressFree', 548)
CUPTI_DRIVER_TRACE_CBID_cuMemCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemCreate', 549)
CUPTI_DRIVER_TRACE_CBID_cuMemRelease = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemRelease', 550)
CUPTI_DRIVER_TRACE_CBID_cuMemMap = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemMap', 551)
CUPTI_DRIVER_TRACE_CBID_cuMemUnmap = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemUnmap', 552)
CUPTI_DRIVER_TRACE_CBID_cuMemSetAccess = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemSetAccess', 553)
CUPTI_DRIVER_TRACE_CBID_cuMemExportToShareableHandle = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemExportToShareableHandle', 554)
CUPTI_DRIVER_TRACE_CBID_cuMemImportFromShareableHandle = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemImportFromShareableHandle', 555)
CUPTI_DRIVER_TRACE_CBID_cuMemGetAllocationGranularity = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemGetAllocationGranularity', 556)
CUPTI_DRIVER_TRACE_CBID_cuMemGetAllocationPropertiesFromHandle = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemGetAllocationPropertiesFromHandle', 557)
CUPTI_DRIVER_TRACE_CBID_cuMemGetAccess = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemGetAccess', 558)
CUPTI_DRIVER_TRACE_CBID_cuStreamSetFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamSetFlags', 559)
CUPTI_DRIVER_TRACE_CBID_cuStreamSetFlags_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamSetFlags_ptsz', 560)
CUPTI_DRIVER_TRACE_CBID_cuGraphExecUpdate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExecUpdate', 561)
CUPTI_DRIVER_TRACE_CBID_cuGraphExecMemcpyNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExecMemcpyNodeSetParams', 562)
CUPTI_DRIVER_TRACE_CBID_cuGraphExecMemsetNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExecMemsetNodeSetParams', 563)
CUPTI_DRIVER_TRACE_CBID_cuGraphExecHostNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExecHostNodeSetParams', 564)
CUPTI_DRIVER_TRACE_CBID_cuMemRetainAllocationHandle = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemRetainAllocationHandle', 565)
CUPTI_DRIVER_TRACE_CBID_cuFuncGetModule = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuFuncGetModule', 566)
CUPTI_DRIVER_TRACE_CBID_cuIpcOpenMemHandle_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuIpcOpenMemHandle_v2', 567)
CUPTI_DRIVER_TRACE_CBID_cuCtxResetPersistingL2Cache = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxResetPersistingL2Cache', 568)
CUPTI_DRIVER_TRACE_CBID_cuGraphKernelNodeCopyAttributes = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphKernelNodeCopyAttributes', 569)
CUPTI_DRIVER_TRACE_CBID_cuGraphKernelNodeGetAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphKernelNodeGetAttribute', 570)
CUPTI_DRIVER_TRACE_CBID_cuGraphKernelNodeSetAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphKernelNodeSetAttribute', 571)
CUPTI_DRIVER_TRACE_CBID_cuStreamCopyAttributes = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamCopyAttributes', 572)
CUPTI_DRIVER_TRACE_CBID_cuStreamCopyAttributes_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamCopyAttributes_ptsz', 573)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetAttribute', 574)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetAttribute_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetAttribute_ptsz', 575)
CUPTI_DRIVER_TRACE_CBID_cuStreamSetAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamSetAttribute', 576)
CUPTI_DRIVER_TRACE_CBID_cuStreamSetAttribute_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamSetAttribute_ptsz', 577)
CUPTI_DRIVER_TRACE_CBID_cuGraphInstantiate_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphInstantiate_v2', 578)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetTexture1DLinearMaxWidth = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetTexture1DLinearMaxWidth', 579)
CUPTI_DRIVER_TRACE_CBID_cuGraphUpload = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphUpload', 580)
CUPTI_DRIVER_TRACE_CBID_cuGraphUpload_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphUpload_ptsz', 581)
CUPTI_DRIVER_TRACE_CBID_cuArrayGetSparseProperties = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuArrayGetSparseProperties', 582)
CUPTI_DRIVER_TRACE_CBID_cuMipmappedArrayGetSparseProperties = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMipmappedArrayGetSparseProperties', 583)
CUPTI_DRIVER_TRACE_CBID_cuMemMapArrayAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemMapArrayAsync', 584)
CUPTI_DRIVER_TRACE_CBID_cuMemMapArrayAsync_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemMapArrayAsync_ptsz', 585)
CUPTI_DRIVER_TRACE_CBID_cuGraphExecChildGraphNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExecChildGraphNodeSetParams', 586)
CUPTI_DRIVER_TRACE_CBID_cuEventRecordWithFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEventRecordWithFlags', 587)
CUPTI_DRIVER_TRACE_CBID_cuEventRecordWithFlags_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEventRecordWithFlags_ptsz', 588)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddEventRecordNode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddEventRecordNode', 589)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddEventWaitNode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddEventWaitNode', 590)
CUPTI_DRIVER_TRACE_CBID_cuGraphEventRecordNodeGetEvent = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphEventRecordNodeGetEvent', 591)
CUPTI_DRIVER_TRACE_CBID_cuGraphEventWaitNodeGetEvent = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphEventWaitNodeGetEvent', 592)
CUPTI_DRIVER_TRACE_CBID_cuGraphEventRecordNodeSetEvent = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphEventRecordNodeSetEvent', 593)
CUPTI_DRIVER_TRACE_CBID_cuGraphEventWaitNodeSetEvent = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphEventWaitNodeSetEvent', 594)
CUPTI_DRIVER_TRACE_CBID_cuGraphExecEventRecordNodeSetEvent = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExecEventRecordNodeSetEvent', 595)
CUPTI_DRIVER_TRACE_CBID_cuGraphExecEventWaitNodeSetEvent = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExecEventWaitNodeSetEvent', 596)
CUPTI_DRIVER_TRACE_CBID_cuArrayGetPlane = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuArrayGetPlane', 597)
CUPTI_DRIVER_TRACE_CBID_cuMemAllocAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemAllocAsync', 598)
CUPTI_DRIVER_TRACE_CBID_cuMemAllocAsync_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemAllocAsync_ptsz', 599)
CUPTI_DRIVER_TRACE_CBID_cuMemFreeAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemFreeAsync', 600)
CUPTI_DRIVER_TRACE_CBID_cuMemFreeAsync_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemFreeAsync_ptsz', 601)
CUPTI_DRIVER_TRACE_CBID_cuMemPoolTrimTo = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPoolTrimTo', 602)
CUPTI_DRIVER_TRACE_CBID_cuMemPoolSetAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPoolSetAttribute', 603)
CUPTI_DRIVER_TRACE_CBID_cuMemPoolGetAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPoolGetAttribute', 604)
CUPTI_DRIVER_TRACE_CBID_cuMemPoolSetAccess = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPoolSetAccess', 605)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetDefaultMemPool = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetDefaultMemPool', 606)
CUPTI_DRIVER_TRACE_CBID_cuMemPoolCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPoolCreate', 607)
CUPTI_DRIVER_TRACE_CBID_cuMemPoolDestroy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPoolDestroy', 608)
CUPTI_DRIVER_TRACE_CBID_cuDeviceSetMemPool = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceSetMemPool', 609)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetMemPool = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetMemPool', 610)
CUPTI_DRIVER_TRACE_CBID_cuMemAllocFromPoolAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemAllocFromPoolAsync', 611)
CUPTI_DRIVER_TRACE_CBID_cuMemAllocFromPoolAsync_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemAllocFromPoolAsync_ptsz', 612)
CUPTI_DRIVER_TRACE_CBID_cuMemPoolExportToShareableHandle = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPoolExportToShareableHandle', 613)
CUPTI_DRIVER_TRACE_CBID_cuMemPoolImportFromShareableHandle = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPoolImportFromShareableHandle', 614)
CUPTI_DRIVER_TRACE_CBID_cuMemPoolExportPointer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPoolExportPointer', 615)
CUPTI_DRIVER_TRACE_CBID_cuMemPoolImportPointer = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPoolImportPointer', 616)
CUPTI_DRIVER_TRACE_CBID_cuMemPoolGetAccess = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPoolGetAccess', 617)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddExternalSemaphoresSignalNode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddExternalSemaphoresSignalNode', 618)
CUPTI_DRIVER_TRACE_CBID_cuGraphExternalSemaphoresSignalNodeGetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExternalSemaphoresSignalNodeGetParams', 619)
CUPTI_DRIVER_TRACE_CBID_cuGraphExternalSemaphoresSignalNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExternalSemaphoresSignalNodeSetParams', 620)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddExternalSemaphoresWaitNode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddExternalSemaphoresWaitNode', 621)
CUPTI_DRIVER_TRACE_CBID_cuGraphExternalSemaphoresWaitNodeGetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExternalSemaphoresWaitNodeGetParams', 622)
CUPTI_DRIVER_TRACE_CBID_cuGraphExternalSemaphoresWaitNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExternalSemaphoresWaitNodeSetParams', 623)
CUPTI_DRIVER_TRACE_CBID_cuGraphExecExternalSemaphoresSignalNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExecExternalSemaphoresSignalNodeSetParams', 624)
CUPTI_DRIVER_TRACE_CBID_cuGraphExecExternalSemaphoresWaitNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExecExternalSemaphoresWaitNodeSetParams', 625)
CUPTI_DRIVER_TRACE_CBID_cuGetProcAddress = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGetProcAddress', 626)
CUPTI_DRIVER_TRACE_CBID_cuFlushGPUDirectRDMAWrites = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuFlushGPUDirectRDMAWrites', 627)
CUPTI_DRIVER_TRACE_CBID_cuGraphDebugDotPrint = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphDebugDotPrint', 628)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetCaptureInfo_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetCaptureInfo_v2', 629)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetCaptureInfo_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetCaptureInfo_v2_ptsz', 630)
CUPTI_DRIVER_TRACE_CBID_cuStreamUpdateCaptureDependencies = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamUpdateCaptureDependencies', 631)
CUPTI_DRIVER_TRACE_CBID_cuStreamUpdateCaptureDependencies_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamUpdateCaptureDependencies_ptsz', 632)
CUPTI_DRIVER_TRACE_CBID_cuUserObjectCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuUserObjectCreate', 633)
CUPTI_DRIVER_TRACE_CBID_cuUserObjectRetain = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuUserObjectRetain', 634)
CUPTI_DRIVER_TRACE_CBID_cuUserObjectRelease = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuUserObjectRelease', 635)
CUPTI_DRIVER_TRACE_CBID_cuGraphRetainUserObject = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphRetainUserObject', 636)
CUPTI_DRIVER_TRACE_CBID_cuGraphReleaseUserObject = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphReleaseUserObject', 637)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddMemAllocNode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddMemAllocNode', 638)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddMemFreeNode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddMemFreeNode', 639)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGraphMemTrim = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGraphMemTrim', 640)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetGraphMemAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetGraphMemAttribute', 641)
CUPTI_DRIVER_TRACE_CBID_cuDeviceSetGraphMemAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceSetGraphMemAttribute', 642)
CUPTI_DRIVER_TRACE_CBID_cuGraphInstantiateWithFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphInstantiateWithFlags', 643)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetExecAffinitySupport = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetExecAffinitySupport', 644)
CUPTI_DRIVER_TRACE_CBID_cuCtxCreate_v3 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxCreate_v3', 645)
CUPTI_DRIVER_TRACE_CBID_cuCtxGetExecAffinity = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxGetExecAffinity', 646)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetUuid_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetUuid_v2', 647)
CUPTI_DRIVER_TRACE_CBID_cuGraphMemAllocNodeGetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphMemAllocNodeGetParams', 648)
CUPTI_DRIVER_TRACE_CBID_cuGraphMemFreeNodeGetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphMemFreeNodeGetParams', 649)
CUPTI_DRIVER_TRACE_CBID_cuGraphNodeSetEnabled = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphNodeSetEnabled', 650)
CUPTI_DRIVER_TRACE_CBID_cuGraphNodeGetEnabled = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphNodeGetEnabled', 651)
CUPTI_DRIVER_TRACE_CBID_cuLaunchKernelEx = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLaunchKernelEx', 652)
CUPTI_DRIVER_TRACE_CBID_cuLaunchKernelEx_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLaunchKernelEx_ptsz', 653)
CUPTI_DRIVER_TRACE_CBID_cuArrayGetMemoryRequirements = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuArrayGetMemoryRequirements', 654)
CUPTI_DRIVER_TRACE_CBID_cuMipmappedArrayGetMemoryRequirements = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMipmappedArrayGetMemoryRequirements', 655)
CUPTI_DRIVER_TRACE_CBID_cuGraphInstantiateWithParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphInstantiateWithParams', 656)
CUPTI_DRIVER_TRACE_CBID_cuGraphInstantiateWithParams_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphInstantiateWithParams_ptsz', 657)
CUPTI_DRIVER_TRACE_CBID_cuGraphExecGetFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExecGetFlags', 658)
CUPTI_DRIVER_TRACE_CBID_cuStreamWaitValue32_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWaitValue32_v2', 659)
CUPTI_DRIVER_TRACE_CBID_cuStreamWaitValue32_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWaitValue32_v2_ptsz', 660)
CUPTI_DRIVER_TRACE_CBID_cuStreamWaitValue64_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWaitValue64_v2', 661)
CUPTI_DRIVER_TRACE_CBID_cuStreamWaitValue64_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWaitValue64_v2_ptsz', 662)
CUPTI_DRIVER_TRACE_CBID_cuStreamWriteValue32_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWriteValue32_v2', 663)
CUPTI_DRIVER_TRACE_CBID_cuStreamWriteValue32_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWriteValue32_v2_ptsz', 664)
CUPTI_DRIVER_TRACE_CBID_cuStreamWriteValue64_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWriteValue64_v2', 665)
CUPTI_DRIVER_TRACE_CBID_cuStreamWriteValue64_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamWriteValue64_v2_ptsz', 666)
CUPTI_DRIVER_TRACE_CBID_cuStreamBatchMemOp_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamBatchMemOp_v2', 667)
CUPTI_DRIVER_TRACE_CBID_cuStreamBatchMemOp_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamBatchMemOp_v2_ptsz', 668)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddBatchMemOpNode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddBatchMemOpNode', 669)
CUPTI_DRIVER_TRACE_CBID_cuGraphBatchMemOpNodeGetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphBatchMemOpNodeGetParams', 670)
CUPTI_DRIVER_TRACE_CBID_cuGraphBatchMemOpNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphBatchMemOpNodeSetParams', 671)
CUPTI_DRIVER_TRACE_CBID_cuGraphExecBatchMemOpNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExecBatchMemOpNodeSetParams', 672)
CUPTI_DRIVER_TRACE_CBID_cuModuleGetLoadingMode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuModuleGetLoadingMode', 673)
CUPTI_DRIVER_TRACE_CBID_cuMemGetHandleForAddressRange = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemGetHandleForAddressRange', 674)
CUPTI_DRIVER_TRACE_CBID_cuOccupancyMaxPotentialClusterSize = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuOccupancyMaxPotentialClusterSize', 675)
CUPTI_DRIVER_TRACE_CBID_cuOccupancyMaxActiveClusters = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuOccupancyMaxActiveClusters', 676)
CUPTI_DRIVER_TRACE_CBID_cuGetProcAddress_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGetProcAddress_v2', 677)
CUPTI_DRIVER_TRACE_CBID_cuLibraryLoadData = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLibraryLoadData', 678)
CUPTI_DRIVER_TRACE_CBID_cuLibraryLoadFromFile = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLibraryLoadFromFile', 679)
CUPTI_DRIVER_TRACE_CBID_cuLibraryUnload = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLibraryUnload', 680)
CUPTI_DRIVER_TRACE_CBID_cuLibraryGetKernel = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLibraryGetKernel', 681)
CUPTI_DRIVER_TRACE_CBID_cuLibraryGetModule = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLibraryGetModule', 682)
CUPTI_DRIVER_TRACE_CBID_cuKernelGetFunction = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuKernelGetFunction', 683)
CUPTI_DRIVER_TRACE_CBID_cuLibraryGetGlobal = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLibraryGetGlobal', 684)
CUPTI_DRIVER_TRACE_CBID_cuLibraryGetManaged = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLibraryGetManaged', 685)
CUPTI_DRIVER_TRACE_CBID_cuKernelGetAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuKernelGetAttribute', 686)
CUPTI_DRIVER_TRACE_CBID_cuKernelSetAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuKernelSetAttribute', 687)
CUPTI_DRIVER_TRACE_CBID_cuKernelSetCacheConfig = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuKernelSetCacheConfig', 688)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddKernelNode_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddKernelNode_v2', 689)
CUPTI_DRIVER_TRACE_CBID_cuGraphKernelNodeGetParams_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphKernelNodeGetParams_v2', 690)
CUPTI_DRIVER_TRACE_CBID_cuGraphKernelNodeSetParams_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphKernelNodeSetParams_v2', 691)
CUPTI_DRIVER_TRACE_CBID_cuGraphExecKernelNodeSetParams_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExecKernelNodeSetParams_v2', 692)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetId = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetId', 693)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetId_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetId_ptsz', 694)
CUPTI_DRIVER_TRACE_CBID_cuCtxGetId = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxGetId', 695)
CUPTI_DRIVER_TRACE_CBID_cuGraphExecUpdate_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExecUpdate_v2', 696)
CUPTI_DRIVER_TRACE_CBID_cuTensorMapEncodeTiled = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTensorMapEncodeTiled', 697)
CUPTI_DRIVER_TRACE_CBID_cuTensorMapEncodeIm2col = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTensorMapEncodeIm2col', 698)
CUPTI_DRIVER_TRACE_CBID_cuTensorMapReplaceAddress = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTensorMapReplaceAddress', 699)
CUPTI_DRIVER_TRACE_CBID_cuLibraryGetUnifiedFunction = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLibraryGetUnifiedFunction', 700)
CUPTI_DRIVER_TRACE_CBID_cuCoredumpGetAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCoredumpGetAttribute', 701)
CUPTI_DRIVER_TRACE_CBID_cuCoredumpGetAttributeGlobal = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCoredumpGetAttributeGlobal', 702)
CUPTI_DRIVER_TRACE_CBID_cuCoredumpSetAttribute = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCoredumpSetAttribute', 703)
CUPTI_DRIVER_TRACE_CBID_cuCoredumpSetAttributeGlobal = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCoredumpSetAttributeGlobal', 704)
CUPTI_DRIVER_TRACE_CBID_cuCtxSetFlags = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxSetFlags', 705)
CUPTI_DRIVER_TRACE_CBID_cuMulticastCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMulticastCreate', 706)
CUPTI_DRIVER_TRACE_CBID_cuMulticastAddDevice = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMulticastAddDevice', 707)
CUPTI_DRIVER_TRACE_CBID_cuMulticastBindMem = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMulticastBindMem', 708)
CUPTI_DRIVER_TRACE_CBID_cuMulticastBindAddr = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMulticastBindAddr', 709)
CUPTI_DRIVER_TRACE_CBID_cuMulticastUnbind = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMulticastUnbind', 710)
CUPTI_DRIVER_TRACE_CBID_cuMulticastGetGranularity = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMulticastGetGranularity', 711)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddNode = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddNode', 712)
CUPTI_DRIVER_TRACE_CBID_cuGraphNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphNodeSetParams', 713)
CUPTI_DRIVER_TRACE_CBID_cuGraphExecNodeSetParams = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphExecNodeSetParams', 714)
CUPTI_DRIVER_TRACE_CBID_cuMemAdvise_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemAdvise_v2', 715)
CUPTI_DRIVER_TRACE_CBID_cuMemPrefetchAsync_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPrefetchAsync_v2', 716)
CUPTI_DRIVER_TRACE_CBID_cuMemPrefetchAsync_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemPrefetchAsync_v2_ptsz', 717)
CUPTI_DRIVER_TRACE_CBID_cuFuncGetName = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuFuncGetName', 718)
CUPTI_DRIVER_TRACE_CBID_cuKernelGetName = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuKernelGetName', 719)
CUPTI_DRIVER_TRACE_CBID_cuStreamBeginCaptureToGraph = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamBeginCaptureToGraph', 720)
CUPTI_DRIVER_TRACE_CBID_cuStreamBeginCaptureToGraph_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamBeginCaptureToGraph_ptsz', 721)
CUPTI_DRIVER_TRACE_CBID_cuGraphConditionalHandleCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphConditionalHandleCreate', 722)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddNode_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddNode_v2', 723)
CUPTI_DRIVER_TRACE_CBID_cuGraphGetEdges_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphGetEdges_v2', 724)
CUPTI_DRIVER_TRACE_CBID_cuGraphNodeGetDependencies_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphNodeGetDependencies_v2', 725)
CUPTI_DRIVER_TRACE_CBID_cuGraphNodeGetDependentNodes_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphNodeGetDependentNodes_v2', 726)
CUPTI_DRIVER_TRACE_CBID_cuGraphAddDependencies_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphAddDependencies_v2', 727)
CUPTI_DRIVER_TRACE_CBID_cuGraphRemoveDependencies_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGraphRemoveDependencies_v2', 728)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetCaptureInfo_v3 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetCaptureInfo_v3', 729)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetCaptureInfo_v3_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetCaptureInfo_v3_ptsz', 730)
CUPTI_DRIVER_TRACE_CBID_cuStreamUpdateCaptureDependencies_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamUpdateCaptureDependencies_v2', 731)
CUPTI_DRIVER_TRACE_CBID_cuStreamUpdateCaptureDependencies_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamUpdateCaptureDependencies_v2_ptsz', 732)
CUPTI_DRIVER_TRACE_CBID_cuFuncGetParamInfo = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuFuncGetParamInfo', 733)
CUPTI_DRIVER_TRACE_CBID_cuKernelGetParamInfo = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuKernelGetParamInfo', 734)
CUPTI_DRIVER_TRACE_CBID_cuDeviceRegisterAsyncNotification = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceRegisterAsyncNotification', 735)
CUPTI_DRIVER_TRACE_CBID_cuDeviceUnregisterAsyncNotification = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceUnregisterAsyncNotification', 736)
CUPTI_DRIVER_TRACE_CBID_cuModuleGetFunctionCount = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuModuleGetFunctionCount', 737)
CUPTI_DRIVER_TRACE_CBID_cuModuleEnumerateFunctions = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuModuleEnumerateFunctions', 738)
CUPTI_DRIVER_TRACE_CBID_cuLibraryGetKernelCount = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLibraryGetKernelCount', 739)
CUPTI_DRIVER_TRACE_CBID_cuLibraryEnumerateKernels = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLibraryEnumerateKernels', 740)
CUPTI_DRIVER_TRACE_CBID_cuFuncIsLoaded = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuFuncIsLoaded', 741)
CUPTI_DRIVER_TRACE_CBID_cuFuncLoad = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuFuncLoad', 742)
CUPTI_DRIVER_TRACE_CBID_cuGreenCtxCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGreenCtxCreate', 743)
CUPTI_DRIVER_TRACE_CBID_cuGreenCtxDestroy = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGreenCtxDestroy', 744)
CUPTI_DRIVER_TRACE_CBID_cuDeviceGetDevResource = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDeviceGetDevResource', 745)
CUPTI_DRIVER_TRACE_CBID_cuCtxGetDevResource = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxGetDevResource', 746)
CUPTI_DRIVER_TRACE_CBID_cuGreenCtxGetDevResource = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGreenCtxGetDevResource', 747)
CUPTI_DRIVER_TRACE_CBID_cuDevResourceGenerateDesc = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDevResourceGenerateDesc', 748)
CUPTI_DRIVER_TRACE_CBID_cuGreenCtxRecordEvent = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGreenCtxRecordEvent', 749)
CUPTI_DRIVER_TRACE_CBID_cuGreenCtxWaitEvent = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGreenCtxWaitEvent', 750)
CUPTI_DRIVER_TRACE_CBID_cuDevSmResourceSplitByCount = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuDevSmResourceSplitByCount', 751)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetGreenCtx = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetGreenCtx', 752)
CUPTI_DRIVER_TRACE_CBID_cuCtxFromGreenCtx = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxFromGreenCtx', 753)
CUPTI_DRIVER_TRACE_CBID_cuKernelGetLibrary = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuKernelGetLibrary', 754)
CUPTI_DRIVER_TRACE_CBID_cuCtxRecordEvent = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxRecordEvent', 755)
CUPTI_DRIVER_TRACE_CBID_cuCtxWaitEvent = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxWaitEvent', 756)
CUPTI_DRIVER_TRACE_CBID_cuCtxCreate_v4 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCtxCreate_v4', 757)
CUPTI_DRIVER_TRACE_CBID_cuGreenCtxStreamCreate = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuGreenCtxStreamCreate', 758)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetCtx_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetCtx_v2', 759)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetCtx_v2_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetCtx_v2_ptsz', 760)
CUPTI_DRIVER_TRACE_CBID_cuMemBatchDecompressAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemBatchDecompressAsync', 761)
CUPTI_DRIVER_TRACE_CBID_cuMemBatchDecompressAsync_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemBatchDecompressAsync_ptsz', 762)
CUPTI_DRIVER_TRACE_CBID_cuLogsRegisterCallback = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLogsRegisterCallback', 763)
CUPTI_DRIVER_TRACE_CBID_cuLogsUnregisterCallback = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLogsUnregisterCallback', 764)
CUPTI_DRIVER_TRACE_CBID_cuLogsCurrent = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLogsCurrent', 765)
CUPTI_DRIVER_TRACE_CBID_cuLogsDumpToFile = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLogsDumpToFile', 766)
CUPTI_DRIVER_TRACE_CBID_cuLogsDumpToMemory = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuLogsDumpToMemory', 767)
CUPTI_DRIVER_TRACE_CBID_cuCheckpointProcessGetRestoreThreadId = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCheckpointProcessGetRestoreThreadId', 768)
CUPTI_DRIVER_TRACE_CBID_cuCheckpointProcessGetState = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCheckpointProcessGetState', 769)
CUPTI_DRIVER_TRACE_CBID_cuCheckpointProcessLock = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCheckpointProcessLock', 770)
CUPTI_DRIVER_TRACE_CBID_cuCheckpointProcessCheckpoint = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCheckpointProcessCheckpoint', 771)
CUPTI_DRIVER_TRACE_CBID_cuCheckpointProcessRestore = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCheckpointProcessRestore', 772)
CUPTI_DRIVER_TRACE_CBID_cuCheckpointProcessUnlock = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuCheckpointProcessUnlock', 773)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetDevice = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetDevice', 774)
CUPTI_DRIVER_TRACE_CBID_cuStreamGetDevice_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuStreamGetDevice_ptsz', 775)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyBatchAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyBatchAsync', 776)
CUPTI_DRIVER_TRACE_CBID_cuMemcpyBatchAsync_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpyBatchAsync_ptsz', 777)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DBatchAsync = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DBatchAsync', 778)
CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DBatchAsync_ptsz = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuMemcpy3DBatchAsync_ptsz', 779)
CUPTI_DRIVER_TRACE_CBID_cuEventElapsedTime_v2 = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuEventElapsedTime_v2', 780)
CUPTI_DRIVER_TRACE_CBID_cuTensorMapEncodeIm2colWide = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_cuTensorMapEncodeIm2colWide', 781)
CUPTI_DRIVER_TRACE_CBID_SIZE = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_SIZE', 782)
CUPTI_DRIVER_TRACE_CBID_FORCE_INT = enum_CUpti_driver_api_trace_cbid_enum.define('CUPTI_DRIVER_TRACE_CBID_FORCE_INT', 2147483647)

CUpti_driver_api_trace_cbid: TypeAlias = enum_CUpti_driver_api_trace_cbid_enum
class enum_CUpti_runtime_api_trace_cbid_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_RUNTIME_TRACE_CBID_INVALID = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_INVALID', 0)
CUPTI_RUNTIME_TRACE_CBID_cudaDriverGetVersion_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDriverGetVersion_v3020', 1)
CUPTI_RUNTIME_TRACE_CBID_cudaRuntimeGetVersion_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaRuntimeGetVersion_v3020', 2)
CUPTI_RUNTIME_TRACE_CBID_cudaGetDeviceCount_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetDeviceCount_v3020', 3)
CUPTI_RUNTIME_TRACE_CBID_cudaGetDeviceProperties_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetDeviceProperties_v3020', 4)
CUPTI_RUNTIME_TRACE_CBID_cudaChooseDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaChooseDevice_v3020', 5)
CUPTI_RUNTIME_TRACE_CBID_cudaGetChannelDesc_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetChannelDesc_v3020', 6)
CUPTI_RUNTIME_TRACE_CBID_cudaCreateChannelDesc_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaCreateChannelDesc_v3020', 7)
CUPTI_RUNTIME_TRACE_CBID_cudaConfigureCall_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaConfigureCall_v3020', 8)
CUPTI_RUNTIME_TRACE_CBID_cudaSetupArgument_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaSetupArgument_v3020', 9)
CUPTI_RUNTIME_TRACE_CBID_cudaGetLastError_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetLastError_v3020', 10)
CUPTI_RUNTIME_TRACE_CBID_cudaPeekAtLastError_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaPeekAtLastError_v3020', 11)
CUPTI_RUNTIME_TRACE_CBID_cudaGetErrorString_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetErrorString_v3020', 12)
CUPTI_RUNTIME_TRACE_CBID_cudaLaunch_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaLaunch_v3020', 13)
CUPTI_RUNTIME_TRACE_CBID_cudaFuncSetCacheConfig_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaFuncSetCacheConfig_v3020', 14)
CUPTI_RUNTIME_TRACE_CBID_cudaFuncGetAttributes_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaFuncGetAttributes_v3020', 15)
CUPTI_RUNTIME_TRACE_CBID_cudaSetDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaSetDevice_v3020', 16)
CUPTI_RUNTIME_TRACE_CBID_cudaGetDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetDevice_v3020', 17)
CUPTI_RUNTIME_TRACE_CBID_cudaSetValidDevices_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaSetValidDevices_v3020', 18)
CUPTI_RUNTIME_TRACE_CBID_cudaSetDeviceFlags_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaSetDeviceFlags_v3020', 19)
CUPTI_RUNTIME_TRACE_CBID_cudaMalloc_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMalloc_v3020', 20)
CUPTI_RUNTIME_TRACE_CBID_cudaMallocPitch_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMallocPitch_v3020', 21)
CUPTI_RUNTIME_TRACE_CBID_cudaFree_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaFree_v3020', 22)
CUPTI_RUNTIME_TRACE_CBID_cudaMallocArray_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMallocArray_v3020', 23)
CUPTI_RUNTIME_TRACE_CBID_cudaFreeArray_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaFreeArray_v3020', 24)
CUPTI_RUNTIME_TRACE_CBID_cudaMallocHost_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMallocHost_v3020', 25)
CUPTI_RUNTIME_TRACE_CBID_cudaFreeHost_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaFreeHost_v3020', 26)
CUPTI_RUNTIME_TRACE_CBID_cudaHostAlloc_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaHostAlloc_v3020', 27)
CUPTI_RUNTIME_TRACE_CBID_cudaHostGetDevicePointer_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaHostGetDevicePointer_v3020', 28)
CUPTI_RUNTIME_TRACE_CBID_cudaHostGetFlags_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaHostGetFlags_v3020', 29)
CUPTI_RUNTIME_TRACE_CBID_cudaMemGetInfo_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemGetInfo_v3020', 30)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy_v3020', 31)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2D_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2D_v3020', 32)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyToArray_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyToArray_v3020', 33)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DToArray_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DToArray_v3020', 34)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyFromArray_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyFromArray_v3020', 35)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DFromArray_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DFromArray_v3020', 36)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyArrayToArray_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyArrayToArray_v3020', 37)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DArrayToArray_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DArrayToArray_v3020', 38)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyToSymbol_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyToSymbol_v3020', 39)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyFromSymbol_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyFromSymbol_v3020', 40)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyAsync_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyAsync_v3020', 41)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyToArrayAsync_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyToArrayAsync_v3020', 42)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyFromArrayAsync_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyFromArrayAsync_v3020', 43)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DAsync_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DAsync_v3020', 44)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DToArrayAsync_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DToArrayAsync_v3020', 45)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DFromArrayAsync_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DFromArrayAsync_v3020', 46)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyToSymbolAsync_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyToSymbolAsync_v3020', 47)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyFromSymbolAsync_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyFromSymbolAsync_v3020', 48)
CUPTI_RUNTIME_TRACE_CBID_cudaMemset_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemset_v3020', 49)
CUPTI_RUNTIME_TRACE_CBID_cudaMemset2D_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemset2D_v3020', 50)
CUPTI_RUNTIME_TRACE_CBID_cudaMemsetAsync_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemsetAsync_v3020', 51)
CUPTI_RUNTIME_TRACE_CBID_cudaMemset2DAsync_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemset2DAsync_v3020', 52)
CUPTI_RUNTIME_TRACE_CBID_cudaGetSymbolAddress_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetSymbolAddress_v3020', 53)
CUPTI_RUNTIME_TRACE_CBID_cudaGetSymbolSize_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetSymbolSize_v3020', 54)
CUPTI_RUNTIME_TRACE_CBID_cudaBindTexture_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaBindTexture_v3020', 55)
CUPTI_RUNTIME_TRACE_CBID_cudaBindTexture2D_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaBindTexture2D_v3020', 56)
CUPTI_RUNTIME_TRACE_CBID_cudaBindTextureToArray_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaBindTextureToArray_v3020', 57)
CUPTI_RUNTIME_TRACE_CBID_cudaUnbindTexture_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaUnbindTexture_v3020', 58)
CUPTI_RUNTIME_TRACE_CBID_cudaGetTextureAlignmentOffset_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetTextureAlignmentOffset_v3020', 59)
CUPTI_RUNTIME_TRACE_CBID_cudaGetTextureReference_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetTextureReference_v3020', 60)
CUPTI_RUNTIME_TRACE_CBID_cudaBindSurfaceToArray_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaBindSurfaceToArray_v3020', 61)
CUPTI_RUNTIME_TRACE_CBID_cudaGetSurfaceReference_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetSurfaceReference_v3020', 62)
CUPTI_RUNTIME_TRACE_CBID_cudaGLSetGLDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGLSetGLDevice_v3020', 63)
CUPTI_RUNTIME_TRACE_CBID_cudaGLRegisterBufferObject_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGLRegisterBufferObject_v3020', 64)
CUPTI_RUNTIME_TRACE_CBID_cudaGLMapBufferObject_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGLMapBufferObject_v3020', 65)
CUPTI_RUNTIME_TRACE_CBID_cudaGLUnmapBufferObject_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGLUnmapBufferObject_v3020', 66)
CUPTI_RUNTIME_TRACE_CBID_cudaGLUnregisterBufferObject_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGLUnregisterBufferObject_v3020', 67)
CUPTI_RUNTIME_TRACE_CBID_cudaGLSetBufferObjectMapFlags_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGLSetBufferObjectMapFlags_v3020', 68)
CUPTI_RUNTIME_TRACE_CBID_cudaGLMapBufferObjectAsync_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGLMapBufferObjectAsync_v3020', 69)
CUPTI_RUNTIME_TRACE_CBID_cudaGLUnmapBufferObjectAsync_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGLUnmapBufferObjectAsync_v3020', 70)
CUPTI_RUNTIME_TRACE_CBID_cudaWGLGetDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaWGLGetDevice_v3020', 71)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsGLRegisterImage_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsGLRegisterImage_v3020', 72)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsGLRegisterBuffer_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsGLRegisterBuffer_v3020', 73)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsUnregisterResource_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsUnregisterResource_v3020', 74)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsResourceSetMapFlags_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsResourceSetMapFlags_v3020', 75)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsMapResources_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsMapResources_v3020', 76)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsUnmapResources_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsUnmapResources_v3020', 77)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsResourceGetMappedPointer_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsResourceGetMappedPointer_v3020', 78)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsSubResourceGetMappedArray_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsSubResourceGetMappedArray_v3020', 79)
CUPTI_RUNTIME_TRACE_CBID_cudaVDPAUGetDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaVDPAUGetDevice_v3020', 80)
CUPTI_RUNTIME_TRACE_CBID_cudaVDPAUSetVDPAUDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaVDPAUSetVDPAUDevice_v3020', 81)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsVDPAURegisterVideoSurface_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsVDPAURegisterVideoSurface_v3020', 82)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsVDPAURegisterOutputSurface_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsVDPAURegisterOutputSurface_v3020', 83)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D11GetDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D11GetDevice_v3020', 84)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D11GetDevices_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D11GetDevices_v3020', 85)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D11SetDirect3DDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D11SetDirect3DDevice_v3020', 86)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsD3D11RegisterResource_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsD3D11RegisterResource_v3020', 87)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D10GetDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D10GetDevice_v3020', 88)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D10GetDevices_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D10GetDevices_v3020', 89)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D10SetDirect3DDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D10SetDirect3DDevice_v3020', 90)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsD3D10RegisterResource_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsD3D10RegisterResource_v3020', 91)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D10RegisterResource_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D10RegisterResource_v3020', 92)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D10UnregisterResource_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D10UnregisterResource_v3020', 93)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D10MapResources_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D10MapResources_v3020', 94)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D10UnmapResources_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D10UnmapResources_v3020', 95)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D10ResourceSetMapFlags_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D10ResourceSetMapFlags_v3020', 96)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D10ResourceGetSurfaceDimensions_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D10ResourceGetSurfaceDimensions_v3020', 97)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D10ResourceGetMappedArray_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D10ResourceGetMappedArray_v3020', 98)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D10ResourceGetMappedPointer_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D10ResourceGetMappedPointer_v3020', 99)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D10ResourceGetMappedSize_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D10ResourceGetMappedSize_v3020', 100)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D10ResourceGetMappedPitch_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D10ResourceGetMappedPitch_v3020', 101)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9GetDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9GetDevice_v3020', 102)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9GetDevices_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9GetDevices_v3020', 103)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9SetDirect3DDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9SetDirect3DDevice_v3020', 104)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9GetDirect3DDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9GetDirect3DDevice_v3020', 105)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsD3D9RegisterResource_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsD3D9RegisterResource_v3020', 106)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9RegisterResource_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9RegisterResource_v3020', 107)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9UnregisterResource_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9UnregisterResource_v3020', 108)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9MapResources_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9MapResources_v3020', 109)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9UnmapResources_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9UnmapResources_v3020', 110)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9ResourceSetMapFlags_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9ResourceSetMapFlags_v3020', 111)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9ResourceGetSurfaceDimensions_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9ResourceGetSurfaceDimensions_v3020', 112)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9ResourceGetMappedArray_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9ResourceGetMappedArray_v3020', 113)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9ResourceGetMappedPointer_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9ResourceGetMappedPointer_v3020', 114)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9ResourceGetMappedSize_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9ResourceGetMappedSize_v3020', 115)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9ResourceGetMappedPitch_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9ResourceGetMappedPitch_v3020', 116)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9Begin_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9Begin_v3020', 117)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9End_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9End_v3020', 118)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9RegisterVertexBuffer_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9RegisterVertexBuffer_v3020', 119)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9UnregisterVertexBuffer_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9UnregisterVertexBuffer_v3020', 120)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9MapVertexBuffer_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9MapVertexBuffer_v3020', 121)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D9UnmapVertexBuffer_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D9UnmapVertexBuffer_v3020', 122)
CUPTI_RUNTIME_TRACE_CBID_cudaThreadExit_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaThreadExit_v3020', 123)
CUPTI_RUNTIME_TRACE_CBID_cudaSetDoubleForDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaSetDoubleForDevice_v3020', 124)
CUPTI_RUNTIME_TRACE_CBID_cudaSetDoubleForHost_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaSetDoubleForHost_v3020', 125)
CUPTI_RUNTIME_TRACE_CBID_cudaThreadSynchronize_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaThreadSynchronize_v3020', 126)
CUPTI_RUNTIME_TRACE_CBID_cudaThreadGetLimit_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaThreadGetLimit_v3020', 127)
CUPTI_RUNTIME_TRACE_CBID_cudaThreadSetLimit_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaThreadSetLimit_v3020', 128)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamCreate_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamCreate_v3020', 129)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamDestroy_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamDestroy_v3020', 130)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamSynchronize_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamSynchronize_v3020', 131)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamQuery_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamQuery_v3020', 132)
CUPTI_RUNTIME_TRACE_CBID_cudaEventCreate_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEventCreate_v3020', 133)
CUPTI_RUNTIME_TRACE_CBID_cudaEventCreateWithFlags_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEventCreateWithFlags_v3020', 134)
CUPTI_RUNTIME_TRACE_CBID_cudaEventRecord_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEventRecord_v3020', 135)
CUPTI_RUNTIME_TRACE_CBID_cudaEventDestroy_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEventDestroy_v3020', 136)
CUPTI_RUNTIME_TRACE_CBID_cudaEventSynchronize_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEventSynchronize_v3020', 137)
CUPTI_RUNTIME_TRACE_CBID_cudaEventQuery_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEventQuery_v3020', 138)
CUPTI_RUNTIME_TRACE_CBID_cudaEventElapsedTime_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEventElapsedTime_v3020', 139)
CUPTI_RUNTIME_TRACE_CBID_cudaMalloc3D_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMalloc3D_v3020', 140)
CUPTI_RUNTIME_TRACE_CBID_cudaMalloc3DArray_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMalloc3DArray_v3020', 141)
CUPTI_RUNTIME_TRACE_CBID_cudaMemset3D_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemset3D_v3020', 142)
CUPTI_RUNTIME_TRACE_CBID_cudaMemset3DAsync_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemset3DAsync_v3020', 143)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3D_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3D_v3020', 144)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3DAsync_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3DAsync_v3020', 145)
CUPTI_RUNTIME_TRACE_CBID_cudaThreadSetCacheConfig_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaThreadSetCacheConfig_v3020', 146)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamWaitEvent_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamWaitEvent_v3020', 147)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D11GetDirect3DDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D11GetDirect3DDevice_v3020', 148)
CUPTI_RUNTIME_TRACE_CBID_cudaD3D10GetDirect3DDevice_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaD3D10GetDirect3DDevice_v3020', 149)
CUPTI_RUNTIME_TRACE_CBID_cudaThreadGetCacheConfig_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaThreadGetCacheConfig_v3020', 150)
CUPTI_RUNTIME_TRACE_CBID_cudaPointerGetAttributes_v4000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaPointerGetAttributes_v4000', 151)
CUPTI_RUNTIME_TRACE_CBID_cudaHostRegister_v4000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaHostRegister_v4000', 152)
CUPTI_RUNTIME_TRACE_CBID_cudaHostUnregister_v4000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaHostUnregister_v4000', 153)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceCanAccessPeer_v4000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceCanAccessPeer_v4000', 154)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceEnablePeerAccess_v4000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceEnablePeerAccess_v4000', 155)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceDisablePeerAccess_v4000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceDisablePeerAccess_v4000', 156)
CUPTI_RUNTIME_TRACE_CBID_cudaPeerRegister_v4000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaPeerRegister_v4000', 157)
CUPTI_RUNTIME_TRACE_CBID_cudaPeerUnregister_v4000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaPeerUnregister_v4000', 158)
CUPTI_RUNTIME_TRACE_CBID_cudaPeerGetDevicePointer_v4000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaPeerGetDevicePointer_v4000', 159)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyPeer_v4000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyPeer_v4000', 160)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyPeerAsync_v4000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyPeerAsync_v4000', 161)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3DPeer_v4000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3DPeer_v4000', 162)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3DPeerAsync_v4000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3DPeerAsync_v4000', 163)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceReset_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceReset_v3020', 164)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceSynchronize_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceSynchronize_v3020', 165)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetLimit_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetLimit_v3020', 166)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceSetLimit_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceSetLimit_v3020', 167)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetCacheConfig_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetCacheConfig_v3020', 168)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceSetCacheConfig_v3020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceSetCacheConfig_v3020', 169)
CUPTI_RUNTIME_TRACE_CBID_cudaProfilerInitialize_v4000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaProfilerInitialize_v4000', 170)
CUPTI_RUNTIME_TRACE_CBID_cudaProfilerStart_v4000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaProfilerStart_v4000', 171)
CUPTI_RUNTIME_TRACE_CBID_cudaProfilerStop_v4000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaProfilerStop_v4000', 172)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetByPCIBusId_v4010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetByPCIBusId_v4010', 173)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetPCIBusId_v4010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetPCIBusId_v4010', 174)
CUPTI_RUNTIME_TRACE_CBID_cudaGLGetDevices_v4010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGLGetDevices_v4010', 175)
CUPTI_RUNTIME_TRACE_CBID_cudaIpcGetEventHandle_v4010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaIpcGetEventHandle_v4010', 176)
CUPTI_RUNTIME_TRACE_CBID_cudaIpcOpenEventHandle_v4010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaIpcOpenEventHandle_v4010', 177)
CUPTI_RUNTIME_TRACE_CBID_cudaIpcGetMemHandle_v4010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaIpcGetMemHandle_v4010', 178)
CUPTI_RUNTIME_TRACE_CBID_cudaIpcOpenMemHandle_v4010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaIpcOpenMemHandle_v4010', 179)
CUPTI_RUNTIME_TRACE_CBID_cudaIpcCloseMemHandle_v4010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaIpcCloseMemHandle_v4010', 180)
CUPTI_RUNTIME_TRACE_CBID_cudaArrayGetInfo_v4010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaArrayGetInfo_v4010', 181)
CUPTI_RUNTIME_TRACE_CBID_cudaFuncSetSharedMemConfig_v4020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaFuncSetSharedMemConfig_v4020', 182)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetSharedMemConfig_v4020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetSharedMemConfig_v4020', 183)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceSetSharedMemConfig_v4020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceSetSharedMemConfig_v4020', 184)
CUPTI_RUNTIME_TRACE_CBID_cudaCreateTextureObject_v5000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaCreateTextureObject_v5000', 185)
CUPTI_RUNTIME_TRACE_CBID_cudaDestroyTextureObject_v5000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDestroyTextureObject_v5000', 186)
CUPTI_RUNTIME_TRACE_CBID_cudaGetTextureObjectResourceDesc_v5000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetTextureObjectResourceDesc_v5000', 187)
CUPTI_RUNTIME_TRACE_CBID_cudaGetTextureObjectTextureDesc_v5000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetTextureObjectTextureDesc_v5000', 188)
CUPTI_RUNTIME_TRACE_CBID_cudaCreateSurfaceObject_v5000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaCreateSurfaceObject_v5000', 189)
CUPTI_RUNTIME_TRACE_CBID_cudaDestroySurfaceObject_v5000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDestroySurfaceObject_v5000', 190)
CUPTI_RUNTIME_TRACE_CBID_cudaGetSurfaceObjectResourceDesc_v5000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetSurfaceObjectResourceDesc_v5000', 191)
CUPTI_RUNTIME_TRACE_CBID_cudaMallocMipmappedArray_v5000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMallocMipmappedArray_v5000', 192)
CUPTI_RUNTIME_TRACE_CBID_cudaGetMipmappedArrayLevel_v5000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetMipmappedArrayLevel_v5000', 193)
CUPTI_RUNTIME_TRACE_CBID_cudaFreeMipmappedArray_v5000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaFreeMipmappedArray_v5000', 194)
CUPTI_RUNTIME_TRACE_CBID_cudaBindTextureToMipmappedArray_v5000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaBindTextureToMipmappedArray_v5000', 195)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsResourceGetMappedMipmappedArray_v5000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsResourceGetMappedMipmappedArray_v5000', 196)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamAddCallback_v5000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamAddCallback_v5000', 197)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamCreateWithFlags_v5000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamCreateWithFlags_v5000', 198)
CUPTI_RUNTIME_TRACE_CBID_cudaGetTextureObjectResourceViewDesc_v5000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetTextureObjectResourceViewDesc_v5000', 199)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetAttribute_v5000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetAttribute_v5000', 200)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamDestroy_v5050 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamDestroy_v5050', 201)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamCreateWithPriority_v5050 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamCreateWithPriority_v5050', 202)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetPriority_v5050 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetPriority_v5050', 203)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetFlags_v5050 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetFlags_v5050', 204)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetStreamPriorityRange_v5050 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetStreamPriorityRange_v5050', 205)
CUPTI_RUNTIME_TRACE_CBID_cudaMallocManaged_v6000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMallocManaged_v6000', 206)
CUPTI_RUNTIME_TRACE_CBID_cudaOccupancyMaxActiveBlocksPerMultiprocessor_v6000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaOccupancyMaxActiveBlocksPerMultiprocessor_v6000', 207)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamAttachMemAsync_v6000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamAttachMemAsync_v6000', 208)
CUPTI_RUNTIME_TRACE_CBID_cudaGetErrorName_v6050 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetErrorName_v6050', 209)
CUPTI_RUNTIME_TRACE_CBID_cudaOccupancyMaxActiveBlocksPerMultiprocessor_v6050 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaOccupancyMaxActiveBlocksPerMultiprocessor_v6050', 210)
CUPTI_RUNTIME_TRACE_CBID_cudaLaunchKernel_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaLaunchKernel_v7000', 211)
CUPTI_RUNTIME_TRACE_CBID_cudaGetDeviceFlags_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetDeviceFlags_v7000', 212)
CUPTI_RUNTIME_TRACE_CBID_cudaLaunch_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaLaunch_ptsz_v7000', 213)
CUPTI_RUNTIME_TRACE_CBID_cudaLaunchKernel_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaLaunchKernel_ptsz_v7000', 214)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy_ptds_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy_ptds_v7000', 215)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2D_ptds_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2D_ptds_v7000', 216)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyToArray_ptds_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyToArray_ptds_v7000', 217)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DToArray_ptds_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DToArray_ptds_v7000', 218)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyFromArray_ptds_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyFromArray_ptds_v7000', 219)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DFromArray_ptds_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DFromArray_ptds_v7000', 220)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyArrayToArray_ptds_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyArrayToArray_ptds_v7000', 221)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DArrayToArray_ptds_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DArrayToArray_ptds_v7000', 222)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyToSymbol_ptds_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyToSymbol_ptds_v7000', 223)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyFromSymbol_ptds_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyFromSymbol_ptds_v7000', 224)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyAsync_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyAsync_ptsz_v7000', 225)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyToArrayAsync_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyToArrayAsync_ptsz_v7000', 226)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyFromArrayAsync_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyFromArrayAsync_ptsz_v7000', 227)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DAsync_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DAsync_ptsz_v7000', 228)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DToArrayAsync_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DToArrayAsync_ptsz_v7000', 229)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DFromArrayAsync_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy2DFromArrayAsync_ptsz_v7000', 230)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyToSymbolAsync_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyToSymbolAsync_ptsz_v7000', 231)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyFromSymbolAsync_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyFromSymbolAsync_ptsz_v7000', 232)
CUPTI_RUNTIME_TRACE_CBID_cudaMemset_ptds_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemset_ptds_v7000', 233)
CUPTI_RUNTIME_TRACE_CBID_cudaMemset2D_ptds_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemset2D_ptds_v7000', 234)
CUPTI_RUNTIME_TRACE_CBID_cudaMemsetAsync_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemsetAsync_ptsz_v7000', 235)
CUPTI_RUNTIME_TRACE_CBID_cudaMemset2DAsync_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemset2DAsync_ptsz_v7000', 236)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetPriority_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetPriority_ptsz_v7000', 237)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetFlags_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetFlags_ptsz_v7000', 238)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamSynchronize_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamSynchronize_ptsz_v7000', 239)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamQuery_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamQuery_ptsz_v7000', 240)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamAttachMemAsync_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamAttachMemAsync_ptsz_v7000', 241)
CUPTI_RUNTIME_TRACE_CBID_cudaEventRecord_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEventRecord_ptsz_v7000', 242)
CUPTI_RUNTIME_TRACE_CBID_cudaMemset3D_ptds_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemset3D_ptds_v7000', 243)
CUPTI_RUNTIME_TRACE_CBID_cudaMemset3DAsync_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemset3DAsync_ptsz_v7000', 244)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3D_ptds_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3D_ptds_v7000', 245)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3DAsync_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3DAsync_ptsz_v7000', 246)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamWaitEvent_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamWaitEvent_ptsz_v7000', 247)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamAddCallback_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamAddCallback_ptsz_v7000', 248)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3DPeer_ptds_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3DPeer_ptds_v7000', 249)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3DPeerAsync_ptsz_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3DPeerAsync_ptsz_v7000', 250)
CUPTI_RUNTIME_TRACE_CBID_cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_v7000', 251)
CUPTI_RUNTIME_TRACE_CBID_cudaMemPrefetchAsync_v8000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemPrefetchAsync_v8000', 252)
CUPTI_RUNTIME_TRACE_CBID_cudaMemPrefetchAsync_ptsz_v8000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemPrefetchAsync_ptsz_v8000', 253)
CUPTI_RUNTIME_TRACE_CBID_cudaMemAdvise_v8000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemAdvise_v8000', 254)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetP2PAttribute_v8000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetP2PAttribute_v8000', 255)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsEGLRegisterImage_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsEGLRegisterImage_v7000', 256)
CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamConsumerConnect_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamConsumerConnect_v7000', 257)
CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamConsumerDisconnect_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamConsumerDisconnect_v7000', 258)
CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamConsumerAcquireFrame_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamConsumerAcquireFrame_v7000', 259)
CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamConsumerReleaseFrame_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamConsumerReleaseFrame_v7000', 260)
CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamProducerConnect_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamProducerConnect_v7000', 261)
CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamProducerDisconnect_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamProducerDisconnect_v7000', 262)
CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamProducerPresentFrame_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamProducerPresentFrame_v7000', 263)
CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamProducerReturnFrame_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamProducerReturnFrame_v7000', 264)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsResourceGetMappedEglFrame_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphicsResourceGetMappedEglFrame_v7000', 265)
CUPTI_RUNTIME_TRACE_CBID_cudaMemRangeGetAttribute_v8000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemRangeGetAttribute_v8000', 266)
CUPTI_RUNTIME_TRACE_CBID_cudaMemRangeGetAttributes_v8000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemRangeGetAttributes_v8000', 267)
CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamConsumerConnectWithFlags_v7000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEGLStreamConsumerConnectWithFlags_v7000', 268)
CUPTI_RUNTIME_TRACE_CBID_cudaLaunchCooperativeKernel_v9000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaLaunchCooperativeKernel_v9000', 269)
CUPTI_RUNTIME_TRACE_CBID_cudaLaunchCooperativeKernel_ptsz_v9000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaLaunchCooperativeKernel_ptsz_v9000', 270)
CUPTI_RUNTIME_TRACE_CBID_cudaEventCreateFromEGLSync_v9000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEventCreateFromEGLSync_v9000', 271)
CUPTI_RUNTIME_TRACE_CBID_cudaLaunchCooperativeKernelMultiDevice_v9000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaLaunchCooperativeKernelMultiDevice_v9000', 272)
CUPTI_RUNTIME_TRACE_CBID_cudaFuncSetAttribute_v9000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaFuncSetAttribute_v9000', 273)
CUPTI_RUNTIME_TRACE_CBID_cudaImportExternalMemory_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaImportExternalMemory_v10000', 274)
CUPTI_RUNTIME_TRACE_CBID_cudaExternalMemoryGetMappedBuffer_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaExternalMemoryGetMappedBuffer_v10000', 275)
CUPTI_RUNTIME_TRACE_CBID_cudaExternalMemoryGetMappedMipmappedArray_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaExternalMemoryGetMappedMipmappedArray_v10000', 276)
CUPTI_RUNTIME_TRACE_CBID_cudaDestroyExternalMemory_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDestroyExternalMemory_v10000', 277)
CUPTI_RUNTIME_TRACE_CBID_cudaImportExternalSemaphore_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaImportExternalSemaphore_v10000', 278)
CUPTI_RUNTIME_TRACE_CBID_cudaSignalExternalSemaphoresAsync_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaSignalExternalSemaphoresAsync_v10000', 279)
CUPTI_RUNTIME_TRACE_CBID_cudaSignalExternalSemaphoresAsync_ptsz_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaSignalExternalSemaphoresAsync_ptsz_v10000', 280)
CUPTI_RUNTIME_TRACE_CBID_cudaWaitExternalSemaphoresAsync_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaWaitExternalSemaphoresAsync_v10000', 281)
CUPTI_RUNTIME_TRACE_CBID_cudaWaitExternalSemaphoresAsync_ptsz_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaWaitExternalSemaphoresAsync_ptsz_v10000', 282)
CUPTI_RUNTIME_TRACE_CBID_cudaDestroyExternalSemaphore_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDestroyExternalSemaphore_v10000', 283)
CUPTI_RUNTIME_TRACE_CBID_cudaLaunchHostFunc_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaLaunchHostFunc_v10000', 284)
CUPTI_RUNTIME_TRACE_CBID_cudaLaunchHostFunc_ptsz_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaLaunchHostFunc_ptsz_v10000', 285)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphCreate_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphCreate_v10000', 286)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphKernelNodeGetParams_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphKernelNodeGetParams_v10000', 287)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphKernelNodeSetParams_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphKernelNodeSetParams_v10000', 288)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddKernelNode_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddKernelNode_v10000', 289)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddMemcpyNode_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddMemcpyNode_v10000', 290)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemcpyNodeGetParams_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemcpyNodeGetParams_v10000', 291)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemcpyNodeSetParams_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemcpyNodeSetParams_v10000', 292)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddMemsetNode_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddMemsetNode_v10000', 293)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemsetNodeGetParams_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemsetNodeGetParams_v10000', 294)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemsetNodeSetParams_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemsetNodeSetParams_v10000', 295)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddHostNode_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddHostNode_v10000', 296)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphHostNodeGetParams_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphHostNodeGetParams_v10000', 297)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddChildGraphNode_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddChildGraphNode_v10000', 298)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphChildGraphNodeGetGraph_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphChildGraphNodeGetGraph_v10000', 299)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddEmptyNode_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddEmptyNode_v10000', 300)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphClone_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphClone_v10000', 301)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeFindInClone_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeFindInClone_v10000', 302)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeGetType_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeGetType_v10000', 303)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphGetRootNodes_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphGetRootNodes_v10000', 304)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeGetDependencies_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeGetDependencies_v10000', 305)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeGetDependentNodes_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeGetDependentNodes_v10000', 306)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddDependencies_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddDependencies_v10000', 307)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphRemoveDependencies_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphRemoveDependencies_v10000', 308)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphDestroyNode_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphDestroyNode_v10000', 309)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphInstantiate_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphInstantiate_v10000', 310)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphLaunch_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphLaunch_v10000', 311)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphLaunch_ptsz_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphLaunch_ptsz_v10000', 312)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecDestroy_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecDestroy_v10000', 313)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphDestroy_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphDestroy_v10000', 314)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamBeginCapture_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamBeginCapture_v10000', 315)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamBeginCapture_ptsz_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamBeginCapture_ptsz_v10000', 316)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamIsCapturing_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamIsCapturing_v10000', 317)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamIsCapturing_ptsz_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamIsCapturing_ptsz_v10000', 318)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamEndCapture_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamEndCapture_v10000', 319)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamEndCapture_ptsz_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamEndCapture_ptsz_v10000', 320)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphHostNodeSetParams_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphHostNodeSetParams_v10000', 321)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphGetNodes_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphGetNodes_v10000', 322)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphGetEdges_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphGetEdges_v10000', 323)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetCaptureInfo_v10010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetCaptureInfo_v10010', 324)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetCaptureInfo_ptsz_v10010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetCaptureInfo_ptsz_v10010', 325)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecKernelNodeSetParams_v10010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecKernelNodeSetParams_v10010', 326)
CUPTI_RUNTIME_TRACE_CBID_cudaThreadExchangeStreamCaptureMode_v10010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaThreadExchangeStreamCaptureMode_v10010', 327)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetNvSciSyncAttributes_v10020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetNvSciSyncAttributes_v10020', 328)
CUPTI_RUNTIME_TRACE_CBID_cudaOccupancyAvailableDynamicSMemPerBlock_v10200 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaOccupancyAvailableDynamicSMemPerBlock_v10200', 329)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamSetFlags_v10200 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamSetFlags_v10200', 330)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamSetFlags_ptsz_v10200 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamSetFlags_ptsz_v10200', 331)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecMemcpyNodeSetParams_v10020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecMemcpyNodeSetParams_v10020', 332)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecMemsetNodeSetParams_v10020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecMemsetNodeSetParams_v10020', 333)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecHostNodeSetParams_v10020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecHostNodeSetParams_v10020', 334)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecUpdate_v10020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecUpdate_v10020', 335)
CUPTI_RUNTIME_TRACE_CBID_cudaGetFuncBySymbol_v11000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetFuncBySymbol_v11000', 336)
CUPTI_RUNTIME_TRACE_CBID_cudaCtxResetPersistingL2Cache_v11000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaCtxResetPersistingL2Cache_v11000', 337)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphKernelNodeCopyAttributes_v11000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphKernelNodeCopyAttributes_v11000', 338)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphKernelNodeGetAttribute_v11000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphKernelNodeGetAttribute_v11000', 339)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphKernelNodeSetAttribute_v11000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphKernelNodeSetAttribute_v11000', 340)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamCopyAttributes_v11000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamCopyAttributes_v11000', 341)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamCopyAttributes_ptsz_v11000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamCopyAttributes_ptsz_v11000', 342)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetAttribute_v11000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetAttribute_v11000', 343)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetAttribute_ptsz_v11000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetAttribute_ptsz_v11000', 344)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamSetAttribute_v11000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamSetAttribute_v11000', 345)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamSetAttribute_ptsz_v11000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamSetAttribute_ptsz_v11000', 346)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetTexture1DLinearMaxWidth_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetTexture1DLinearMaxWidth_v11010', 347)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphUpload_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphUpload_v10000', 348)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphUpload_ptsz_v10000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphUpload_ptsz_v10000', 349)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddMemcpyNodeToSymbol_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddMemcpyNodeToSymbol_v11010', 350)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddMemcpyNodeFromSymbol_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddMemcpyNodeFromSymbol_v11010', 351)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddMemcpyNode1D_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddMemcpyNode1D_v11010', 352)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemcpyNodeSetParamsToSymbol_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemcpyNodeSetParamsToSymbol_v11010', 353)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemcpyNodeSetParamsFromSymbol_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemcpyNodeSetParamsFromSymbol_v11010', 354)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemcpyNodeSetParams1D_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemcpyNodeSetParams1D_v11010', 355)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecMemcpyNodeSetParamsToSymbol_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecMemcpyNodeSetParamsToSymbol_v11010', 356)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecMemcpyNodeSetParamsFromSymbol_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecMemcpyNodeSetParamsFromSymbol_v11010', 357)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecMemcpyNodeSetParams1D_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecMemcpyNodeSetParams1D_v11010', 358)
CUPTI_RUNTIME_TRACE_CBID_cudaArrayGetSparseProperties_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaArrayGetSparseProperties_v11010', 359)
CUPTI_RUNTIME_TRACE_CBID_cudaMipmappedArrayGetSparseProperties_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMipmappedArrayGetSparseProperties_v11010', 360)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecChildGraphNodeSetParams_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecChildGraphNodeSetParams_v11010', 361)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddEventRecordNode_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddEventRecordNode_v11010', 362)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphEventRecordNodeGetEvent_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphEventRecordNodeGetEvent_v11010', 363)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphEventRecordNodeSetEvent_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphEventRecordNodeSetEvent_v11010', 364)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddEventWaitNode_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddEventWaitNode_v11010', 365)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphEventWaitNodeGetEvent_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphEventWaitNodeGetEvent_v11010', 366)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphEventWaitNodeSetEvent_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphEventWaitNodeSetEvent_v11010', 367)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecEventRecordNodeSetEvent_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecEventRecordNodeSetEvent_v11010', 368)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecEventWaitNodeSetEvent_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecEventWaitNodeSetEvent_v11010', 369)
CUPTI_RUNTIME_TRACE_CBID_cudaEventRecordWithFlags_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEventRecordWithFlags_v11010', 370)
CUPTI_RUNTIME_TRACE_CBID_cudaEventRecordWithFlags_ptsz_v11010 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEventRecordWithFlags_ptsz_v11010', 371)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetDefaultMemPool_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetDefaultMemPool_v11020', 372)
CUPTI_RUNTIME_TRACE_CBID_cudaMallocAsync_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMallocAsync_v11020', 373)
CUPTI_RUNTIME_TRACE_CBID_cudaMallocAsync_ptsz_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMallocAsync_ptsz_v11020', 374)
CUPTI_RUNTIME_TRACE_CBID_cudaFreeAsync_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaFreeAsync_v11020', 375)
CUPTI_RUNTIME_TRACE_CBID_cudaFreeAsync_ptsz_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaFreeAsync_ptsz_v11020', 376)
CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolTrimTo_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolTrimTo_v11020', 377)
CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolSetAttribute_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolSetAttribute_v11020', 378)
CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolGetAttribute_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolGetAttribute_v11020', 379)
CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolSetAccess_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolSetAccess_v11020', 380)
CUPTI_RUNTIME_TRACE_CBID_cudaArrayGetPlane_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaArrayGetPlane_v11020', 381)
CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolGetAccess_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolGetAccess_v11020', 382)
CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolCreate_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolCreate_v11020', 383)
CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolDestroy_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolDestroy_v11020', 384)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceSetMemPool_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceSetMemPool_v11020', 385)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetMemPool_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetMemPool_v11020', 386)
CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolExportToShareableHandle_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolExportToShareableHandle_v11020', 387)
CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolImportFromShareableHandle_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolImportFromShareableHandle_v11020', 388)
CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolExportPointer_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolExportPointer_v11020', 389)
CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolImportPointer_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemPoolImportPointer_v11020', 390)
CUPTI_RUNTIME_TRACE_CBID_cudaMallocFromPoolAsync_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMallocFromPoolAsync_v11020', 391)
CUPTI_RUNTIME_TRACE_CBID_cudaMallocFromPoolAsync_ptsz_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMallocFromPoolAsync_ptsz_v11020', 392)
CUPTI_RUNTIME_TRACE_CBID_cudaSignalExternalSemaphoresAsync_v2_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaSignalExternalSemaphoresAsync_v2_v11020', 393)
CUPTI_RUNTIME_TRACE_CBID_cudaSignalExternalSemaphoresAsync_v2_ptsz_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaSignalExternalSemaphoresAsync_v2_ptsz_v11020', 394)
CUPTI_RUNTIME_TRACE_CBID_cudaWaitExternalSemaphoresAsync_v2_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaWaitExternalSemaphoresAsync_v2_v11020', 395)
CUPTI_RUNTIME_TRACE_CBID_cudaWaitExternalSemaphoresAsync_v2_ptsz_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaWaitExternalSemaphoresAsync_v2_ptsz_v11020', 396)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddExternalSemaphoresSignalNode_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddExternalSemaphoresSignalNode_v11020', 397)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExternalSemaphoresSignalNodeGetParams_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExternalSemaphoresSignalNodeGetParams_v11020', 398)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExternalSemaphoresSignalNodeSetParams_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExternalSemaphoresSignalNodeSetParams_v11020', 399)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddExternalSemaphoresWaitNode_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddExternalSemaphoresWaitNode_v11020', 400)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExternalSemaphoresWaitNodeGetParams_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExternalSemaphoresWaitNodeGetParams_v11020', 401)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExternalSemaphoresWaitNodeSetParams_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExternalSemaphoresWaitNodeSetParams_v11020', 402)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecExternalSemaphoresSignalNodeSetParams_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecExternalSemaphoresSignalNodeSetParams_v11020', 403)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecExternalSemaphoresWaitNodeSetParams_v11020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecExternalSemaphoresWaitNodeSetParams_v11020', 404)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceFlushGPUDirectRDMAWrites_v11030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceFlushGPUDirectRDMAWrites_v11030', 405)
CUPTI_RUNTIME_TRACE_CBID_cudaGetDriverEntryPoint_v11030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetDriverEntryPoint_v11030', 406)
CUPTI_RUNTIME_TRACE_CBID_cudaGetDriverEntryPoint_ptsz_v11030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetDriverEntryPoint_ptsz_v11030', 407)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphDebugDotPrint_v11030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphDebugDotPrint_v11030', 408)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetCaptureInfo_v2_v11030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetCaptureInfo_v2_v11030', 409)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetCaptureInfo_v2_ptsz_v11030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetCaptureInfo_v2_ptsz_v11030', 410)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamUpdateCaptureDependencies_v11030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamUpdateCaptureDependencies_v11030', 411)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamUpdateCaptureDependencies_ptsz_v11030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamUpdateCaptureDependencies_ptsz_v11030', 412)
CUPTI_RUNTIME_TRACE_CBID_cudaUserObjectCreate_v11030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaUserObjectCreate_v11030', 413)
CUPTI_RUNTIME_TRACE_CBID_cudaUserObjectRetain_v11030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaUserObjectRetain_v11030', 414)
CUPTI_RUNTIME_TRACE_CBID_cudaUserObjectRelease_v11030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaUserObjectRelease_v11030', 415)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphRetainUserObject_v11030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphRetainUserObject_v11030', 416)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphReleaseUserObject_v11030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphReleaseUserObject_v11030', 417)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphInstantiateWithFlags_v11040 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphInstantiateWithFlags_v11040', 418)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddMemAllocNode_v11040 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddMemAllocNode_v11040', 419)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemAllocNodeGetParams_v11040 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemAllocNodeGetParams_v11040', 420)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddMemFreeNode_v11040 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddMemFreeNode_v11040', 421)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemFreeNodeGetParams_v11040 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphMemFreeNodeGetParams_v11040', 422)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGraphMemTrim_v11040 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGraphMemTrim_v11040', 423)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetGraphMemAttribute_v11040 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceGetGraphMemAttribute_v11040', 424)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceSetGraphMemAttribute_v11040 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceSetGraphMemAttribute_v11040', 425)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeSetEnabled_v11060 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeSetEnabled_v11060', 426)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeGetEnabled_v11060 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeGetEnabled_v11060', 427)
CUPTI_RUNTIME_TRACE_CBID_cudaArrayGetMemoryRequirements_v11060 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaArrayGetMemoryRequirements_v11060', 428)
CUPTI_RUNTIME_TRACE_CBID_cudaMipmappedArrayGetMemoryRequirements_v11060 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMipmappedArrayGetMemoryRequirements_v11060', 429)
CUPTI_RUNTIME_TRACE_CBID_cudaLaunchKernelExC_v11060 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaLaunchKernelExC_v11060', 430)
CUPTI_RUNTIME_TRACE_CBID_cudaLaunchKernelExC_ptsz_v11060 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaLaunchKernelExC_ptsz_v11060', 431)
CUPTI_RUNTIME_TRACE_CBID_cudaOccupancyMaxPotentialClusterSize_v11070 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaOccupancyMaxPotentialClusterSize_v11070', 432)
CUPTI_RUNTIME_TRACE_CBID_cudaOccupancyMaxActiveClusters_v11070 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaOccupancyMaxActiveClusters_v11070', 433)
CUPTI_RUNTIME_TRACE_CBID_cudaCreateTextureObject_v2_v11080 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaCreateTextureObject_v2_v11080', 434)
CUPTI_RUNTIME_TRACE_CBID_cudaGetTextureObjectTextureDesc_v2_v11080 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetTextureObjectTextureDesc_v2_v11080', 435)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphInstantiateWithParams_v12000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphInstantiateWithParams_v12000', 436)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphInstantiateWithParams_ptsz_v12000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphInstantiateWithParams_ptsz_v12000', 437)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecGetFlags_v12000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecGetFlags_v12000', 438)
CUPTI_RUNTIME_TRACE_CBID_cudaGetKernel_v12000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetKernel_v12000', 439)
CUPTI_RUNTIME_TRACE_CBID_cudaGetDeviceProperties_v2_v12000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetDeviceProperties_v2_v12000', 440)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetId_v12000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetId_v12000', 441)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetId_ptsz_v12000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetId_ptsz_v12000', 442)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphInstantiate_v12000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphInstantiate_v12000', 443)
CUPTI_RUNTIME_TRACE_CBID_cudaInitDevice_v12000 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaInitDevice_v12000', 444)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddNode_v12020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddNode_v12020', 445)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeSetParams_v12020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeSetParams_v12020', 446)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecNodeSetParams_v12020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphExecNodeSetParams_v12020', 447)
CUPTI_RUNTIME_TRACE_CBID_cudaMemAdvise_v2_v12020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemAdvise_v2_v12020', 448)
CUPTI_RUNTIME_TRACE_CBID_cudaMemPrefetchAsync_v2_v12020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemPrefetchAsync_v2_v12020', 449)
CUPTI_RUNTIME_TRACE_CBID_cudaMemPrefetchAsync_v2_ptsz_v12020 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemPrefetchAsync_v2_ptsz_v12020', 450)
CUPTI_RUNTIME_TRACE_CBID_cudaFuncGetName_v12030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaFuncGetName_v12030', 451)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamBeginCaptureToGraph_v12030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamBeginCaptureToGraph_v12030', 452)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamBeginCaptureToGraph_ptsz_v12030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamBeginCaptureToGraph_ptsz_v12030', 453)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphConditionalHandleCreate_v12030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphConditionalHandleCreate_v12030', 454)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphGetEdges_v2_v12030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphGetEdges_v2_v12030', 455)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeGetDependencies_v2_v12030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeGetDependencies_v2_v12030', 456)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeGetDependentNodes_v2_v12030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphNodeGetDependentNodes_v2_v12030', 457)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddDependencies_v2_v12030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddDependencies_v2_v12030', 458)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphRemoveDependencies_v2_v12030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphRemoveDependencies_v2_v12030', 459)
CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddNode_v2_v12030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGraphAddNode_v2_v12030', 460)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetCaptureInfo_v3_v12030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetCaptureInfo_v3_v12030', 461)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetCaptureInfo_v3_ptsz_v12030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetCaptureInfo_v3_ptsz_v12030', 462)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamUpdateCaptureDependencies_v2_v12030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamUpdateCaptureDependencies_v2_v12030', 463)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamUpdateCaptureDependencies_v2_ptsz_v12030 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamUpdateCaptureDependencies_v2_ptsz_v12030', 464)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceRegisterAsyncNotification_v12040 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceRegisterAsyncNotification_v12040', 465)
CUPTI_RUNTIME_TRACE_CBID_cudaDeviceUnregisterAsyncNotification_v12040 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaDeviceUnregisterAsyncNotification_v12040', 466)
CUPTI_RUNTIME_TRACE_CBID_cudaFuncGetParamInfo_v12040 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaFuncGetParamInfo_v12040', 467)
CUPTI_RUNTIME_TRACE_CBID_cudaGetDriverEntryPointByVersion_v12050 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetDriverEntryPointByVersion_v12050', 468)
CUPTI_RUNTIME_TRACE_CBID_cudaGetDriverEntryPointByVersion_ptsz_v12050 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaGetDriverEntryPointByVersion_ptsz_v12050', 469)
CUPTI_RUNTIME_TRACE_CBID_cuda470_v12060 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cuda470_v12060', 470)
CUPTI_RUNTIME_TRACE_CBID_cuda471_v12060 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cuda471_v12060', 471)
CUPTI_RUNTIME_TRACE_CBID_cuda472_v12060 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cuda472_v12060', 472)
CUPTI_RUNTIME_TRACE_CBID_cuda473_v12060 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cuda473_v12060', 473)
CUPTI_RUNTIME_TRACE_CBID_cuda474_v12060 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cuda474_v12060', 474)
CUPTI_RUNTIME_TRACE_CBID_cuda475_v12060 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cuda475_v12060', 475)
CUPTI_RUNTIME_TRACE_CBID_cuda476_v12060 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cuda476_v12060', 476)
CUPTI_RUNTIME_TRACE_CBID_cuda477_v12060 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cuda477_v12060', 477)
CUPTI_RUNTIME_TRACE_CBID_cuda478_v12060 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cuda478_v12060', 478)
CUPTI_RUNTIME_TRACE_CBID_cuda479_v12060 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cuda479_v12060', 479)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetDevice_v12080 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetDevice_v12080', 480)
CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetDevice_ptsz_v12080 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaStreamGetDevice_ptsz_v12080', 481)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyBatchAsync_v12080 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyBatchAsync_v12080', 482)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyBatchAsync_ptsz_v12080 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpyBatchAsync_ptsz_v12080', 483)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3DBatchAsync_v12080 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3DBatchAsync_v12080', 484)
CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3DBatchAsync_ptsz_v12080 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaMemcpy3DBatchAsync_ptsz_v12080', 485)
CUPTI_RUNTIME_TRACE_CBID_cudaEventElapsedTime_v2_v12080 = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_cudaEventElapsedTime_v2_v12080', 486)
CUPTI_RUNTIME_TRACE_CBID_SIZE = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_SIZE', 487)
CUPTI_RUNTIME_TRACE_CBID_FORCE_INT = enum_CUpti_runtime_api_trace_cbid_enum.define('CUPTI_RUNTIME_TRACE_CBID_FORCE_INT', 2147483647)

CUpti_runtime_api_trace_cbid: TypeAlias = enum_CUpti_runtime_api_trace_cbid_enum
class CUpti_ProfilerRange(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_Range_INVALID = CUpti_ProfilerRange.define('CUPTI_Range_INVALID', 0)
CUPTI_AutoRange = CUpti_ProfilerRange.define('CUPTI_AutoRange', 1)
CUPTI_UserRange = CUpti_ProfilerRange.define('CUPTI_UserRange', 2)
CUPTI_Range_COUNT = CUpti_ProfilerRange.define('CUPTI_Range_COUNT', 3)

class CUpti_ProfilerReplayMode(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_Replay_INVALID = CUpti_ProfilerReplayMode.define('CUPTI_Replay_INVALID', 0)
CUPTI_ApplicationReplay = CUpti_ProfilerReplayMode.define('CUPTI_ApplicationReplay', 1)
CUPTI_KernelReplay = CUpti_ProfilerReplayMode.define('CUPTI_KernelReplay', 2)
CUPTI_UserReplay = CUpti_ProfilerReplayMode.define('CUPTI_UserReplay', 3)
CUPTI_Replay_COUNT = CUpti_ProfilerReplayMode.define('CUPTI_Replay_COUNT', 4)

@c.record
class struct_CUpti_Profiler_Initialize_Params(c.Struct):
  SIZE = 16
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
CUpti_Profiler_Initialize_Params: TypeAlias = struct_CUpti_Profiler_Initialize_Params
@c.record
class struct_CUpti_Profiler_DeInitialize_Params(c.Struct):
  SIZE = 16
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
CUpti_Profiler_DeInitialize_Params: TypeAlias = struct_CUpti_Profiler_DeInitialize_Params
@dll.bind
def cuptiProfilerInitialize(pParams:c.POINTER[CUpti_Profiler_Initialize_Params]) -> CUptiResult: ...
@dll.bind
def cuptiProfilerDeInitialize(pParams:c.POINTER[CUpti_Profiler_DeInitialize_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_CounterDataImageOptions(c.Struct):
  SIZE = 48
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pCounterDataPrefix: Annotated[c.POINTER[uint8_t], 16]
  counterDataPrefixSize: Annotated[size_t, 24]
  maxNumRanges: Annotated[uint32_t, 32]
  maxNumRangeTreeNodes: Annotated[uint32_t, 36]
  maxRangeNameLength: Annotated[uint32_t, 40]
CUpti_Profiler_CounterDataImageOptions: TypeAlias = struct_CUpti_Profiler_CounterDataImageOptions
@c.record
class struct_CUpti_Profiler_CounterDataImage_CalculateSize_Params(c.Struct):
  SIZE = 40
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  sizeofCounterDataImageOptions: Annotated[size_t, 16]
  pOptions: Annotated[c.POINTER[CUpti_Profiler_CounterDataImageOptions], 24]
  counterDataImageSize: Annotated[size_t, 32]
CUpti_Profiler_CounterDataImage_CalculateSize_Params: TypeAlias = struct_CUpti_Profiler_CounterDataImage_CalculateSize_Params
@c.record
class struct_CUpti_Profiler_CounterDataImage_Initialize_Params(c.Struct):
  SIZE = 48
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  sizeofCounterDataImageOptions: Annotated[size_t, 16]
  pOptions: Annotated[c.POINTER[CUpti_Profiler_CounterDataImageOptions], 24]
  counterDataImageSize: Annotated[size_t, 32]
  pCounterDataImage: Annotated[c.POINTER[uint8_t], 40]
CUpti_Profiler_CounterDataImage_Initialize_Params: TypeAlias = struct_CUpti_Profiler_CounterDataImage_Initialize_Params
@dll.bind
def cuptiProfilerCounterDataImageCalculateSize(pParams:c.POINTER[CUpti_Profiler_CounterDataImage_CalculateSize_Params]) -> CUptiResult: ...
@dll.bind
def cuptiProfilerCounterDataImageInitialize(pParams:c.POINTER[CUpti_Profiler_CounterDataImage_Initialize_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_CounterDataImage_CalculateScratchBufferSize_Params(c.Struct):
  SIZE = 40
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  counterDataImageSize: Annotated[size_t, 16]
  pCounterDataImage: Annotated[c.POINTER[uint8_t], 24]
  counterDataScratchBufferSize: Annotated[size_t, 32]
CUpti_Profiler_CounterDataImage_CalculateScratchBufferSize_Params: TypeAlias = struct_CUpti_Profiler_CounterDataImage_CalculateScratchBufferSize_Params
@c.record
class struct_CUpti_Profiler_CounterDataImage_InitializeScratchBuffer_Params(c.Struct):
  SIZE = 48
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  counterDataImageSize: Annotated[size_t, 16]
  pCounterDataImage: Annotated[c.POINTER[uint8_t], 24]
  counterDataScratchBufferSize: Annotated[size_t, 32]
  pCounterDataScratchBuffer: Annotated[c.POINTER[uint8_t], 40]
CUpti_Profiler_CounterDataImage_InitializeScratchBuffer_Params: TypeAlias = struct_CUpti_Profiler_CounterDataImage_InitializeScratchBuffer_Params
@dll.bind
def cuptiProfilerCounterDataImageCalculateScratchBufferSize(pParams:c.POINTER[CUpti_Profiler_CounterDataImage_CalculateScratchBufferSize_Params]) -> CUptiResult: ...
@dll.bind
def cuptiProfilerCounterDataImageInitializeScratchBuffer(pParams:c.POINTER[CUpti_Profiler_CounterDataImage_InitializeScratchBuffer_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_BeginSession_Params(c.Struct):
  SIZE = 96
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  ctx: Annotated[CUcontext, 16]
  counterDataImageSize: Annotated[size_t, 24]
  pCounterDataImage: Annotated[c.POINTER[uint8_t], 32]
  counterDataScratchBufferSize: Annotated[size_t, 40]
  pCounterDataScratchBuffer: Annotated[c.POINTER[uint8_t], 48]
  bDumpCounterDataInFile: Annotated[uint8_t, 56]
  pCounterDataFilePath: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 64]
  range: Annotated[CUpti_ProfilerRange, 72]
  replayMode: Annotated[CUpti_ProfilerReplayMode, 76]
  maxRangesPerPass: Annotated[size_t, 80]
  maxLaunchesPerPass: Annotated[size_t, 88]
CUpti_Profiler_BeginSession_Params: TypeAlias = struct_CUpti_Profiler_BeginSession_Params
@c.record
class struct_CUpti_Profiler_EndSession_Params(c.Struct):
  SIZE = 24
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  ctx: Annotated[CUcontext, 16]
CUpti_Profiler_EndSession_Params: TypeAlias = struct_CUpti_Profiler_EndSession_Params
@dll.bind
def cuptiProfilerBeginSession(pParams:c.POINTER[CUpti_Profiler_BeginSession_Params]) -> CUptiResult: ...
@dll.bind
def cuptiProfilerEndSession(pParams:c.POINTER[CUpti_Profiler_EndSession_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_SetConfig_Params(c.Struct):
  SIZE = 64
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  ctx: Annotated[CUcontext, 16]
  pConfig: Annotated[c.POINTER[uint8_t], 24]
  configSize: Annotated[size_t, 32]
  minNestingLevel: Annotated[uint16_t, 40]
  numNestingLevels: Annotated[uint16_t, 42]
  passIndex: Annotated[size_t, 48]
  targetNestingLevel: Annotated[uint16_t, 56]
CUpti_Profiler_SetConfig_Params: TypeAlias = struct_CUpti_Profiler_SetConfig_Params
@c.record
class struct_CUpti_Profiler_UnsetConfig_Params(c.Struct):
  SIZE = 24
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  ctx: Annotated[CUcontext, 16]
CUpti_Profiler_UnsetConfig_Params: TypeAlias = struct_CUpti_Profiler_UnsetConfig_Params
@dll.bind
def cuptiProfilerSetConfig(pParams:c.POINTER[CUpti_Profiler_SetConfig_Params]) -> CUptiResult: ...
@dll.bind
def cuptiProfilerUnsetConfig(pParams:c.POINTER[CUpti_Profiler_UnsetConfig_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_BeginPass_Params(c.Struct):
  SIZE = 24
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  ctx: Annotated[CUcontext, 16]
CUpti_Profiler_BeginPass_Params: TypeAlias = struct_CUpti_Profiler_BeginPass_Params
@c.record
class struct_CUpti_Profiler_EndPass_Params(c.Struct):
  SIZE = 48
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  ctx: Annotated[CUcontext, 16]
  targetNestingLevel: Annotated[uint16_t, 24]
  passIndex: Annotated[size_t, 32]
  allPassesSubmitted: Annotated[uint8_t, 40]
CUpti_Profiler_EndPass_Params: TypeAlias = struct_CUpti_Profiler_EndPass_Params
@dll.bind
def cuptiProfilerBeginPass(pParams:c.POINTER[CUpti_Profiler_BeginPass_Params]) -> CUptiResult: ...
@dll.bind
def cuptiProfilerEndPass(pParams:c.POINTER[CUpti_Profiler_EndPass_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_EnableProfiling_Params(c.Struct):
  SIZE = 24
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  ctx: Annotated[CUcontext, 16]
CUpti_Profiler_EnableProfiling_Params: TypeAlias = struct_CUpti_Profiler_EnableProfiling_Params
@c.record
class struct_CUpti_Profiler_DisableProfiling_Params(c.Struct):
  SIZE = 24
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  ctx: Annotated[CUcontext, 16]
CUpti_Profiler_DisableProfiling_Params: TypeAlias = struct_CUpti_Profiler_DisableProfiling_Params
@dll.bind
def cuptiProfilerEnableProfiling(pParams:c.POINTER[CUpti_Profiler_EnableProfiling_Params]) -> CUptiResult: ...
@dll.bind
def cuptiProfilerDisableProfiling(pParams:c.POINTER[CUpti_Profiler_DisableProfiling_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_IsPassCollected_Params(c.Struct):
  SIZE = 48
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  ctx: Annotated[CUcontext, 16]
  numRangesDropped: Annotated[size_t, 24]
  numTraceBytesDropped: Annotated[size_t, 32]
  onePassCollected: Annotated[uint8_t, 40]
  allPassesCollected: Annotated[uint8_t, 41]
CUpti_Profiler_IsPassCollected_Params: TypeAlias = struct_CUpti_Profiler_IsPassCollected_Params
@dll.bind
def cuptiProfilerIsPassCollected(pParams:c.POINTER[CUpti_Profiler_IsPassCollected_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_FlushCounterData_Params(c.Struct):
  SIZE = 40
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  ctx: Annotated[CUcontext, 16]
  numRangesDropped: Annotated[size_t, 24]
  numTraceBytesDropped: Annotated[size_t, 32]
CUpti_Profiler_FlushCounterData_Params: TypeAlias = struct_CUpti_Profiler_FlushCounterData_Params
@dll.bind
def cuptiProfilerFlushCounterData(pParams:c.POINTER[CUpti_Profiler_FlushCounterData_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_PushRange_Params(c.Struct):
  SIZE = 40
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  ctx: Annotated[CUcontext, 16]
  pRangeName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 24]
  rangeNameLength: Annotated[size_t, 32]
CUpti_Profiler_PushRange_Params: TypeAlias = struct_CUpti_Profiler_PushRange_Params
@c.record
class struct_CUpti_Profiler_PopRange_Params(c.Struct):
  SIZE = 24
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  ctx: Annotated[CUcontext, 16]
CUpti_Profiler_PopRange_Params: TypeAlias = struct_CUpti_Profiler_PopRange_Params
@dll.bind
def cuptiProfilerPushRange(pParams:c.POINTER[CUpti_Profiler_PushRange_Params]) -> CUptiResult: ...
@dll.bind
def cuptiProfilerPopRange(pParams:c.POINTER[CUpti_Profiler_PopRange_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_GetCounterAvailability_Params(c.Struct):
  SIZE = 40
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  ctx: Annotated[CUcontext, 16]
  counterAvailabilityImageSize: Annotated[size_t, 24]
  pCounterAvailabilityImage: Annotated[c.POINTER[uint8_t], 32]
CUpti_Profiler_GetCounterAvailability_Params: TypeAlias = struct_CUpti_Profiler_GetCounterAvailability_Params
@dll.bind
def cuptiProfilerGetCounterAvailability(pParams:c.POINTER[CUpti_Profiler_GetCounterAvailability_Params]) -> CUptiResult: ...
class CUpti_Profiler_Support_Level(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_PROFILER_CONFIGURATION_UNKNOWN = CUpti_Profiler_Support_Level.define('CUPTI_PROFILER_CONFIGURATION_UNKNOWN', 0)
CUPTI_PROFILER_CONFIGURATION_UNSUPPORTED = CUpti_Profiler_Support_Level.define('CUPTI_PROFILER_CONFIGURATION_UNSUPPORTED', 1)
CUPTI_PROFILER_CONFIGURATION_DISABLED = CUpti_Profiler_Support_Level.define('CUPTI_PROFILER_CONFIGURATION_DISABLED', 2)
CUPTI_PROFILER_CONFIGURATION_SUPPORTED = CUpti_Profiler_Support_Level.define('CUPTI_PROFILER_CONFIGURATION_SUPPORTED', 3)

class CUpti_Profiler_API(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_PROFILER_RANGE_PROFILING = CUpti_Profiler_API.define('CUPTI_PROFILER_RANGE_PROFILING', 0)
CUPTI_PROFILER_PC_SAMPLING = CUpti_Profiler_API.define('CUPTI_PROFILER_PC_SAMPLING', 1)
CUPTI_PROFILER_SASS_METRICS = CUpti_Profiler_API.define('CUPTI_PROFILER_SASS_METRICS', 2)
CUPTI_PROFILER_PM_SAMPLING = CUpti_Profiler_API.define('CUPTI_PROFILER_PM_SAMPLING', 3)
CUPTI_PROFILER_UNKNOWN = CUpti_Profiler_API.define('CUPTI_PROFILER_UNKNOWN', 4)

@c.record
class CUpti_Profiler_DeviceSupported_Params(c.Struct):
  SIZE = 56
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  cuDevice: Annotated[CUdevice, 16]
  isSupported: Annotated[CUpti_Profiler_Support_Level, 20]
  architecture: Annotated[CUpti_Profiler_Support_Level, 24]
  sli: Annotated[CUpti_Profiler_Support_Level, 28]
  vGpu: Annotated[CUpti_Profiler_Support_Level, 32]
  confidentialCompute: Annotated[CUpti_Profiler_Support_Level, 36]
  cmp: Annotated[CUpti_Profiler_Support_Level, 40]
  wsl: Annotated[CUpti_Profiler_Support_Level, 44]
  api: Annotated[CUpti_Profiler_API, 48]
@dll.bind
def cuptiProfilerDeviceSupported(pParams:c.POINTER[CUpti_Profiler_DeviceSupported_Params]) -> CUptiResult: ...
class enum_CUpti_MetricType(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_METRIC_TYPE_COUNTER = enum_CUpti_MetricType.define('CUPTI_METRIC_TYPE_COUNTER', 0)
CUPTI_METRIC_TYPE_RATIO = enum_CUpti_MetricType.define('CUPTI_METRIC_TYPE_RATIO', 1)
CUPTI_METRIC_TYPE_THROUGHPUT = enum_CUpti_MetricType.define('CUPTI_METRIC_TYPE_THROUGHPUT', 2)
CUPTI_METRIC_TYPE__COUNT = enum_CUpti_MetricType.define('CUPTI_METRIC_TYPE__COUNT', 3)

CUpti_MetricType: TypeAlias = enum_CUpti_MetricType
class enum_CUpti_ProfilerType(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_PROFILER_TYPE_RANGE_PROFILER = enum_CUpti_ProfilerType.define('CUPTI_PROFILER_TYPE_RANGE_PROFILER', 0)
CUPTI_PROFILER_TYPE_PM_SAMPLING = enum_CUpti_ProfilerType.define('CUPTI_PROFILER_TYPE_PM_SAMPLING', 1)
CUPTI_PROFILER_TYPE_PROFILER_INVALID = enum_CUpti_ProfilerType.define('CUPTI_PROFILER_TYPE_PROFILER_INVALID', 2)

CUpti_ProfilerType: TypeAlias = enum_CUpti_ProfilerType
class struct_CUpti_Profiler_Host_Object(ctypes.Structure): pass
CUpti_Profiler_Host_Object: TypeAlias = struct_CUpti_Profiler_Host_Object
@c.record
class struct_CUpti_Profiler_Host_Initialize_Params(c.Struct):
  SIZE = 48
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  profilerType: Annotated[CUpti_ProfilerType, 16]
  pChipName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 24]
  pCounterAvailabilityImage: Annotated[c.POINTER[uint8_t], 32]
  pHostObject: Annotated[c.POINTER[CUpti_Profiler_Host_Object], 40]
CUpti_Profiler_Host_Initialize_Params: TypeAlias = struct_CUpti_Profiler_Host_Initialize_Params
@dll.bind
def cuptiProfilerHostInitialize(pParams:c.POINTER[CUpti_Profiler_Host_Initialize_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_Host_Deinitialize_Params(c.Struct):
  SIZE = 24
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pHostObject: Annotated[c.POINTER[struct_CUpti_Profiler_Host_Object], 16]
CUpti_Profiler_Host_Deinitialize_Params: TypeAlias = struct_CUpti_Profiler_Host_Deinitialize_Params
@dll.bind
def cuptiProfilerHostDeinitialize(pParams:c.POINTER[CUpti_Profiler_Host_Deinitialize_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_Host_GetSupportedChips_Params(c.Struct):
  SIZE = 32
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  numChips: Annotated[size_t, 16]
  ppChipNames: Annotated[c.POINTER[c.POINTER[Annotated[bytes, ctypes.c_char]]], 24]
CUpti_Profiler_Host_GetSupportedChips_Params: TypeAlias = struct_CUpti_Profiler_Host_GetSupportedChips_Params
@dll.bind
def cuptiProfilerHostGetSupportedChips(pParams:c.POINTER[CUpti_Profiler_Host_GetSupportedChips_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_Host_GetBaseMetrics_Params(c.Struct):
  SIZE = 48
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pHostObject: Annotated[c.POINTER[struct_CUpti_Profiler_Host_Object], 16]
  metricType: Annotated[CUpti_MetricType, 24]
  ppMetricNames: Annotated[c.POINTER[c.POINTER[Annotated[bytes, ctypes.c_char]]], 32]
  numMetrics: Annotated[size_t, 40]
CUpti_Profiler_Host_GetBaseMetrics_Params: TypeAlias = struct_CUpti_Profiler_Host_GetBaseMetrics_Params
@dll.bind
def cuptiProfilerHostGetBaseMetrics(pParams:c.POINTER[CUpti_Profiler_Host_GetBaseMetrics_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_Host_GetSubMetrics_Params(c.Struct):
  SIZE = 56
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pHostObject: Annotated[c.POINTER[CUpti_Profiler_Host_Object], 16]
  metricType: Annotated[CUpti_MetricType, 24]
  pMetricName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 32]
  numOfSubmetrics: Annotated[size_t, 40]
  ppSubMetrics: Annotated[c.POINTER[c.POINTER[Annotated[bytes, ctypes.c_char]]], 48]
CUpti_Profiler_Host_GetSubMetrics_Params: TypeAlias = struct_CUpti_Profiler_Host_GetSubMetrics_Params
@dll.bind
def cuptiProfilerHostGetSubMetrics(pParams:c.POINTER[CUpti_Profiler_Host_GetSubMetrics_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_Host_GetMetricProperties_Params(c.Struct):
  SIZE = 64
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pHostObject: Annotated[c.POINTER[CUpti_Profiler_Host_Object], 16]
  pMetricName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 24]
  pDescription: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 32]
  pHwUnit: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 40]
  pDimUnit: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 48]
  metricType: Annotated[CUpti_MetricType, 56]
CUpti_Profiler_Host_GetMetricProperties_Params: TypeAlias = struct_CUpti_Profiler_Host_GetMetricProperties_Params
@dll.bind
def cuptiProfilerHostGetMetricProperties(pParams:c.POINTER[CUpti_Profiler_Host_GetMetricProperties_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_Host_GetRangeName_Params(c.Struct):
  SIZE = 56
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pCounterDataImage: Annotated[c.POINTER[uint8_t], 16]
  counterDataImageSize: Annotated[size_t, 24]
  rangeIndex: Annotated[size_t, 32]
  delimiter: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 40]
  pRangeName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 48]
CUpti_Profiler_Host_GetRangeName_Params: TypeAlias = struct_CUpti_Profiler_Host_GetRangeName_Params
@dll.bind
def cuptiProfilerHostGetRangeName(pParams:c.POINTER[CUpti_Profiler_Host_GetRangeName_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_Host_EvaluateToGpuValues_Params(c.Struct):
  SIZE = 72
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pHostObject: Annotated[c.POINTER[CUpti_Profiler_Host_Object], 16]
  pCounterDataImage: Annotated[c.POINTER[uint8_t], 24]
  counterDataImageSize: Annotated[size_t, 32]
  rangeIndex: Annotated[size_t, 40]
  ppMetricNames: Annotated[c.POINTER[c.POINTER[Annotated[bytes, ctypes.c_char]]], 48]
  numMetrics: Annotated[size_t, 56]
  pMetricValues: Annotated[c.POINTER[Annotated[float, ctypes.c_double]], 64]
CUpti_Profiler_Host_EvaluateToGpuValues_Params: TypeAlias = struct_CUpti_Profiler_Host_EvaluateToGpuValues_Params
@dll.bind
def cuptiProfilerHostEvaluateToGpuValues(pParams:c.POINTER[CUpti_Profiler_Host_EvaluateToGpuValues_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_Host_ConfigAddMetrics_Params(c.Struct):
  SIZE = 40
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pHostObject: Annotated[c.POINTER[struct_CUpti_Profiler_Host_Object], 16]
  ppMetricNames: Annotated[c.POINTER[c.POINTER[Annotated[bytes, ctypes.c_char]]], 24]
  numMetrics: Annotated[size_t, 32]
CUpti_Profiler_Host_ConfigAddMetrics_Params: TypeAlias = struct_CUpti_Profiler_Host_ConfigAddMetrics_Params
@dll.bind
def cuptiProfilerHostConfigAddMetrics(pParams:c.POINTER[CUpti_Profiler_Host_ConfigAddMetrics_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_Host_GetConfigImageSize_Params(c.Struct):
  SIZE = 32
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pHostObject: Annotated[c.POINTER[CUpti_Profiler_Host_Object], 16]
  configImageSize: Annotated[size_t, 24]
CUpti_Profiler_Host_GetConfigImageSize_Params: TypeAlias = struct_CUpti_Profiler_Host_GetConfigImageSize_Params
@dll.bind
def cuptiProfilerHostGetConfigImageSize(pParams:c.POINTER[CUpti_Profiler_Host_GetConfigImageSize_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_Host_GetConfigImage_Params(c.Struct):
  SIZE = 40
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pHostObject: Annotated[c.POINTER[CUpti_Profiler_Host_Object], 16]
  configImageSize: Annotated[size_t, 24]
  pConfigImage: Annotated[c.POINTER[uint8_t], 32]
CUpti_Profiler_Host_GetConfigImage_Params: TypeAlias = struct_CUpti_Profiler_Host_GetConfigImage_Params
@dll.bind
def cuptiProfilerHostGetConfigImage(pParams:c.POINTER[CUpti_Profiler_Host_GetConfigImage_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_Host_GetNumOfPasses_Params(c.Struct):
  SIZE = 40
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  configImageSize: Annotated[size_t, 16]
  pConfigImage: Annotated[c.POINTER[uint8_t], 24]
  numOfPasses: Annotated[size_t, 32]
CUpti_Profiler_Host_GetNumOfPasses_Params: TypeAlias = struct_CUpti_Profiler_Host_GetNumOfPasses_Params
@dll.bind
def cuptiProfilerHostGetNumOfPasses(pParams:c.POINTER[CUpti_Profiler_Host_GetNumOfPasses_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_Profiler_Host_GetMaxNumHardwareMetricsPerPass_Params(c.Struct):
  SIZE = 48
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  profilerType: Annotated[CUpti_ProfilerType, 16]
  pChipName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 24]
  pCounterAvailabilityImage: Annotated[c.POINTER[uint8_t], 32]
  maxMetricsPerPass: Annotated[size_t, 40]
CUpti_Profiler_Host_GetMaxNumHardwareMetricsPerPass_Params: TypeAlias = struct_CUpti_Profiler_Host_GetMaxNumHardwareMetricsPerPass_Params
@dll.bind
def cuptiProfilerHostGetMaxNumHardwareMetricsPerPass(pParams:c.POINTER[CUpti_Profiler_Host_GetMaxNumHardwareMetricsPerPass_Params]) -> CUptiResult: ...
class struct_CUpti_PmSampling_Object(ctypes.Structure): pass
CUpti_PmSampling_Object: TypeAlias = struct_CUpti_PmSampling_Object
class enum_CUpti_PmSampling_TriggerMode(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_PM_SAMPLING_TRIGGER_MODE_GPU_SYSCLK_INTERVAL = enum_CUpti_PmSampling_TriggerMode.define('CUPTI_PM_SAMPLING_TRIGGER_MODE_GPU_SYSCLK_INTERVAL', 0)
CUPTI_PM_SAMPLING_TRIGGER_MODE_GPU_TIME_INTERVAL = enum_CUpti_PmSampling_TriggerMode.define('CUPTI_PM_SAMPLING_TRIGGER_MODE_GPU_TIME_INTERVAL', 1)
CUPTI_PM_SAMPLING_TRIGGER_MODE_COUNT = enum_CUpti_PmSampling_TriggerMode.define('CUPTI_PM_SAMPLING_TRIGGER_MODE_COUNT', 2)

CUpti_PmSampling_TriggerMode: TypeAlias = enum_CUpti_PmSampling_TriggerMode
class enum_CUpti_PmSampling_DecodeStopReason(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_PM_SAMPLING_DECODE_STOP_REASON_OTHER = enum_CUpti_PmSampling_DecodeStopReason.define('CUPTI_PM_SAMPLING_DECODE_STOP_REASON_OTHER', 0)
CUPTI_PM_SAMPLING_DECODE_STOP_REASON_COUNTER_DATA_FULL = enum_CUpti_PmSampling_DecodeStopReason.define('CUPTI_PM_SAMPLING_DECODE_STOP_REASON_COUNTER_DATA_FULL', 1)
CUPTI_PM_SAMPLING_DECODE_STOP_REASON_END_OF_RECORDS = enum_CUpti_PmSampling_DecodeStopReason.define('CUPTI_PM_SAMPLING_DECODE_STOP_REASON_END_OF_RECORDS', 2)
CUPTI_PM_SAMPLING_DECODE_STOP_REASON_COUNT = enum_CUpti_PmSampling_DecodeStopReason.define('CUPTI_PM_SAMPLING_DECODE_STOP_REASON_COUNT', 3)

CUpti_PmSampling_DecodeStopReason: TypeAlias = enum_CUpti_PmSampling_DecodeStopReason
class enum_CUpti_PmSampling_HardwareBuffer_AppendMode(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUPTI_PM_SAMPLING_HARDWARE_BUFFER_APPEND_MODE_KEEP_OLDEST = enum_CUpti_PmSampling_HardwareBuffer_AppendMode.define('CUPTI_PM_SAMPLING_HARDWARE_BUFFER_APPEND_MODE_KEEP_OLDEST', 0)
CUPTI_PM_SAMPLING_HARDWARE_BUFFER_APPEND_MODE_KEEP_LATEST = enum_CUpti_PmSampling_HardwareBuffer_AppendMode.define('CUPTI_PM_SAMPLING_HARDWARE_BUFFER_APPEND_MODE_KEEP_LATEST', 1)

CUpti_PmSampling_HardwareBuffer_AppendMode: TypeAlias = enum_CUpti_PmSampling_HardwareBuffer_AppendMode
@c.record
class struct_CUpti_PmSampling_SetConfig_Params(c.Struct):
  SIZE = 64
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pPmSamplingObject: Annotated[c.POINTER[CUpti_PmSampling_Object], 16]
  configSize: Annotated[size_t, 24]
  pConfig: Annotated[c.POINTER[uint8_t], 32]
  hardwareBufferSize: Annotated[size_t, 40]
  samplingInterval: Annotated[uint64_t, 48]
  triggerMode: Annotated[CUpti_PmSampling_TriggerMode, 56]
  hwBufferAppendMode: Annotated[CUpti_PmSampling_HardwareBuffer_AppendMode, 60]
CUpti_PmSampling_SetConfig_Params: TypeAlias = struct_CUpti_PmSampling_SetConfig_Params
@dll.bind
def cuptiPmSamplingSetConfig(pParams:c.POINTER[CUpti_PmSampling_SetConfig_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_PmSampling_Enable_Params(c.Struct):
  SIZE = 32
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  deviceIndex: Annotated[size_t, 16]
  pPmSamplingObject: Annotated[c.POINTER[CUpti_PmSampling_Object], 24]
CUpti_PmSampling_Enable_Params: TypeAlias = struct_CUpti_PmSampling_Enable_Params
@dll.bind
def cuptiPmSamplingEnable(pParams:c.POINTER[CUpti_PmSampling_Enable_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_PmSampling_Disable_Params(c.Struct):
  SIZE = 24
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pPmSamplingObject: Annotated[c.POINTER[CUpti_PmSampling_Object], 16]
CUpti_PmSampling_Disable_Params: TypeAlias = struct_CUpti_PmSampling_Disable_Params
@dll.bind
def cuptiPmSamplingDisable(pParams:c.POINTER[CUpti_PmSampling_Disable_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_PmSampling_Start_Params(c.Struct):
  SIZE = 24
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pPmSamplingObject: Annotated[c.POINTER[CUpti_PmSampling_Object], 16]
CUpti_PmSampling_Start_Params: TypeAlias = struct_CUpti_PmSampling_Start_Params
@dll.bind
def cuptiPmSamplingStart(pParams:c.POINTER[CUpti_PmSampling_Start_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_PmSampling_Stop_Params(c.Struct):
  SIZE = 24
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pPmSamplingObject: Annotated[c.POINTER[CUpti_PmSampling_Object], 16]
CUpti_PmSampling_Stop_Params: TypeAlias = struct_CUpti_PmSampling_Stop_Params
@dll.bind
def cuptiPmSamplingStop(pParams:c.POINTER[CUpti_PmSampling_Stop_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_PmSampling_DecodeData_Params(c.Struct):
  SIZE = 48
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pPmSamplingObject: Annotated[c.POINTER[CUpti_PmSampling_Object], 16]
  pCounterDataImage: Annotated[c.POINTER[uint8_t], 24]
  counterDataImageSize: Annotated[size_t, 32]
  decodeStopReason: Annotated[CUpti_PmSampling_DecodeStopReason, 40]
  overflow: Annotated[uint8_t, 44]
CUpti_PmSampling_DecodeData_Params: TypeAlias = struct_CUpti_PmSampling_DecodeData_Params
@dll.bind
def cuptiPmSamplingDecodeData(pParams:c.POINTER[CUpti_PmSampling_DecodeData_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_PmSampling_GetCounterAvailability_Params(c.Struct):
  SIZE = 40
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  deviceIndex: Annotated[size_t, 16]
  counterAvailabilityImageSize: Annotated[size_t, 24]
  pCounterAvailabilityImage: Annotated[c.POINTER[uint8_t], 32]
CUpti_PmSampling_GetCounterAvailability_Params: TypeAlias = struct_CUpti_PmSampling_GetCounterAvailability_Params
@dll.bind
def cuptiPmSamplingGetCounterAvailability(pParams:c.POINTER[CUpti_PmSampling_GetCounterAvailability_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_PmSampling_GetCounterDataSize_Params(c.Struct):
  SIZE = 56
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pPmSamplingObject: Annotated[c.POINTER[CUpti_PmSampling_Object], 16]
  pMetricNames: Annotated[c.POINTER[c.POINTER[Annotated[bytes, ctypes.c_char]]], 24]
  numMetrics: Annotated[size_t, 32]
  maxSamples: Annotated[uint32_t, 40]
  counterDataSize: Annotated[size_t, 48]
CUpti_PmSampling_GetCounterDataSize_Params: TypeAlias = struct_CUpti_PmSampling_GetCounterDataSize_Params
@dll.bind
def cuptiPmSamplingGetCounterDataSize(pParams:c.POINTER[CUpti_PmSampling_GetCounterDataSize_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_PmSampling_CounterDataImage_Initialize_Params(c.Struct):
  SIZE = 40
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pPmSamplingObject: Annotated[c.POINTER[CUpti_PmSampling_Object], 16]
  counterDataSize: Annotated[size_t, 24]
  pCounterData: Annotated[c.POINTER[uint8_t], 32]
CUpti_PmSampling_CounterDataImage_Initialize_Params: TypeAlias = struct_CUpti_PmSampling_CounterDataImage_Initialize_Params
@dll.bind
def cuptiPmSamplingCounterDataImageInitialize(pParams:c.POINTER[CUpti_PmSampling_CounterDataImage_Initialize_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_PmSampling_GetCounterDataInfo_Params(c.Struct):
  SIZE = 56
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pCounterDataImage: Annotated[c.POINTER[uint8_t], 16]
  counterDataImageSize: Annotated[size_t, 24]
  numTotalSamples: Annotated[size_t, 32]
  numPopulatedSamples: Annotated[size_t, 40]
  numCompletedSamples: Annotated[size_t, 48]
CUpti_PmSampling_GetCounterDataInfo_Params: TypeAlias = struct_CUpti_PmSampling_GetCounterDataInfo_Params
@dll.bind
def cuptiPmSamplingGetCounterDataInfo(pParams:c.POINTER[CUpti_PmSampling_GetCounterDataInfo_Params]) -> CUptiResult: ...
@c.record
class struct_CUpti_PmSampling_CounterData_GetSampleInfo_Params(c.Struct):
  SIZE = 64
  structSize: Annotated[size_t, 0]
  pPriv: Annotated[ctypes.c_void_p, 8]
  pPmSamplingObject: Annotated[c.POINTER[CUpti_PmSampling_Object], 16]
  pCounterDataImage: Annotated[c.POINTER[uint8_t], 24]
  counterDataImageSize: Annotated[size_t, 32]
  sampleIndex: Annotated[size_t, 40]
  startTimestamp: Annotated[uint64_t, 48]
  endTimestamp: Annotated[uint64_t, 56]
CUpti_PmSampling_CounterData_GetSampleInfo_Params: TypeAlias = struct_CUpti_PmSampling_CounterData_GetSampleInfo_Params
@dll.bind
def cuptiPmSamplingCounterDataGetSampleInfo(pParams:c.POINTER[CUpti_PmSampling_CounterData_GetSampleInfo_Params]) -> CUptiResult: ...
@c.record
class struct_cuGetErrorString_params_st(c.Struct):
  SIZE = 16
  error: Annotated[CUresult, 0]
  pStr: Annotated[c.POINTER[c.POINTER[Annotated[bytes, ctypes.c_char]]], 8]
class enum_cudaError_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUDA_SUCCESS = enum_cudaError_enum.define('CUDA_SUCCESS', 0)
CUDA_ERROR_INVALID_VALUE = enum_cudaError_enum.define('CUDA_ERROR_INVALID_VALUE', 1)
CUDA_ERROR_OUT_OF_MEMORY = enum_cudaError_enum.define('CUDA_ERROR_OUT_OF_MEMORY', 2)
CUDA_ERROR_NOT_INITIALIZED = enum_cudaError_enum.define('CUDA_ERROR_NOT_INITIALIZED', 3)
CUDA_ERROR_DEINITIALIZED = enum_cudaError_enum.define('CUDA_ERROR_DEINITIALIZED', 4)
CUDA_ERROR_PROFILER_DISABLED = enum_cudaError_enum.define('CUDA_ERROR_PROFILER_DISABLED', 5)
CUDA_ERROR_PROFILER_NOT_INITIALIZED = enum_cudaError_enum.define('CUDA_ERROR_PROFILER_NOT_INITIALIZED', 6)
CUDA_ERROR_PROFILER_ALREADY_STARTED = enum_cudaError_enum.define('CUDA_ERROR_PROFILER_ALREADY_STARTED', 7)
CUDA_ERROR_PROFILER_ALREADY_STOPPED = enum_cudaError_enum.define('CUDA_ERROR_PROFILER_ALREADY_STOPPED', 8)
CUDA_ERROR_STUB_LIBRARY = enum_cudaError_enum.define('CUDA_ERROR_STUB_LIBRARY', 34)
CUDA_ERROR_DEVICE_UNAVAILABLE = enum_cudaError_enum.define('CUDA_ERROR_DEVICE_UNAVAILABLE', 46)
CUDA_ERROR_NO_DEVICE = enum_cudaError_enum.define('CUDA_ERROR_NO_DEVICE', 100)
CUDA_ERROR_INVALID_DEVICE = enum_cudaError_enum.define('CUDA_ERROR_INVALID_DEVICE', 101)
CUDA_ERROR_DEVICE_NOT_LICENSED = enum_cudaError_enum.define('CUDA_ERROR_DEVICE_NOT_LICENSED', 102)
CUDA_ERROR_INVALID_IMAGE = enum_cudaError_enum.define('CUDA_ERROR_INVALID_IMAGE', 200)
CUDA_ERROR_INVALID_CONTEXT = enum_cudaError_enum.define('CUDA_ERROR_INVALID_CONTEXT', 201)
CUDA_ERROR_CONTEXT_ALREADY_CURRENT = enum_cudaError_enum.define('CUDA_ERROR_CONTEXT_ALREADY_CURRENT', 202)
CUDA_ERROR_MAP_FAILED = enum_cudaError_enum.define('CUDA_ERROR_MAP_FAILED', 205)
CUDA_ERROR_UNMAP_FAILED = enum_cudaError_enum.define('CUDA_ERROR_UNMAP_FAILED', 206)
CUDA_ERROR_ARRAY_IS_MAPPED = enum_cudaError_enum.define('CUDA_ERROR_ARRAY_IS_MAPPED', 207)
CUDA_ERROR_ALREADY_MAPPED = enum_cudaError_enum.define('CUDA_ERROR_ALREADY_MAPPED', 208)
CUDA_ERROR_NO_BINARY_FOR_GPU = enum_cudaError_enum.define('CUDA_ERROR_NO_BINARY_FOR_GPU', 209)
CUDA_ERROR_ALREADY_ACQUIRED = enum_cudaError_enum.define('CUDA_ERROR_ALREADY_ACQUIRED', 210)
CUDA_ERROR_NOT_MAPPED = enum_cudaError_enum.define('CUDA_ERROR_NOT_MAPPED', 211)
CUDA_ERROR_NOT_MAPPED_AS_ARRAY = enum_cudaError_enum.define('CUDA_ERROR_NOT_MAPPED_AS_ARRAY', 212)
CUDA_ERROR_NOT_MAPPED_AS_POINTER = enum_cudaError_enum.define('CUDA_ERROR_NOT_MAPPED_AS_POINTER', 213)
CUDA_ERROR_ECC_UNCORRECTABLE = enum_cudaError_enum.define('CUDA_ERROR_ECC_UNCORRECTABLE', 214)
CUDA_ERROR_UNSUPPORTED_LIMIT = enum_cudaError_enum.define('CUDA_ERROR_UNSUPPORTED_LIMIT', 215)
CUDA_ERROR_CONTEXT_ALREADY_IN_USE = enum_cudaError_enum.define('CUDA_ERROR_CONTEXT_ALREADY_IN_USE', 216)
CUDA_ERROR_PEER_ACCESS_UNSUPPORTED = enum_cudaError_enum.define('CUDA_ERROR_PEER_ACCESS_UNSUPPORTED', 217)
CUDA_ERROR_INVALID_PTX = enum_cudaError_enum.define('CUDA_ERROR_INVALID_PTX', 218)
CUDA_ERROR_INVALID_GRAPHICS_CONTEXT = enum_cudaError_enum.define('CUDA_ERROR_INVALID_GRAPHICS_CONTEXT', 219)
CUDA_ERROR_NVLINK_UNCORRECTABLE = enum_cudaError_enum.define('CUDA_ERROR_NVLINK_UNCORRECTABLE', 220)
CUDA_ERROR_JIT_COMPILER_NOT_FOUND = enum_cudaError_enum.define('CUDA_ERROR_JIT_COMPILER_NOT_FOUND', 221)
CUDA_ERROR_UNSUPPORTED_PTX_VERSION = enum_cudaError_enum.define('CUDA_ERROR_UNSUPPORTED_PTX_VERSION', 222)
CUDA_ERROR_JIT_COMPILATION_DISABLED = enum_cudaError_enum.define('CUDA_ERROR_JIT_COMPILATION_DISABLED', 223)
CUDA_ERROR_UNSUPPORTED_EXEC_AFFINITY = enum_cudaError_enum.define('CUDA_ERROR_UNSUPPORTED_EXEC_AFFINITY', 224)
CUDA_ERROR_UNSUPPORTED_DEVSIDE_SYNC = enum_cudaError_enum.define('CUDA_ERROR_UNSUPPORTED_DEVSIDE_SYNC', 225)
CUDA_ERROR_CONTAINED = enum_cudaError_enum.define('CUDA_ERROR_CONTAINED', 226)
CUDA_ERROR_INVALID_SOURCE = enum_cudaError_enum.define('CUDA_ERROR_INVALID_SOURCE', 300)
CUDA_ERROR_FILE_NOT_FOUND = enum_cudaError_enum.define('CUDA_ERROR_FILE_NOT_FOUND', 301)
CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND = enum_cudaError_enum.define('CUDA_ERROR_SHARED_OBJECT_SYMBOL_NOT_FOUND', 302)
CUDA_ERROR_SHARED_OBJECT_INIT_FAILED = enum_cudaError_enum.define('CUDA_ERROR_SHARED_OBJECT_INIT_FAILED', 303)
CUDA_ERROR_OPERATING_SYSTEM = enum_cudaError_enum.define('CUDA_ERROR_OPERATING_SYSTEM', 304)
CUDA_ERROR_INVALID_HANDLE = enum_cudaError_enum.define('CUDA_ERROR_INVALID_HANDLE', 400)
CUDA_ERROR_ILLEGAL_STATE = enum_cudaError_enum.define('CUDA_ERROR_ILLEGAL_STATE', 401)
CUDA_ERROR_LOSSY_QUERY = enum_cudaError_enum.define('CUDA_ERROR_LOSSY_QUERY', 402)
CUDA_ERROR_NOT_FOUND = enum_cudaError_enum.define('CUDA_ERROR_NOT_FOUND', 500)
CUDA_ERROR_NOT_READY = enum_cudaError_enum.define('CUDA_ERROR_NOT_READY', 600)
CUDA_ERROR_ILLEGAL_ADDRESS = enum_cudaError_enum.define('CUDA_ERROR_ILLEGAL_ADDRESS', 700)
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES = enum_cudaError_enum.define('CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES', 701)
CUDA_ERROR_LAUNCH_TIMEOUT = enum_cudaError_enum.define('CUDA_ERROR_LAUNCH_TIMEOUT', 702)
CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING = enum_cudaError_enum.define('CUDA_ERROR_LAUNCH_INCOMPATIBLE_TEXTURING', 703)
CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED = enum_cudaError_enum.define('CUDA_ERROR_PEER_ACCESS_ALREADY_ENABLED', 704)
CUDA_ERROR_PEER_ACCESS_NOT_ENABLED = enum_cudaError_enum.define('CUDA_ERROR_PEER_ACCESS_NOT_ENABLED', 705)
CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE = enum_cudaError_enum.define('CUDA_ERROR_PRIMARY_CONTEXT_ACTIVE', 708)
CUDA_ERROR_CONTEXT_IS_DESTROYED = enum_cudaError_enum.define('CUDA_ERROR_CONTEXT_IS_DESTROYED', 709)
CUDA_ERROR_ASSERT = enum_cudaError_enum.define('CUDA_ERROR_ASSERT', 710)
CUDA_ERROR_TOO_MANY_PEERS = enum_cudaError_enum.define('CUDA_ERROR_TOO_MANY_PEERS', 711)
CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED = enum_cudaError_enum.define('CUDA_ERROR_HOST_MEMORY_ALREADY_REGISTERED', 712)
CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED = enum_cudaError_enum.define('CUDA_ERROR_HOST_MEMORY_NOT_REGISTERED', 713)
CUDA_ERROR_HARDWARE_STACK_ERROR = enum_cudaError_enum.define('CUDA_ERROR_HARDWARE_STACK_ERROR', 714)
CUDA_ERROR_ILLEGAL_INSTRUCTION = enum_cudaError_enum.define('CUDA_ERROR_ILLEGAL_INSTRUCTION', 715)
CUDA_ERROR_MISALIGNED_ADDRESS = enum_cudaError_enum.define('CUDA_ERROR_MISALIGNED_ADDRESS', 716)
CUDA_ERROR_INVALID_ADDRESS_SPACE = enum_cudaError_enum.define('CUDA_ERROR_INVALID_ADDRESS_SPACE', 717)
CUDA_ERROR_INVALID_PC = enum_cudaError_enum.define('CUDA_ERROR_INVALID_PC', 718)
CUDA_ERROR_LAUNCH_FAILED = enum_cudaError_enum.define('CUDA_ERROR_LAUNCH_FAILED', 719)
CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE = enum_cudaError_enum.define('CUDA_ERROR_COOPERATIVE_LAUNCH_TOO_LARGE', 720)
CUDA_ERROR_TENSOR_MEMORY_LEAK = enum_cudaError_enum.define('CUDA_ERROR_TENSOR_MEMORY_LEAK', 721)
CUDA_ERROR_NOT_PERMITTED = enum_cudaError_enum.define('CUDA_ERROR_NOT_PERMITTED', 800)
CUDA_ERROR_NOT_SUPPORTED = enum_cudaError_enum.define('CUDA_ERROR_NOT_SUPPORTED', 801)
CUDA_ERROR_SYSTEM_NOT_READY = enum_cudaError_enum.define('CUDA_ERROR_SYSTEM_NOT_READY', 802)
CUDA_ERROR_SYSTEM_DRIVER_MISMATCH = enum_cudaError_enum.define('CUDA_ERROR_SYSTEM_DRIVER_MISMATCH', 803)
CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE = enum_cudaError_enum.define('CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE', 804)
CUDA_ERROR_MPS_CONNECTION_FAILED = enum_cudaError_enum.define('CUDA_ERROR_MPS_CONNECTION_FAILED', 805)
CUDA_ERROR_MPS_RPC_FAILURE = enum_cudaError_enum.define('CUDA_ERROR_MPS_RPC_FAILURE', 806)
CUDA_ERROR_MPS_SERVER_NOT_READY = enum_cudaError_enum.define('CUDA_ERROR_MPS_SERVER_NOT_READY', 807)
CUDA_ERROR_MPS_MAX_CLIENTS_REACHED = enum_cudaError_enum.define('CUDA_ERROR_MPS_MAX_CLIENTS_REACHED', 808)
CUDA_ERROR_MPS_MAX_CONNECTIONS_REACHED = enum_cudaError_enum.define('CUDA_ERROR_MPS_MAX_CONNECTIONS_REACHED', 809)
CUDA_ERROR_MPS_CLIENT_TERMINATED = enum_cudaError_enum.define('CUDA_ERROR_MPS_CLIENT_TERMINATED', 810)
CUDA_ERROR_CDP_NOT_SUPPORTED = enum_cudaError_enum.define('CUDA_ERROR_CDP_NOT_SUPPORTED', 811)
CUDA_ERROR_CDP_VERSION_MISMATCH = enum_cudaError_enum.define('CUDA_ERROR_CDP_VERSION_MISMATCH', 812)
CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED = enum_cudaError_enum.define('CUDA_ERROR_STREAM_CAPTURE_UNSUPPORTED', 900)
CUDA_ERROR_STREAM_CAPTURE_INVALIDATED = enum_cudaError_enum.define('CUDA_ERROR_STREAM_CAPTURE_INVALIDATED', 901)
CUDA_ERROR_STREAM_CAPTURE_MERGE = enum_cudaError_enum.define('CUDA_ERROR_STREAM_CAPTURE_MERGE', 902)
CUDA_ERROR_STREAM_CAPTURE_UNMATCHED = enum_cudaError_enum.define('CUDA_ERROR_STREAM_CAPTURE_UNMATCHED', 903)
CUDA_ERROR_STREAM_CAPTURE_UNJOINED = enum_cudaError_enum.define('CUDA_ERROR_STREAM_CAPTURE_UNJOINED', 904)
CUDA_ERROR_STREAM_CAPTURE_ISOLATION = enum_cudaError_enum.define('CUDA_ERROR_STREAM_CAPTURE_ISOLATION', 905)
CUDA_ERROR_STREAM_CAPTURE_IMPLICIT = enum_cudaError_enum.define('CUDA_ERROR_STREAM_CAPTURE_IMPLICIT', 906)
CUDA_ERROR_CAPTURED_EVENT = enum_cudaError_enum.define('CUDA_ERROR_CAPTURED_EVENT', 907)
CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD = enum_cudaError_enum.define('CUDA_ERROR_STREAM_CAPTURE_WRONG_THREAD', 908)
CUDA_ERROR_TIMEOUT = enum_cudaError_enum.define('CUDA_ERROR_TIMEOUT', 909)
CUDA_ERROR_GRAPH_EXEC_UPDATE_FAILURE = enum_cudaError_enum.define('CUDA_ERROR_GRAPH_EXEC_UPDATE_FAILURE', 910)
CUDA_ERROR_EXTERNAL_DEVICE = enum_cudaError_enum.define('CUDA_ERROR_EXTERNAL_DEVICE', 911)
CUDA_ERROR_INVALID_CLUSTER_SIZE = enum_cudaError_enum.define('CUDA_ERROR_INVALID_CLUSTER_SIZE', 912)
CUDA_ERROR_FUNCTION_NOT_LOADED = enum_cudaError_enum.define('CUDA_ERROR_FUNCTION_NOT_LOADED', 913)
CUDA_ERROR_INVALID_RESOURCE_TYPE = enum_cudaError_enum.define('CUDA_ERROR_INVALID_RESOURCE_TYPE', 914)
CUDA_ERROR_INVALID_RESOURCE_CONFIGURATION = enum_cudaError_enum.define('CUDA_ERROR_INVALID_RESOURCE_CONFIGURATION', 915)
CUDA_ERROR_KEY_ROTATION = enum_cudaError_enum.define('CUDA_ERROR_KEY_ROTATION', 916)
CUDA_ERROR_UNKNOWN = enum_cudaError_enum.define('CUDA_ERROR_UNKNOWN', 999)

CUresult: TypeAlias = enum_cudaError_enum
cuGetErrorString_params: TypeAlias = struct_cuGetErrorString_params_st
@c.record
class struct_cuGetErrorName_params_st(c.Struct):
  SIZE = 16
  error: Annotated[CUresult, 0]
  pStr: Annotated[c.POINTER[c.POINTER[Annotated[bytes, ctypes.c_char]]], 8]
cuGetErrorName_params: TypeAlias = struct_cuGetErrorName_params_st
@c.record
class struct_cuInit_params_st(c.Struct):
  SIZE = 4
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 0]
cuInit_params: TypeAlias = struct_cuInit_params_st
@c.record
class struct_cuDriverGetVersion_params_st(c.Struct):
  SIZE = 8
  driverVersion: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
cuDriverGetVersion_params: TypeAlias = struct_cuDriverGetVersion_params_st
@c.record
class struct_cuDeviceGet_params_st(c.Struct):
  SIZE = 16
  device: Annotated[c.POINTER[CUdevice], 0]
  ordinal: Annotated[Annotated[int, ctypes.c_int32], 8]
cuDeviceGet_params: TypeAlias = struct_cuDeviceGet_params_st
@c.record
class struct_cuDeviceGetCount_params_st(c.Struct):
  SIZE = 8
  count: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
cuDeviceGetCount_params: TypeAlias = struct_cuDeviceGetCount_params_st
@c.record
class struct_cuDeviceGetName_params_st(c.Struct):
  SIZE = 16
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 0]
  len: Annotated[Annotated[int, ctypes.c_int32], 8]
  dev: Annotated[CUdevice, 12]
cuDeviceGetName_params: TypeAlias = struct_cuDeviceGetName_params_st
@c.record
class struct_cuDeviceGetUuid_params_st(c.Struct):
  SIZE = 16
  uuid: Annotated[c.POINTER[CUuuid], 0]
  dev: Annotated[CUdevice, 8]
cuDeviceGetUuid_params: TypeAlias = struct_cuDeviceGetUuid_params_st
@c.record
class struct_cuDeviceGetUuid_v2_params_st(c.Struct):
  SIZE = 16
  uuid: Annotated[c.POINTER[CUuuid], 0]
  dev: Annotated[CUdevice, 8]
cuDeviceGetUuid_v2_params: TypeAlias = struct_cuDeviceGetUuid_v2_params_st
@c.record
class struct_cuDeviceGetLuid_params_st(c.Struct):
  SIZE = 24
  luid: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 0]
  deviceNodeMask: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 8]
  dev: Annotated[CUdevice, 16]
cuDeviceGetLuid_params: TypeAlias = struct_cuDeviceGetLuid_params_st
@c.record
class struct_cuDeviceTotalMem_v2_params_st(c.Struct):
  SIZE = 16
  bytes: Annotated[c.POINTER[size_t], 0]
  dev: Annotated[CUdevice, 8]
cuDeviceTotalMem_v2_params: TypeAlias = struct_cuDeviceTotalMem_v2_params_st
@c.record
class struct_cuDeviceGetTexture1DLinearMaxWidth_params_st(c.Struct):
  SIZE = 24
  maxWidthInElements: Annotated[c.POINTER[size_t], 0]
  format: Annotated[CUarray_format, 8]
  numChannels: Annotated[Annotated[int, ctypes.c_uint32], 12]
  dev: Annotated[CUdevice, 16]
class enum_CUarray_format_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_AD_FORMAT_UNSIGNED_INT8 = enum_CUarray_format_enum.define('CU_AD_FORMAT_UNSIGNED_INT8', 1)
CU_AD_FORMAT_UNSIGNED_INT16 = enum_CUarray_format_enum.define('CU_AD_FORMAT_UNSIGNED_INT16', 2)
CU_AD_FORMAT_UNSIGNED_INT32 = enum_CUarray_format_enum.define('CU_AD_FORMAT_UNSIGNED_INT32', 3)
CU_AD_FORMAT_SIGNED_INT8 = enum_CUarray_format_enum.define('CU_AD_FORMAT_SIGNED_INT8', 8)
CU_AD_FORMAT_SIGNED_INT16 = enum_CUarray_format_enum.define('CU_AD_FORMAT_SIGNED_INT16', 9)
CU_AD_FORMAT_SIGNED_INT32 = enum_CUarray_format_enum.define('CU_AD_FORMAT_SIGNED_INT32', 10)
CU_AD_FORMAT_HALF = enum_CUarray_format_enum.define('CU_AD_FORMAT_HALF', 16)
CU_AD_FORMAT_FLOAT = enum_CUarray_format_enum.define('CU_AD_FORMAT_FLOAT', 32)
CU_AD_FORMAT_NV12 = enum_CUarray_format_enum.define('CU_AD_FORMAT_NV12', 176)
CU_AD_FORMAT_UNORM_INT8X1 = enum_CUarray_format_enum.define('CU_AD_FORMAT_UNORM_INT8X1', 192)
CU_AD_FORMAT_UNORM_INT8X2 = enum_CUarray_format_enum.define('CU_AD_FORMAT_UNORM_INT8X2', 193)
CU_AD_FORMAT_UNORM_INT8X4 = enum_CUarray_format_enum.define('CU_AD_FORMAT_UNORM_INT8X4', 194)
CU_AD_FORMAT_UNORM_INT16X1 = enum_CUarray_format_enum.define('CU_AD_FORMAT_UNORM_INT16X1', 195)
CU_AD_FORMAT_UNORM_INT16X2 = enum_CUarray_format_enum.define('CU_AD_FORMAT_UNORM_INT16X2', 196)
CU_AD_FORMAT_UNORM_INT16X4 = enum_CUarray_format_enum.define('CU_AD_FORMAT_UNORM_INT16X4', 197)
CU_AD_FORMAT_SNORM_INT8X1 = enum_CUarray_format_enum.define('CU_AD_FORMAT_SNORM_INT8X1', 198)
CU_AD_FORMAT_SNORM_INT8X2 = enum_CUarray_format_enum.define('CU_AD_FORMAT_SNORM_INT8X2', 199)
CU_AD_FORMAT_SNORM_INT8X4 = enum_CUarray_format_enum.define('CU_AD_FORMAT_SNORM_INT8X4', 200)
CU_AD_FORMAT_SNORM_INT16X1 = enum_CUarray_format_enum.define('CU_AD_FORMAT_SNORM_INT16X1', 201)
CU_AD_FORMAT_SNORM_INT16X2 = enum_CUarray_format_enum.define('CU_AD_FORMAT_SNORM_INT16X2', 202)
CU_AD_FORMAT_SNORM_INT16X4 = enum_CUarray_format_enum.define('CU_AD_FORMAT_SNORM_INT16X4', 203)
CU_AD_FORMAT_BC1_UNORM = enum_CUarray_format_enum.define('CU_AD_FORMAT_BC1_UNORM', 145)
CU_AD_FORMAT_BC1_UNORM_SRGB = enum_CUarray_format_enum.define('CU_AD_FORMAT_BC1_UNORM_SRGB', 146)
CU_AD_FORMAT_BC2_UNORM = enum_CUarray_format_enum.define('CU_AD_FORMAT_BC2_UNORM', 147)
CU_AD_FORMAT_BC2_UNORM_SRGB = enum_CUarray_format_enum.define('CU_AD_FORMAT_BC2_UNORM_SRGB', 148)
CU_AD_FORMAT_BC3_UNORM = enum_CUarray_format_enum.define('CU_AD_FORMAT_BC3_UNORM', 149)
CU_AD_FORMAT_BC3_UNORM_SRGB = enum_CUarray_format_enum.define('CU_AD_FORMAT_BC3_UNORM_SRGB', 150)
CU_AD_FORMAT_BC4_UNORM = enum_CUarray_format_enum.define('CU_AD_FORMAT_BC4_UNORM', 151)
CU_AD_FORMAT_BC4_SNORM = enum_CUarray_format_enum.define('CU_AD_FORMAT_BC4_SNORM', 152)
CU_AD_FORMAT_BC5_UNORM = enum_CUarray_format_enum.define('CU_AD_FORMAT_BC5_UNORM', 153)
CU_AD_FORMAT_BC5_SNORM = enum_CUarray_format_enum.define('CU_AD_FORMAT_BC5_SNORM', 154)
CU_AD_FORMAT_BC6H_UF16 = enum_CUarray_format_enum.define('CU_AD_FORMAT_BC6H_UF16', 155)
CU_AD_FORMAT_BC6H_SF16 = enum_CUarray_format_enum.define('CU_AD_FORMAT_BC6H_SF16', 156)
CU_AD_FORMAT_BC7_UNORM = enum_CUarray_format_enum.define('CU_AD_FORMAT_BC7_UNORM', 157)
CU_AD_FORMAT_BC7_UNORM_SRGB = enum_CUarray_format_enum.define('CU_AD_FORMAT_BC7_UNORM_SRGB', 158)
CU_AD_FORMAT_P010 = enum_CUarray_format_enum.define('CU_AD_FORMAT_P010', 159)
CU_AD_FORMAT_P016 = enum_CUarray_format_enum.define('CU_AD_FORMAT_P016', 161)
CU_AD_FORMAT_NV16 = enum_CUarray_format_enum.define('CU_AD_FORMAT_NV16', 162)
CU_AD_FORMAT_P210 = enum_CUarray_format_enum.define('CU_AD_FORMAT_P210', 163)
CU_AD_FORMAT_P216 = enum_CUarray_format_enum.define('CU_AD_FORMAT_P216', 164)
CU_AD_FORMAT_YUY2 = enum_CUarray_format_enum.define('CU_AD_FORMAT_YUY2', 165)
CU_AD_FORMAT_Y210 = enum_CUarray_format_enum.define('CU_AD_FORMAT_Y210', 166)
CU_AD_FORMAT_Y216 = enum_CUarray_format_enum.define('CU_AD_FORMAT_Y216', 167)
CU_AD_FORMAT_AYUV = enum_CUarray_format_enum.define('CU_AD_FORMAT_AYUV', 168)
CU_AD_FORMAT_Y410 = enum_CUarray_format_enum.define('CU_AD_FORMAT_Y410', 169)
CU_AD_FORMAT_Y416 = enum_CUarray_format_enum.define('CU_AD_FORMAT_Y416', 177)
CU_AD_FORMAT_Y444_PLANAR8 = enum_CUarray_format_enum.define('CU_AD_FORMAT_Y444_PLANAR8', 178)
CU_AD_FORMAT_Y444_PLANAR10 = enum_CUarray_format_enum.define('CU_AD_FORMAT_Y444_PLANAR10', 179)
CU_AD_FORMAT_YUV444_8bit_SemiPlanar = enum_CUarray_format_enum.define('CU_AD_FORMAT_YUV444_8bit_SemiPlanar', 180)
CU_AD_FORMAT_YUV444_16bit_SemiPlanar = enum_CUarray_format_enum.define('CU_AD_FORMAT_YUV444_16bit_SemiPlanar', 181)
CU_AD_FORMAT_UNORM_INT_101010_2 = enum_CUarray_format_enum.define('CU_AD_FORMAT_UNORM_INT_101010_2', 80)
CU_AD_FORMAT_MAX = enum_CUarray_format_enum.define('CU_AD_FORMAT_MAX', 2147483647)

CUarray_format: TypeAlias = enum_CUarray_format_enum
cuDeviceGetTexture1DLinearMaxWidth_params: TypeAlias = struct_cuDeviceGetTexture1DLinearMaxWidth_params_st
@c.record
class struct_cuDeviceGetAttribute_params_st(c.Struct):
  SIZE = 16
  pi: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  attrib: Annotated[CUdevice_attribute, 8]
  dev: Annotated[CUdevice, 12]
cuDeviceGetAttribute_params: TypeAlias = struct_cuDeviceGetAttribute_params_st
@c.record
class struct_cuDeviceGetNvSciSyncAttributes_params_st(c.Struct):
  SIZE = 16
  nvSciSyncAttrList: Annotated[ctypes.c_void_p, 0]
  dev: Annotated[CUdevice, 8]
  flags: Annotated[Annotated[int, ctypes.c_int32], 12]
cuDeviceGetNvSciSyncAttributes_params: TypeAlias = struct_cuDeviceGetNvSciSyncAttributes_params_st
@c.record
class struct_cuDeviceSetMemPool_params_st(c.Struct):
  SIZE = 16
  dev: Annotated[CUdevice, 0]
  pool: Annotated[CUmemoryPool, 8]
class struct_CUmemPoolHandle_st(ctypes.Structure): pass
CUmemoryPool: TypeAlias = c.POINTER[struct_CUmemPoolHandle_st]
cuDeviceSetMemPool_params: TypeAlias = struct_cuDeviceSetMemPool_params_st
@c.record
class struct_cuDeviceGetMemPool_params_st(c.Struct):
  SIZE = 16
  pool: Annotated[c.POINTER[CUmemoryPool], 0]
  dev: Annotated[CUdevice, 8]
cuDeviceGetMemPool_params: TypeAlias = struct_cuDeviceGetMemPool_params_st
@c.record
class struct_cuDeviceGetDefaultMemPool_params_st(c.Struct):
  SIZE = 16
  pool_out: Annotated[c.POINTER[CUmemoryPool], 0]
  dev: Annotated[CUdevice, 8]
cuDeviceGetDefaultMemPool_params: TypeAlias = struct_cuDeviceGetDefaultMemPool_params_st
@c.record
class struct_cuDeviceGetExecAffinitySupport_params_st(c.Struct):
  SIZE = 16
  pi: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  type: Annotated[CUexecAffinityType, 8]
  dev: Annotated[CUdevice, 12]
class enum_CUexecAffinityType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_EXEC_AFFINITY_TYPE_SM_COUNT = enum_CUexecAffinityType_enum.define('CU_EXEC_AFFINITY_TYPE_SM_COUNT', 0)
CU_EXEC_AFFINITY_TYPE_MAX = enum_CUexecAffinityType_enum.define('CU_EXEC_AFFINITY_TYPE_MAX', 1)

CUexecAffinityType: TypeAlias = enum_CUexecAffinityType_enum
cuDeviceGetExecAffinitySupport_params: TypeAlias = struct_cuDeviceGetExecAffinitySupport_params_st
@c.record
class struct_cuFlushGPUDirectRDMAWrites_params_st(c.Struct):
  SIZE = 8
  target: Annotated[CUflushGPUDirectRDMAWritesTarget, 0]
  scope: Annotated[CUflushGPUDirectRDMAWritesScope, 4]
class enum_CUflushGPUDirectRDMAWritesTarget_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_FLUSH_GPU_DIRECT_RDMA_WRITES_TARGET_CURRENT_CTX = enum_CUflushGPUDirectRDMAWritesTarget_enum.define('CU_FLUSH_GPU_DIRECT_RDMA_WRITES_TARGET_CURRENT_CTX', 0)

CUflushGPUDirectRDMAWritesTarget: TypeAlias = enum_CUflushGPUDirectRDMAWritesTarget_enum
class enum_CUflushGPUDirectRDMAWritesScope_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_FLUSH_GPU_DIRECT_RDMA_WRITES_TO_OWNER = enum_CUflushGPUDirectRDMAWritesScope_enum.define('CU_FLUSH_GPU_DIRECT_RDMA_WRITES_TO_OWNER', 100)
CU_FLUSH_GPU_DIRECT_RDMA_WRITES_TO_ALL_DEVICES = enum_CUflushGPUDirectRDMAWritesScope_enum.define('CU_FLUSH_GPU_DIRECT_RDMA_WRITES_TO_ALL_DEVICES', 200)

CUflushGPUDirectRDMAWritesScope: TypeAlias = enum_CUflushGPUDirectRDMAWritesScope_enum
cuFlushGPUDirectRDMAWrites_params: TypeAlias = struct_cuFlushGPUDirectRDMAWrites_params_st
@c.record
class struct_cuDeviceGetProperties_params_st(c.Struct):
  SIZE = 16
  prop: Annotated[c.POINTER[CUdevprop], 0]
  dev: Annotated[CUdevice, 8]
@c.record
class struct_CUdevprop_st(c.Struct):
  SIZE = 56
  maxThreadsPerBlock: Annotated[Annotated[int, ctypes.c_int32], 0]
  maxThreadsDim: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[3]], 4]
  maxGridSize: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[3]], 16]
  sharedMemPerBlock: Annotated[Annotated[int, ctypes.c_int32], 28]
  totalConstantMemory: Annotated[Annotated[int, ctypes.c_int32], 32]
  SIMDWidth: Annotated[Annotated[int, ctypes.c_int32], 36]
  memPitch: Annotated[Annotated[int, ctypes.c_int32], 40]
  regsPerBlock: Annotated[Annotated[int, ctypes.c_int32], 44]
  clockRate: Annotated[Annotated[int, ctypes.c_int32], 48]
  textureAlign: Annotated[Annotated[int, ctypes.c_int32], 52]
CUdevprop: TypeAlias = struct_CUdevprop_st
cuDeviceGetProperties_params: TypeAlias = struct_cuDeviceGetProperties_params_st
@c.record
class struct_cuDeviceComputeCapability_params_st(c.Struct):
  SIZE = 24
  major: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  minor: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 8]
  dev: Annotated[CUdevice, 16]
cuDeviceComputeCapability_params: TypeAlias = struct_cuDeviceComputeCapability_params_st
@c.record
class struct_cuDevicePrimaryCtxRetain_params_st(c.Struct):
  SIZE = 16
  pctx: Annotated[c.POINTER[CUcontext], 0]
  dev: Annotated[CUdevice, 8]
cuDevicePrimaryCtxRetain_params: TypeAlias = struct_cuDevicePrimaryCtxRetain_params_st
@c.record
class struct_cuDevicePrimaryCtxRelease_v2_params_st(c.Struct):
  SIZE = 4
  dev: Annotated[CUdevice, 0]
cuDevicePrimaryCtxRelease_v2_params: TypeAlias = struct_cuDevicePrimaryCtxRelease_v2_params_st
@c.record
class struct_cuDevicePrimaryCtxSetFlags_v2_params_st(c.Struct):
  SIZE = 8
  dev: Annotated[CUdevice, 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 4]
cuDevicePrimaryCtxSetFlags_v2_params: TypeAlias = struct_cuDevicePrimaryCtxSetFlags_v2_params_st
@c.record
class struct_cuDevicePrimaryCtxGetState_params_st(c.Struct):
  SIZE = 24
  dev: Annotated[CUdevice, 0]
  flags: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 8]
  active: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 16]
cuDevicePrimaryCtxGetState_params: TypeAlias = struct_cuDevicePrimaryCtxGetState_params_st
@c.record
class struct_cuDevicePrimaryCtxReset_v2_params_st(c.Struct):
  SIZE = 4
  dev: Annotated[CUdevice, 0]
cuDevicePrimaryCtxReset_v2_params: TypeAlias = struct_cuDevicePrimaryCtxReset_v2_params_st
@c.record
class struct_cuCtxCreate_v2_params_st(c.Struct):
  SIZE = 16
  pctx: Annotated[c.POINTER[CUcontext], 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
  dev: Annotated[CUdevice, 12]
cuCtxCreate_v2_params: TypeAlias = struct_cuCtxCreate_v2_params_st
@c.record
class struct_cuCtxCreate_v3_params_st(c.Struct):
  SIZE = 32
  pctx: Annotated[c.POINTER[CUcontext], 0]
  paramsArray: Annotated[c.POINTER[CUexecAffinityParam], 8]
  numParams: Annotated[Annotated[int, ctypes.c_int32], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
  dev: Annotated[CUdevice, 24]
@c.record
class struct_CUexecAffinityParam_st(c.Struct):
  SIZE = 8
  type: Annotated[CUexecAffinityType, 0]
  param: Annotated[struct_CUexecAffinityParam_st_param, 4]
CUexecAffinityParam: TypeAlias = struct_CUexecAffinityParam_st
@c.record
class struct_CUexecAffinityParam_st_param(c.Struct):
  SIZE = 4
  smCount: Annotated[CUexecAffinitySmCount, 0]
@c.record
class struct_CUexecAffinitySmCount_st(c.Struct):
  SIZE = 4
  val: Annotated[Annotated[int, ctypes.c_uint32], 0]
CUexecAffinitySmCount: TypeAlias = struct_CUexecAffinitySmCount_st
cuCtxCreate_v3_params: TypeAlias = struct_cuCtxCreate_v3_params_st
@c.record
class struct_cuCtxCreate_v4_params_st(c.Struct):
  SIZE = 24
  pctx: Annotated[c.POINTER[CUcontext], 0]
  ctxCreateParams: Annotated[c.POINTER[CUctxCreateParams], 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
  dev: Annotated[CUdevice, 20]
@c.record
class struct_CUctxCreateParams_st(c.Struct):
  SIZE = 24
  execAffinityParams: Annotated[c.POINTER[CUexecAffinityParam], 0]
  numExecAffinityParams: Annotated[Annotated[int, ctypes.c_int32], 8]
  cigParams: Annotated[c.POINTER[CUctxCigParam], 16]
CUctxCreateParams: TypeAlias = struct_CUctxCreateParams_st
@c.record
class struct_CUctxCigParam_st(c.Struct):
  SIZE = 16
  sharedDataType: Annotated[CUcigDataType, 0]
  sharedData: Annotated[ctypes.c_void_p, 8]
CUctxCigParam: TypeAlias = struct_CUctxCigParam_st
class enum_CUcigDataType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CIG_DATA_TYPE_D3D12_COMMAND_QUEUE = enum_CUcigDataType_enum.define('CIG_DATA_TYPE_D3D12_COMMAND_QUEUE', 1)

CUcigDataType: TypeAlias = enum_CUcigDataType_enum
cuCtxCreate_v4_params: TypeAlias = struct_cuCtxCreate_v4_params_st
@c.record
class struct_cuCtxDestroy_v2_params_st(c.Struct):
  SIZE = 8
  ctx: Annotated[CUcontext, 0]
cuCtxDestroy_v2_params: TypeAlias = struct_cuCtxDestroy_v2_params_st
@c.record
class struct_cuCtxPushCurrent_v2_params_st(c.Struct):
  SIZE = 8
  ctx: Annotated[CUcontext, 0]
cuCtxPushCurrent_v2_params: TypeAlias = struct_cuCtxPushCurrent_v2_params_st
@c.record
class struct_cuCtxPopCurrent_v2_params_st(c.Struct):
  SIZE = 8
  pctx: Annotated[c.POINTER[CUcontext], 0]
cuCtxPopCurrent_v2_params: TypeAlias = struct_cuCtxPopCurrent_v2_params_st
@c.record
class struct_cuCtxSetCurrent_params_st(c.Struct):
  SIZE = 8
  ctx: Annotated[CUcontext, 0]
cuCtxSetCurrent_params: TypeAlias = struct_cuCtxSetCurrent_params_st
@c.record
class struct_cuCtxGetCurrent_params_st(c.Struct):
  SIZE = 8
  pctx: Annotated[c.POINTER[CUcontext], 0]
cuCtxGetCurrent_params: TypeAlias = struct_cuCtxGetCurrent_params_st
@c.record
class struct_cuCtxGetDevice_params_st(c.Struct):
  SIZE = 8
  device: Annotated[c.POINTER[CUdevice], 0]
cuCtxGetDevice_params: TypeAlias = struct_cuCtxGetDevice_params_st
@c.record
class struct_cuCtxGetFlags_params_st(c.Struct):
  SIZE = 8
  flags: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 0]
cuCtxGetFlags_params: TypeAlias = struct_cuCtxGetFlags_params_st
@c.record
class struct_cuCtxSetFlags_params_st(c.Struct):
  SIZE = 4
  flags: Annotated[Annotated[int, ctypes.c_uint32], 0]
cuCtxSetFlags_params: TypeAlias = struct_cuCtxSetFlags_params_st
@c.record
class struct_cuCtxGetId_params_st(c.Struct):
  SIZE = 16
  ctx: Annotated[CUcontext, 0]
  ctxId: Annotated[c.POINTER[Annotated[int, ctypes.c_uint64]], 8]
cuCtxGetId_params: TypeAlias = struct_cuCtxGetId_params_st
@c.record
class struct_cuCtxSetLimit_params_st(c.Struct):
  SIZE = 16
  limit: Annotated[CUlimit, 0]
  value: Annotated[size_t, 8]
class enum_CUlimit_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_LIMIT_STACK_SIZE = enum_CUlimit_enum.define('CU_LIMIT_STACK_SIZE', 0)
CU_LIMIT_PRINTF_FIFO_SIZE = enum_CUlimit_enum.define('CU_LIMIT_PRINTF_FIFO_SIZE', 1)
CU_LIMIT_MALLOC_HEAP_SIZE = enum_CUlimit_enum.define('CU_LIMIT_MALLOC_HEAP_SIZE', 2)
CU_LIMIT_DEV_RUNTIME_SYNC_DEPTH = enum_CUlimit_enum.define('CU_LIMIT_DEV_RUNTIME_SYNC_DEPTH', 3)
CU_LIMIT_DEV_RUNTIME_PENDING_LAUNCH_COUNT = enum_CUlimit_enum.define('CU_LIMIT_DEV_RUNTIME_PENDING_LAUNCH_COUNT', 4)
CU_LIMIT_MAX_L2_FETCH_GRANULARITY = enum_CUlimit_enum.define('CU_LIMIT_MAX_L2_FETCH_GRANULARITY', 5)
CU_LIMIT_PERSISTING_L2_CACHE_SIZE = enum_CUlimit_enum.define('CU_LIMIT_PERSISTING_L2_CACHE_SIZE', 6)
CU_LIMIT_SHMEM_SIZE = enum_CUlimit_enum.define('CU_LIMIT_SHMEM_SIZE', 7)
CU_LIMIT_CIG_ENABLED = enum_CUlimit_enum.define('CU_LIMIT_CIG_ENABLED', 8)
CU_LIMIT_CIG_SHMEM_FALLBACK_ENABLED = enum_CUlimit_enum.define('CU_LIMIT_CIG_SHMEM_FALLBACK_ENABLED', 9)
CU_LIMIT_MAX = enum_CUlimit_enum.define('CU_LIMIT_MAX', 10)

CUlimit: TypeAlias = enum_CUlimit_enum
cuCtxSetLimit_params: TypeAlias = struct_cuCtxSetLimit_params_st
@c.record
class struct_cuCtxGetLimit_params_st(c.Struct):
  SIZE = 16
  pvalue: Annotated[c.POINTER[size_t], 0]
  limit: Annotated[CUlimit, 8]
cuCtxGetLimit_params: TypeAlias = struct_cuCtxGetLimit_params_st
@c.record
class struct_cuCtxGetCacheConfig_params_st(c.Struct):
  SIZE = 8
  pconfig: Annotated[c.POINTER[CUfunc_cache], 0]
class enum_CUfunc_cache_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_FUNC_CACHE_PREFER_NONE = enum_CUfunc_cache_enum.define('CU_FUNC_CACHE_PREFER_NONE', 0)
CU_FUNC_CACHE_PREFER_SHARED = enum_CUfunc_cache_enum.define('CU_FUNC_CACHE_PREFER_SHARED', 1)
CU_FUNC_CACHE_PREFER_L1 = enum_CUfunc_cache_enum.define('CU_FUNC_CACHE_PREFER_L1', 2)
CU_FUNC_CACHE_PREFER_EQUAL = enum_CUfunc_cache_enum.define('CU_FUNC_CACHE_PREFER_EQUAL', 3)

CUfunc_cache: TypeAlias = enum_CUfunc_cache_enum
cuCtxGetCacheConfig_params: TypeAlias = struct_cuCtxGetCacheConfig_params_st
@c.record
class struct_cuCtxSetCacheConfig_params_st(c.Struct):
  SIZE = 4
  config: Annotated[CUfunc_cache, 0]
cuCtxSetCacheConfig_params: TypeAlias = struct_cuCtxSetCacheConfig_params_st
@c.record
class struct_cuCtxGetApiVersion_params_st(c.Struct):
  SIZE = 16
  ctx: Annotated[CUcontext, 0]
  version: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 8]
cuCtxGetApiVersion_params: TypeAlias = struct_cuCtxGetApiVersion_params_st
@c.record
class struct_cuCtxGetStreamPriorityRange_params_st(c.Struct):
  SIZE = 16
  leastPriority: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  greatestPriority: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 8]
cuCtxGetStreamPriorityRange_params: TypeAlias = struct_cuCtxGetStreamPriorityRange_params_st
@c.record
class struct_cuCtxGetExecAffinity_params_st(c.Struct):
  SIZE = 16
  pExecAffinity: Annotated[c.POINTER[CUexecAffinityParam], 0]
  type: Annotated[CUexecAffinityType, 8]
cuCtxGetExecAffinity_params: TypeAlias = struct_cuCtxGetExecAffinity_params_st
@c.record
class struct_cuCtxRecordEvent_params_st(c.Struct):
  SIZE = 16
  hCtx: Annotated[CUcontext, 0]
  hEvent: Annotated[CUevent, 8]
cuCtxRecordEvent_params: TypeAlias = struct_cuCtxRecordEvent_params_st
@c.record
class struct_cuCtxWaitEvent_params_st(c.Struct):
  SIZE = 16
  hCtx: Annotated[CUcontext, 0]
  hEvent: Annotated[CUevent, 8]
cuCtxWaitEvent_params: TypeAlias = struct_cuCtxWaitEvent_params_st
@c.record
class struct_cuCtxAttach_params_st(c.Struct):
  SIZE = 16
  pctx: Annotated[c.POINTER[CUcontext], 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuCtxAttach_params: TypeAlias = struct_cuCtxAttach_params_st
@c.record
class struct_cuCtxDetach_params_st(c.Struct):
  SIZE = 8
  ctx: Annotated[CUcontext, 0]
cuCtxDetach_params: TypeAlias = struct_cuCtxDetach_params_st
@c.record
class struct_cuCtxGetSharedMemConfig_params_st(c.Struct):
  SIZE = 8
  pConfig: Annotated[c.POINTER[CUsharedconfig], 0]
class enum_CUsharedconfig_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_SHARED_MEM_CONFIG_DEFAULT_BANK_SIZE = enum_CUsharedconfig_enum.define('CU_SHARED_MEM_CONFIG_DEFAULT_BANK_SIZE', 0)
CU_SHARED_MEM_CONFIG_FOUR_BYTE_BANK_SIZE = enum_CUsharedconfig_enum.define('CU_SHARED_MEM_CONFIG_FOUR_BYTE_BANK_SIZE', 1)
CU_SHARED_MEM_CONFIG_EIGHT_BYTE_BANK_SIZE = enum_CUsharedconfig_enum.define('CU_SHARED_MEM_CONFIG_EIGHT_BYTE_BANK_SIZE', 2)

CUsharedconfig: TypeAlias = enum_CUsharedconfig_enum
cuCtxGetSharedMemConfig_params: TypeAlias = struct_cuCtxGetSharedMemConfig_params_st
@c.record
class struct_cuCtxSetSharedMemConfig_params_st(c.Struct):
  SIZE = 4
  config: Annotated[CUsharedconfig, 0]
cuCtxSetSharedMemConfig_params: TypeAlias = struct_cuCtxSetSharedMemConfig_params_st
@c.record
class struct_cuModuleLoad_params_st(c.Struct):
  SIZE = 16
  module: Annotated[c.POINTER[CUmodule], 0]
  fname: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 8]
class struct_CUmod_st(ctypes.Structure): pass
CUmodule: TypeAlias = c.POINTER[struct_CUmod_st]
cuModuleLoad_params: TypeAlias = struct_cuModuleLoad_params_st
@c.record
class struct_cuModuleLoadData_params_st(c.Struct):
  SIZE = 16
  module: Annotated[c.POINTER[CUmodule], 0]
  image: Annotated[ctypes.c_void_p, 8]
cuModuleLoadData_params: TypeAlias = struct_cuModuleLoadData_params_st
@c.record
class struct_cuModuleLoadDataEx_params_st(c.Struct):
  SIZE = 40
  module: Annotated[c.POINTER[CUmodule], 0]
  image: Annotated[ctypes.c_void_p, 8]
  numOptions: Annotated[Annotated[int, ctypes.c_uint32], 16]
  options: Annotated[c.POINTER[CUjit_option], 24]
  optionValues: Annotated[c.POINTER[ctypes.c_void_p], 32]
class enum_CUjit_option_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_JIT_MAX_REGISTERS = enum_CUjit_option_enum.define('CU_JIT_MAX_REGISTERS', 0)
CU_JIT_THREADS_PER_BLOCK = enum_CUjit_option_enum.define('CU_JIT_THREADS_PER_BLOCK', 1)
CU_JIT_WALL_TIME = enum_CUjit_option_enum.define('CU_JIT_WALL_TIME', 2)
CU_JIT_INFO_LOG_BUFFER = enum_CUjit_option_enum.define('CU_JIT_INFO_LOG_BUFFER', 3)
CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES = enum_CUjit_option_enum.define('CU_JIT_INFO_LOG_BUFFER_SIZE_BYTES', 4)
CU_JIT_ERROR_LOG_BUFFER = enum_CUjit_option_enum.define('CU_JIT_ERROR_LOG_BUFFER', 5)
CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES = enum_CUjit_option_enum.define('CU_JIT_ERROR_LOG_BUFFER_SIZE_BYTES', 6)
CU_JIT_OPTIMIZATION_LEVEL = enum_CUjit_option_enum.define('CU_JIT_OPTIMIZATION_LEVEL', 7)
CU_JIT_TARGET_FROM_CUCONTEXT = enum_CUjit_option_enum.define('CU_JIT_TARGET_FROM_CUCONTEXT', 8)
CU_JIT_TARGET = enum_CUjit_option_enum.define('CU_JIT_TARGET', 9)
CU_JIT_FALLBACK_STRATEGY = enum_CUjit_option_enum.define('CU_JIT_FALLBACK_STRATEGY', 10)
CU_JIT_GENERATE_DEBUG_INFO = enum_CUjit_option_enum.define('CU_JIT_GENERATE_DEBUG_INFO', 11)
CU_JIT_LOG_VERBOSE = enum_CUjit_option_enum.define('CU_JIT_LOG_VERBOSE', 12)
CU_JIT_GENERATE_LINE_INFO = enum_CUjit_option_enum.define('CU_JIT_GENERATE_LINE_INFO', 13)
CU_JIT_CACHE_MODE = enum_CUjit_option_enum.define('CU_JIT_CACHE_MODE', 14)
CU_JIT_NEW_SM3X_OPT = enum_CUjit_option_enum.define('CU_JIT_NEW_SM3X_OPT', 15)
CU_JIT_FAST_COMPILE = enum_CUjit_option_enum.define('CU_JIT_FAST_COMPILE', 16)
CU_JIT_GLOBAL_SYMBOL_NAMES = enum_CUjit_option_enum.define('CU_JIT_GLOBAL_SYMBOL_NAMES', 17)
CU_JIT_GLOBAL_SYMBOL_ADDRESSES = enum_CUjit_option_enum.define('CU_JIT_GLOBAL_SYMBOL_ADDRESSES', 18)
CU_JIT_GLOBAL_SYMBOL_COUNT = enum_CUjit_option_enum.define('CU_JIT_GLOBAL_SYMBOL_COUNT', 19)
CU_JIT_LTO = enum_CUjit_option_enum.define('CU_JIT_LTO', 20)
CU_JIT_FTZ = enum_CUjit_option_enum.define('CU_JIT_FTZ', 21)
CU_JIT_PREC_DIV = enum_CUjit_option_enum.define('CU_JIT_PREC_DIV', 22)
CU_JIT_PREC_SQRT = enum_CUjit_option_enum.define('CU_JIT_PREC_SQRT', 23)
CU_JIT_FMA = enum_CUjit_option_enum.define('CU_JIT_FMA', 24)
CU_JIT_REFERENCED_KERNEL_NAMES = enum_CUjit_option_enum.define('CU_JIT_REFERENCED_KERNEL_NAMES', 25)
CU_JIT_REFERENCED_KERNEL_COUNT = enum_CUjit_option_enum.define('CU_JIT_REFERENCED_KERNEL_COUNT', 26)
CU_JIT_REFERENCED_VARIABLE_NAMES = enum_CUjit_option_enum.define('CU_JIT_REFERENCED_VARIABLE_NAMES', 27)
CU_JIT_REFERENCED_VARIABLE_COUNT = enum_CUjit_option_enum.define('CU_JIT_REFERENCED_VARIABLE_COUNT', 28)
CU_JIT_OPTIMIZE_UNUSED_DEVICE_VARIABLES = enum_CUjit_option_enum.define('CU_JIT_OPTIMIZE_UNUSED_DEVICE_VARIABLES', 29)
CU_JIT_POSITION_INDEPENDENT_CODE = enum_CUjit_option_enum.define('CU_JIT_POSITION_INDEPENDENT_CODE', 30)
CU_JIT_MIN_CTA_PER_SM = enum_CUjit_option_enum.define('CU_JIT_MIN_CTA_PER_SM', 31)
CU_JIT_MAX_THREADS_PER_BLOCK = enum_CUjit_option_enum.define('CU_JIT_MAX_THREADS_PER_BLOCK', 32)
CU_JIT_OVERRIDE_DIRECTIVE_VALUES = enum_CUjit_option_enum.define('CU_JIT_OVERRIDE_DIRECTIVE_VALUES', 33)
CU_JIT_NUM_OPTIONS = enum_CUjit_option_enum.define('CU_JIT_NUM_OPTIONS', 34)

CUjit_option: TypeAlias = enum_CUjit_option_enum
cuModuleLoadDataEx_params: TypeAlias = struct_cuModuleLoadDataEx_params_st
@c.record
class struct_cuModuleLoadFatBinary_params_st(c.Struct):
  SIZE = 16
  module: Annotated[c.POINTER[CUmodule], 0]
  fatCubin: Annotated[ctypes.c_void_p, 8]
cuModuleLoadFatBinary_params: TypeAlias = struct_cuModuleLoadFatBinary_params_st
@c.record
class struct_cuModuleUnload_params_st(c.Struct):
  SIZE = 8
  hmod: Annotated[CUmodule, 0]
cuModuleUnload_params: TypeAlias = struct_cuModuleUnload_params_st
@c.record
class struct_cuModuleGetLoadingMode_params_st(c.Struct):
  SIZE = 8
  mode: Annotated[c.POINTER[CUmoduleLoadingMode], 0]
class enum_CUmoduleLoadingMode_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MODULE_EAGER_LOADING = enum_CUmoduleLoadingMode_enum.define('CU_MODULE_EAGER_LOADING', 1)
CU_MODULE_LAZY_LOADING = enum_CUmoduleLoadingMode_enum.define('CU_MODULE_LAZY_LOADING', 2)

CUmoduleLoadingMode: TypeAlias = enum_CUmoduleLoadingMode_enum
cuModuleGetLoadingMode_params: TypeAlias = struct_cuModuleGetLoadingMode_params_st
@c.record
class struct_cuModuleGetFunction_params_st(c.Struct):
  SIZE = 24
  hfunc: Annotated[c.POINTER[CUfunction], 0]
  hmod: Annotated[CUmodule, 8]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 16]
class struct_CUfunc_st(ctypes.Structure): pass
CUfunction: TypeAlias = c.POINTER[struct_CUfunc_st]
cuModuleGetFunction_params: TypeAlias = struct_cuModuleGetFunction_params_st
@c.record
class struct_cuModuleGetFunctionCount_params_st(c.Struct):
  SIZE = 16
  count: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 0]
  mod: Annotated[CUmodule, 8]
cuModuleGetFunctionCount_params: TypeAlias = struct_cuModuleGetFunctionCount_params_st
@c.record
class struct_cuModuleEnumerateFunctions_params_st(c.Struct):
  SIZE = 24
  functions: Annotated[c.POINTER[CUfunction], 0]
  numFunctions: Annotated[Annotated[int, ctypes.c_uint32], 8]
  mod: Annotated[CUmodule, 16]
cuModuleEnumerateFunctions_params: TypeAlias = struct_cuModuleEnumerateFunctions_params_st
@c.record
class struct_cuModuleGetGlobal_v2_params_st(c.Struct):
  SIZE = 32
  dptr: Annotated[c.POINTER[CUdeviceptr], 0]
  bytes: Annotated[c.POINTER[size_t], 8]
  hmod: Annotated[CUmodule, 16]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 24]
CUdeviceptr: TypeAlias = Annotated[int, ctypes.c_uint64]
cuModuleGetGlobal_v2_params: TypeAlias = struct_cuModuleGetGlobal_v2_params_st
@c.record
class struct_cuLinkCreate_v2_params_st(c.Struct):
  SIZE = 32
  numOptions: Annotated[Annotated[int, ctypes.c_uint32], 0]
  options: Annotated[c.POINTER[CUjit_option], 8]
  optionValues: Annotated[c.POINTER[ctypes.c_void_p], 16]
  stateOut: Annotated[c.POINTER[CUlinkState], 24]
class struct_CUlinkState_st(ctypes.Structure): pass
CUlinkState: TypeAlias = c.POINTER[struct_CUlinkState_st]
cuLinkCreate_v2_params: TypeAlias = struct_cuLinkCreate_v2_params_st
@c.record
class struct_cuLinkAddData_v2_params_st(c.Struct):
  SIZE = 64
  state: Annotated[CUlinkState, 0]
  type: Annotated[CUjitInputType, 8]
  data: Annotated[ctypes.c_void_p, 16]
  size: Annotated[size_t, 24]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 32]
  numOptions: Annotated[Annotated[int, ctypes.c_uint32], 40]
  options: Annotated[c.POINTER[CUjit_option], 48]
  optionValues: Annotated[c.POINTER[ctypes.c_void_p], 56]
class enum_CUjitInputType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_JIT_INPUT_CUBIN = enum_CUjitInputType_enum.define('CU_JIT_INPUT_CUBIN', 0)
CU_JIT_INPUT_PTX = enum_CUjitInputType_enum.define('CU_JIT_INPUT_PTX', 1)
CU_JIT_INPUT_FATBINARY = enum_CUjitInputType_enum.define('CU_JIT_INPUT_FATBINARY', 2)
CU_JIT_INPUT_OBJECT = enum_CUjitInputType_enum.define('CU_JIT_INPUT_OBJECT', 3)
CU_JIT_INPUT_LIBRARY = enum_CUjitInputType_enum.define('CU_JIT_INPUT_LIBRARY', 4)
CU_JIT_INPUT_NVVM = enum_CUjitInputType_enum.define('CU_JIT_INPUT_NVVM', 5)
CU_JIT_NUM_INPUT_TYPES = enum_CUjitInputType_enum.define('CU_JIT_NUM_INPUT_TYPES', 6)

CUjitInputType: TypeAlias = enum_CUjitInputType_enum
cuLinkAddData_v2_params: TypeAlias = struct_cuLinkAddData_v2_params_st
@c.record
class struct_cuLinkAddFile_v2_params_st(c.Struct):
  SIZE = 48
  state: Annotated[CUlinkState, 0]
  type: Annotated[CUjitInputType, 8]
  path: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 16]
  numOptions: Annotated[Annotated[int, ctypes.c_uint32], 24]
  options: Annotated[c.POINTER[CUjit_option], 32]
  optionValues: Annotated[c.POINTER[ctypes.c_void_p], 40]
cuLinkAddFile_v2_params: TypeAlias = struct_cuLinkAddFile_v2_params_st
@c.record
class struct_cuLinkComplete_params_st(c.Struct):
  SIZE = 24
  state: Annotated[CUlinkState, 0]
  cubinOut: Annotated[c.POINTER[ctypes.c_void_p], 8]
  sizeOut: Annotated[c.POINTER[size_t], 16]
cuLinkComplete_params: TypeAlias = struct_cuLinkComplete_params_st
@c.record
class struct_cuLinkDestroy_params_st(c.Struct):
  SIZE = 8
  state: Annotated[CUlinkState, 0]
cuLinkDestroy_params: TypeAlias = struct_cuLinkDestroy_params_st
@c.record
class struct_cuModuleGetTexRef_params_st(c.Struct):
  SIZE = 24
  pTexRef: Annotated[c.POINTER[CUtexref], 0]
  hmod: Annotated[CUmodule, 8]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 16]
class struct_CUtexref_st(ctypes.Structure): pass
CUtexref: TypeAlias = c.POINTER[struct_CUtexref_st]
cuModuleGetTexRef_params: TypeAlias = struct_cuModuleGetTexRef_params_st
@c.record
class struct_cuModuleGetSurfRef_params_st(c.Struct):
  SIZE = 24
  pSurfRef: Annotated[c.POINTER[CUsurfref], 0]
  hmod: Annotated[CUmodule, 8]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 16]
class struct_CUsurfref_st(ctypes.Structure): pass
CUsurfref: TypeAlias = c.POINTER[struct_CUsurfref_st]
cuModuleGetSurfRef_params: TypeAlias = struct_cuModuleGetSurfRef_params_st
@c.record
class struct_cuLibraryLoadData_params_st(c.Struct):
  SIZE = 64
  library: Annotated[c.POINTER[CUlibrary], 0]
  code: Annotated[ctypes.c_void_p, 8]
  jitOptions: Annotated[c.POINTER[CUjit_option], 16]
  jitOptionsValues: Annotated[c.POINTER[ctypes.c_void_p], 24]
  numJitOptions: Annotated[Annotated[int, ctypes.c_uint32], 32]
  libraryOptions: Annotated[c.POINTER[CUlibraryOption], 40]
  libraryOptionValues: Annotated[c.POINTER[ctypes.c_void_p], 48]
  numLibraryOptions: Annotated[Annotated[int, ctypes.c_uint32], 56]
class struct_CUlib_st(ctypes.Structure): pass
CUlibrary: TypeAlias = c.POINTER[struct_CUlib_st]
class enum_CUlibraryOption_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_LIBRARY_HOST_UNIVERSAL_FUNCTION_AND_DATA_TABLE = enum_CUlibraryOption_enum.define('CU_LIBRARY_HOST_UNIVERSAL_FUNCTION_AND_DATA_TABLE', 0)
CU_LIBRARY_BINARY_IS_PRESERVED = enum_CUlibraryOption_enum.define('CU_LIBRARY_BINARY_IS_PRESERVED', 1)
CU_LIBRARY_NUM_OPTIONS = enum_CUlibraryOption_enum.define('CU_LIBRARY_NUM_OPTIONS', 2)

CUlibraryOption: TypeAlias = enum_CUlibraryOption_enum
cuLibraryLoadData_params: TypeAlias = struct_cuLibraryLoadData_params_st
@c.record
class struct_cuLibraryLoadFromFile_params_st(c.Struct):
  SIZE = 64
  library: Annotated[c.POINTER[CUlibrary], 0]
  fileName: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 8]
  jitOptions: Annotated[c.POINTER[CUjit_option], 16]
  jitOptionsValues: Annotated[c.POINTER[ctypes.c_void_p], 24]
  numJitOptions: Annotated[Annotated[int, ctypes.c_uint32], 32]
  libraryOptions: Annotated[c.POINTER[CUlibraryOption], 40]
  libraryOptionValues: Annotated[c.POINTER[ctypes.c_void_p], 48]
  numLibraryOptions: Annotated[Annotated[int, ctypes.c_uint32], 56]
cuLibraryLoadFromFile_params: TypeAlias = struct_cuLibraryLoadFromFile_params_st
@c.record
class struct_cuLibraryUnload_params_st(c.Struct):
  SIZE = 8
  library: Annotated[CUlibrary, 0]
cuLibraryUnload_params: TypeAlias = struct_cuLibraryUnload_params_st
@c.record
class struct_cuLibraryGetKernel_params_st(c.Struct):
  SIZE = 24
  pKernel: Annotated[c.POINTER[CUkernel], 0]
  library: Annotated[CUlibrary, 8]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 16]
class struct_CUkern_st(ctypes.Structure): pass
CUkernel: TypeAlias = c.POINTER[struct_CUkern_st]
cuLibraryGetKernel_params: TypeAlias = struct_cuLibraryGetKernel_params_st
@c.record
class struct_cuLibraryGetKernelCount_params_st(c.Struct):
  SIZE = 16
  count: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 0]
  lib: Annotated[CUlibrary, 8]
cuLibraryGetKernelCount_params: TypeAlias = struct_cuLibraryGetKernelCount_params_st
@c.record
class struct_cuLibraryEnumerateKernels_params_st(c.Struct):
  SIZE = 24
  kernels: Annotated[c.POINTER[CUkernel], 0]
  numKernels: Annotated[Annotated[int, ctypes.c_uint32], 8]
  lib: Annotated[CUlibrary, 16]
cuLibraryEnumerateKernels_params: TypeAlias = struct_cuLibraryEnumerateKernels_params_st
@c.record
class struct_cuLibraryGetModule_params_st(c.Struct):
  SIZE = 16
  pMod: Annotated[c.POINTER[CUmodule], 0]
  library: Annotated[CUlibrary, 8]
cuLibraryGetModule_params: TypeAlias = struct_cuLibraryGetModule_params_st
@c.record
class struct_cuKernelGetFunction_params_st(c.Struct):
  SIZE = 16
  pFunc: Annotated[c.POINTER[CUfunction], 0]
  kernel: Annotated[CUkernel, 8]
cuKernelGetFunction_params: TypeAlias = struct_cuKernelGetFunction_params_st
@c.record
class struct_cuKernelGetLibrary_params_st(c.Struct):
  SIZE = 16
  pLib: Annotated[c.POINTER[CUlibrary], 0]
  kernel: Annotated[CUkernel, 8]
cuKernelGetLibrary_params: TypeAlias = struct_cuKernelGetLibrary_params_st
@c.record
class struct_cuLibraryGetGlobal_params_st(c.Struct):
  SIZE = 32
  dptr: Annotated[c.POINTER[CUdeviceptr], 0]
  bytes: Annotated[c.POINTER[size_t], 8]
  library: Annotated[CUlibrary, 16]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 24]
cuLibraryGetGlobal_params: TypeAlias = struct_cuLibraryGetGlobal_params_st
@c.record
class struct_cuLibraryGetManaged_params_st(c.Struct):
  SIZE = 32
  dptr: Annotated[c.POINTER[CUdeviceptr], 0]
  bytes: Annotated[c.POINTER[size_t], 8]
  library: Annotated[CUlibrary, 16]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 24]
cuLibraryGetManaged_params: TypeAlias = struct_cuLibraryGetManaged_params_st
@c.record
class struct_cuLibraryGetUnifiedFunction_params_st(c.Struct):
  SIZE = 24
  fptr: Annotated[c.POINTER[ctypes.c_void_p], 0]
  library: Annotated[CUlibrary, 8]
  symbol: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 16]
cuLibraryGetUnifiedFunction_params: TypeAlias = struct_cuLibraryGetUnifiedFunction_params_st
@c.record
class struct_cuKernelGetAttribute_params_st(c.Struct):
  SIZE = 32
  pi: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  attrib: Annotated[CUfunction_attribute, 8]
  kernel: Annotated[CUkernel, 16]
  dev: Annotated[CUdevice, 24]
class enum_CUfunction_attribute_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_MAX_THREADS_PER_BLOCK', 0)
CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_SHARED_SIZE_BYTES', 1)
CU_FUNC_ATTRIBUTE_CONST_SIZE_BYTES = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_CONST_SIZE_BYTES', 2)
CU_FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_LOCAL_SIZE_BYTES', 3)
CU_FUNC_ATTRIBUTE_NUM_REGS = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_NUM_REGS', 4)
CU_FUNC_ATTRIBUTE_PTX_VERSION = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_PTX_VERSION', 5)
CU_FUNC_ATTRIBUTE_BINARY_VERSION = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_BINARY_VERSION', 6)
CU_FUNC_ATTRIBUTE_CACHE_MODE_CA = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_CACHE_MODE_CA', 7)
CU_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_MAX_DYNAMIC_SHARED_SIZE_BYTES', 8)
CU_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT', 9)
CU_FUNC_ATTRIBUTE_CLUSTER_SIZE_MUST_BE_SET = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_CLUSTER_SIZE_MUST_BE_SET', 10)
CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_WIDTH = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_WIDTH', 11)
CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_HEIGHT = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_HEIGHT', 12)
CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_DEPTH = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_REQUIRED_CLUSTER_DEPTH', 13)
CU_FUNC_ATTRIBUTE_NON_PORTABLE_CLUSTER_SIZE_ALLOWED = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_NON_PORTABLE_CLUSTER_SIZE_ALLOWED', 14)
CU_FUNC_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE', 15)
CU_FUNC_ATTRIBUTE_MAX = enum_CUfunction_attribute_enum.define('CU_FUNC_ATTRIBUTE_MAX', 16)

CUfunction_attribute: TypeAlias = enum_CUfunction_attribute_enum
cuKernelGetAttribute_params: TypeAlias = struct_cuKernelGetAttribute_params_st
@c.record
class struct_cuKernelSetAttribute_params_st(c.Struct):
  SIZE = 24
  attrib: Annotated[CUfunction_attribute, 0]
  val: Annotated[Annotated[int, ctypes.c_int32], 4]
  kernel: Annotated[CUkernel, 8]
  dev: Annotated[CUdevice, 16]
cuKernelSetAttribute_params: TypeAlias = struct_cuKernelSetAttribute_params_st
@c.record
class struct_cuKernelSetCacheConfig_params_st(c.Struct):
  SIZE = 16
  kernel: Annotated[CUkernel, 0]
  config: Annotated[CUfunc_cache, 8]
  dev: Annotated[CUdevice, 12]
cuKernelSetCacheConfig_params: TypeAlias = struct_cuKernelSetCacheConfig_params_st
@c.record
class struct_cuKernelGetName_params_st(c.Struct):
  SIZE = 16
  name: Annotated[c.POINTER[c.POINTER[Annotated[bytes, ctypes.c_char]]], 0]
  hfunc: Annotated[CUkernel, 8]
cuKernelGetName_params: TypeAlias = struct_cuKernelGetName_params_st
@c.record
class struct_cuKernelGetParamInfo_params_st(c.Struct):
  SIZE = 32
  kernel: Annotated[CUkernel, 0]
  paramIndex: Annotated[size_t, 8]
  paramOffset: Annotated[c.POINTER[size_t], 16]
  paramSize: Annotated[c.POINTER[size_t], 24]
cuKernelGetParamInfo_params: TypeAlias = struct_cuKernelGetParamInfo_params_st
@c.record
class struct_cuMemGetInfo_v2_params_st(c.Struct):
  SIZE = 16
  free: Annotated[c.POINTER[size_t], 0]
  total: Annotated[c.POINTER[size_t], 8]
cuMemGetInfo_v2_params: TypeAlias = struct_cuMemGetInfo_v2_params_st
@c.record
class struct_cuMemAlloc_v2_params_st(c.Struct):
  SIZE = 16
  dptr: Annotated[c.POINTER[CUdeviceptr], 0]
  bytesize: Annotated[size_t, 8]
cuMemAlloc_v2_params: TypeAlias = struct_cuMemAlloc_v2_params_st
@c.record
class struct_cuMemAllocPitch_v2_params_st(c.Struct):
  SIZE = 40
  dptr: Annotated[c.POINTER[CUdeviceptr], 0]
  pPitch: Annotated[c.POINTER[size_t], 8]
  WidthInBytes: Annotated[size_t, 16]
  Height: Annotated[size_t, 24]
  ElementSizeBytes: Annotated[Annotated[int, ctypes.c_uint32], 32]
cuMemAllocPitch_v2_params: TypeAlias = struct_cuMemAllocPitch_v2_params_st
@c.record
class struct_cuMemFree_v2_params_st(c.Struct):
  SIZE = 8
  dptr: Annotated[CUdeviceptr, 0]
cuMemFree_v2_params: TypeAlias = struct_cuMemFree_v2_params_st
@c.record
class struct_cuMemGetAddressRange_v2_params_st(c.Struct):
  SIZE = 24
  pbase: Annotated[c.POINTER[CUdeviceptr], 0]
  psize: Annotated[c.POINTER[size_t], 8]
  dptr: Annotated[CUdeviceptr, 16]
cuMemGetAddressRange_v2_params: TypeAlias = struct_cuMemGetAddressRange_v2_params_st
@c.record
class struct_cuMemAllocHost_v2_params_st(c.Struct):
  SIZE = 16
  pp: Annotated[c.POINTER[ctypes.c_void_p], 0]
  bytesize: Annotated[size_t, 8]
cuMemAllocHost_v2_params: TypeAlias = struct_cuMemAllocHost_v2_params_st
@c.record
class struct_cuMemFreeHost_params_st(c.Struct):
  SIZE = 8
  p: Annotated[ctypes.c_void_p, 0]
cuMemFreeHost_params: TypeAlias = struct_cuMemFreeHost_params_st
@c.record
class struct_cuMemHostAlloc_params_st(c.Struct):
  SIZE = 24
  pp: Annotated[c.POINTER[ctypes.c_void_p], 0]
  bytesize: Annotated[size_t, 8]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuMemHostAlloc_params: TypeAlias = struct_cuMemHostAlloc_params_st
@c.record
class struct_cuMemHostGetDevicePointer_v2_params_st(c.Struct):
  SIZE = 24
  pdptr: Annotated[c.POINTER[CUdeviceptr], 0]
  p: Annotated[ctypes.c_void_p, 8]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuMemHostGetDevicePointer_v2_params: TypeAlias = struct_cuMemHostGetDevicePointer_v2_params_st
@c.record
class struct_cuMemHostGetFlags_params_st(c.Struct):
  SIZE = 16
  pFlags: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 0]
  p: Annotated[ctypes.c_void_p, 8]
cuMemHostGetFlags_params: TypeAlias = struct_cuMemHostGetFlags_params_st
@c.record
class struct_cuMemAllocManaged_params_st(c.Struct):
  SIZE = 24
  dptr: Annotated[c.POINTER[CUdeviceptr], 0]
  bytesize: Annotated[size_t, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuMemAllocManaged_params: TypeAlias = struct_cuMemAllocManaged_params_st
@c.record
class struct_cuDeviceRegisterAsyncNotification_params_st(c.Struct):
  SIZE = 32
  device: Annotated[CUdevice, 0]
  callbackFunc: Annotated[CUasyncCallback, 8]
  userData: Annotated[ctypes.c_void_p, 16]
  callback: Annotated[c.POINTER[CUasyncCallbackHandle], 24]
@c.record
class struct_CUasyncNotificationInfo_st(c.Struct):
  SIZE = 16
  type: Annotated[CUasyncNotificationType, 0]
  info: Annotated[struct_CUasyncNotificationInfo_st_info, 8]
class enum_CUasyncNotificationType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_ASYNC_NOTIFICATION_TYPE_OVER_BUDGET = enum_CUasyncNotificationType_enum.define('CU_ASYNC_NOTIFICATION_TYPE_OVER_BUDGET', 1)

CUasyncNotificationType: TypeAlias = enum_CUasyncNotificationType_enum
@c.record
class struct_CUasyncNotificationInfo_st_info(c.Struct):
  SIZE = 8
  overBudget: Annotated[struct_CUasyncNotificationInfo_st_info_overBudget, 0]
@c.record
class struct_CUasyncNotificationInfo_st_info_overBudget(c.Struct):
  SIZE = 8
  bytesOverBudget: Annotated[Annotated[int, ctypes.c_uint64], 0]
class struct_CUasyncCallbackEntry_st(ctypes.Structure): pass
CUasyncCallback: TypeAlias = c.CFUNCTYPE[None, [c.POINTER[struct_CUasyncNotificationInfo_st], ctypes.c_void_p, c.POINTER[struct_CUasyncCallbackEntry_st]]]
CUasyncCallbackHandle: TypeAlias = c.POINTER[struct_CUasyncCallbackEntry_st]
cuDeviceRegisterAsyncNotification_params: TypeAlias = struct_cuDeviceRegisterAsyncNotification_params_st
@c.record
class struct_cuDeviceUnregisterAsyncNotification_params_st(c.Struct):
  SIZE = 16
  device: Annotated[CUdevice, 0]
  callback: Annotated[CUasyncCallbackHandle, 8]
cuDeviceUnregisterAsyncNotification_params: TypeAlias = struct_cuDeviceUnregisterAsyncNotification_params_st
@c.record
class struct_cuDeviceGetByPCIBusId_params_st(c.Struct):
  SIZE = 16
  dev: Annotated[c.POINTER[CUdevice], 0]
  pciBusId: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 8]
cuDeviceGetByPCIBusId_params: TypeAlias = struct_cuDeviceGetByPCIBusId_params_st
@c.record
class struct_cuDeviceGetPCIBusId_params_st(c.Struct):
  SIZE = 16
  pciBusId: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 0]
  len: Annotated[Annotated[int, ctypes.c_int32], 8]
  dev: Annotated[CUdevice, 12]
cuDeviceGetPCIBusId_params: TypeAlias = struct_cuDeviceGetPCIBusId_params_st
@c.record
class struct_cuIpcGetEventHandle_params_st(c.Struct):
  SIZE = 16
  pHandle: Annotated[c.POINTER[CUipcEventHandle], 0]
  event: Annotated[CUevent, 8]
@c.record
class struct_CUipcEventHandle_st(c.Struct):
  SIZE = 64
  reserved: Annotated[c.Array[Annotated[bytes, ctypes.c_char], Literal[64]], 0]
CUipcEventHandle: TypeAlias = struct_CUipcEventHandle_st
cuIpcGetEventHandle_params: TypeAlias = struct_cuIpcGetEventHandle_params_st
@c.record
class struct_cuIpcOpenEventHandle_params_st(c.Struct):
  SIZE = 72
  phEvent: Annotated[c.POINTER[CUevent], 0]
  handle: Annotated[CUipcEventHandle, 8]
cuIpcOpenEventHandle_params: TypeAlias = struct_cuIpcOpenEventHandle_params_st
@c.record
class struct_cuIpcGetMemHandle_params_st(c.Struct):
  SIZE = 16
  pHandle: Annotated[c.POINTER[CUipcMemHandle], 0]
  dptr: Annotated[CUdeviceptr, 8]
@c.record
class struct_CUipcMemHandle_st(c.Struct):
  SIZE = 64
  reserved: Annotated[c.Array[Annotated[bytes, ctypes.c_char], Literal[64]], 0]
CUipcMemHandle: TypeAlias = struct_CUipcMemHandle_st
cuIpcGetMemHandle_params: TypeAlias = struct_cuIpcGetMemHandle_params_st
@c.record
class struct_cuIpcOpenMemHandle_v2_params_st(c.Struct):
  SIZE = 80
  pdptr: Annotated[c.POINTER[CUdeviceptr], 0]
  handle: Annotated[CUipcMemHandle, 8]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 72]
cuIpcOpenMemHandle_v2_params: TypeAlias = struct_cuIpcOpenMemHandle_v2_params_st
@c.record
class struct_cuIpcCloseMemHandle_params_st(c.Struct):
  SIZE = 8
  dptr: Annotated[CUdeviceptr, 0]
cuIpcCloseMemHandle_params: TypeAlias = struct_cuIpcCloseMemHandle_params_st
@c.record
class struct_cuMemHostRegister_v2_params_st(c.Struct):
  SIZE = 24
  p: Annotated[ctypes.c_void_p, 0]
  bytesize: Annotated[size_t, 8]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuMemHostRegister_v2_params: TypeAlias = struct_cuMemHostRegister_v2_params_st
@c.record
class struct_cuMemHostUnregister_params_st(c.Struct):
  SIZE = 8
  p: Annotated[ctypes.c_void_p, 0]
cuMemHostUnregister_params: TypeAlias = struct_cuMemHostUnregister_params_st
@c.record
class struct_cuMemcpy_ptds_params_st(c.Struct):
  SIZE = 24
  dst: Annotated[CUdeviceptr, 0]
  src: Annotated[CUdeviceptr, 8]
  ByteCount: Annotated[size_t, 16]
cuMemcpy_ptds_params: TypeAlias = struct_cuMemcpy_ptds_params_st
@c.record
class struct_cuMemcpyPeer_ptds_params_st(c.Struct):
  SIZE = 40
  dstDevice: Annotated[CUdeviceptr, 0]
  dstContext: Annotated[CUcontext, 8]
  srcDevice: Annotated[CUdeviceptr, 16]
  srcContext: Annotated[CUcontext, 24]
  ByteCount: Annotated[size_t, 32]
cuMemcpyPeer_ptds_params: TypeAlias = struct_cuMemcpyPeer_ptds_params_st
@c.record
class struct_cuMemcpyHtoD_v2_ptds_params_st(c.Struct):
  SIZE = 24
  dstDevice: Annotated[CUdeviceptr, 0]
  srcHost: Annotated[ctypes.c_void_p, 8]
  ByteCount: Annotated[size_t, 16]
cuMemcpyHtoD_v2_ptds_params: TypeAlias = struct_cuMemcpyHtoD_v2_ptds_params_st
@c.record
class struct_cuMemcpyDtoH_v2_ptds_params_st(c.Struct):
  SIZE = 24
  dstHost: Annotated[ctypes.c_void_p, 0]
  srcDevice: Annotated[CUdeviceptr, 8]
  ByteCount: Annotated[size_t, 16]
cuMemcpyDtoH_v2_ptds_params: TypeAlias = struct_cuMemcpyDtoH_v2_ptds_params_st
@c.record
class struct_cuMemcpyDtoD_v2_ptds_params_st(c.Struct):
  SIZE = 24
  dstDevice: Annotated[CUdeviceptr, 0]
  srcDevice: Annotated[CUdeviceptr, 8]
  ByteCount: Annotated[size_t, 16]
cuMemcpyDtoD_v2_ptds_params: TypeAlias = struct_cuMemcpyDtoD_v2_ptds_params_st
@c.record
class struct_cuMemcpyDtoA_v2_ptds_params_st(c.Struct):
  SIZE = 32
  dstArray: Annotated[CUarray, 0]
  dstOffset: Annotated[size_t, 8]
  srcDevice: Annotated[CUdeviceptr, 16]
  ByteCount: Annotated[size_t, 24]
class struct_CUarray_st(ctypes.Structure): pass
CUarray: TypeAlias = c.POINTER[struct_CUarray_st]
cuMemcpyDtoA_v2_ptds_params: TypeAlias = struct_cuMemcpyDtoA_v2_ptds_params_st
@c.record
class struct_cuMemcpyAtoD_v2_ptds_params_st(c.Struct):
  SIZE = 32
  dstDevice: Annotated[CUdeviceptr, 0]
  srcArray: Annotated[CUarray, 8]
  srcOffset: Annotated[size_t, 16]
  ByteCount: Annotated[size_t, 24]
cuMemcpyAtoD_v2_ptds_params: TypeAlias = struct_cuMemcpyAtoD_v2_ptds_params_st
@c.record
class struct_cuMemcpyHtoA_v2_ptds_params_st(c.Struct):
  SIZE = 32
  dstArray: Annotated[CUarray, 0]
  dstOffset: Annotated[size_t, 8]
  srcHost: Annotated[ctypes.c_void_p, 16]
  ByteCount: Annotated[size_t, 24]
cuMemcpyHtoA_v2_ptds_params: TypeAlias = struct_cuMemcpyHtoA_v2_ptds_params_st
@c.record
class struct_cuMemcpyAtoH_v2_ptds_params_st(c.Struct):
  SIZE = 32
  dstHost: Annotated[ctypes.c_void_p, 0]
  srcArray: Annotated[CUarray, 8]
  srcOffset: Annotated[size_t, 16]
  ByteCount: Annotated[size_t, 24]
cuMemcpyAtoH_v2_ptds_params: TypeAlias = struct_cuMemcpyAtoH_v2_ptds_params_st
@c.record
class struct_cuMemcpyAtoA_v2_ptds_params_st(c.Struct):
  SIZE = 40
  dstArray: Annotated[CUarray, 0]
  dstOffset: Annotated[size_t, 8]
  srcArray: Annotated[CUarray, 16]
  srcOffset: Annotated[size_t, 24]
  ByteCount: Annotated[size_t, 32]
cuMemcpyAtoA_v2_ptds_params: TypeAlias = struct_cuMemcpyAtoA_v2_ptds_params_st
@c.record
class struct_cuMemcpy2D_v2_ptds_params_st(c.Struct):
  SIZE = 8
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY2D], 0]
@c.record
class struct_CUDA_MEMCPY2D_st(c.Struct):
  SIZE = 128
  srcXInBytes: Annotated[size_t, 0]
  srcY: Annotated[size_t, 8]
  srcMemoryType: Annotated[CUmemorytype, 16]
  srcHost: Annotated[ctypes.c_void_p, 24]
  srcDevice: Annotated[CUdeviceptr, 32]
  srcArray: Annotated[CUarray, 40]
  srcPitch: Annotated[size_t, 48]
  dstXInBytes: Annotated[size_t, 56]
  dstY: Annotated[size_t, 64]
  dstMemoryType: Annotated[CUmemorytype, 72]
  dstHost: Annotated[ctypes.c_void_p, 80]
  dstDevice: Annotated[CUdeviceptr, 88]
  dstArray: Annotated[CUarray, 96]
  dstPitch: Annotated[size_t, 104]
  WidthInBytes: Annotated[size_t, 112]
  Height: Annotated[size_t, 120]
CUDA_MEMCPY2D: TypeAlias = struct_CUDA_MEMCPY2D_st
class enum_CUmemorytype_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MEMORYTYPE_HOST = enum_CUmemorytype_enum.define('CU_MEMORYTYPE_HOST', 1)
CU_MEMORYTYPE_DEVICE = enum_CUmemorytype_enum.define('CU_MEMORYTYPE_DEVICE', 2)
CU_MEMORYTYPE_ARRAY = enum_CUmemorytype_enum.define('CU_MEMORYTYPE_ARRAY', 3)
CU_MEMORYTYPE_UNIFIED = enum_CUmemorytype_enum.define('CU_MEMORYTYPE_UNIFIED', 4)

CUmemorytype: TypeAlias = enum_CUmemorytype_enum
cuMemcpy2D_v2_ptds_params: TypeAlias = struct_cuMemcpy2D_v2_ptds_params_st
@c.record
class struct_cuMemcpy2DUnaligned_v2_ptds_params_st(c.Struct):
  SIZE = 8
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY2D], 0]
cuMemcpy2DUnaligned_v2_ptds_params: TypeAlias = struct_cuMemcpy2DUnaligned_v2_ptds_params_st
@c.record
class struct_cuMemcpy3D_v2_ptds_params_st(c.Struct):
  SIZE = 8
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY3D], 0]
@c.record
class struct_CUDA_MEMCPY3D_st(c.Struct):
  SIZE = 200
  srcXInBytes: Annotated[size_t, 0]
  srcY: Annotated[size_t, 8]
  srcZ: Annotated[size_t, 16]
  srcLOD: Annotated[size_t, 24]
  srcMemoryType: Annotated[CUmemorytype, 32]
  srcHost: Annotated[ctypes.c_void_p, 40]
  srcDevice: Annotated[CUdeviceptr, 48]
  srcArray: Annotated[CUarray, 56]
  reserved0: Annotated[ctypes.c_void_p, 64]
  srcPitch: Annotated[size_t, 72]
  srcHeight: Annotated[size_t, 80]
  dstXInBytes: Annotated[size_t, 88]
  dstY: Annotated[size_t, 96]
  dstZ: Annotated[size_t, 104]
  dstLOD: Annotated[size_t, 112]
  dstMemoryType: Annotated[CUmemorytype, 120]
  dstHost: Annotated[ctypes.c_void_p, 128]
  dstDevice: Annotated[CUdeviceptr, 136]
  dstArray: Annotated[CUarray, 144]
  reserved1: Annotated[ctypes.c_void_p, 152]
  dstPitch: Annotated[size_t, 160]
  dstHeight: Annotated[size_t, 168]
  WidthInBytes: Annotated[size_t, 176]
  Height: Annotated[size_t, 184]
  Depth: Annotated[size_t, 192]
CUDA_MEMCPY3D: TypeAlias = struct_CUDA_MEMCPY3D_st
cuMemcpy3D_v2_ptds_params: TypeAlias = struct_cuMemcpy3D_v2_ptds_params_st
@c.record
class struct_cuMemcpy3DPeer_ptds_params_st(c.Struct):
  SIZE = 8
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY3D_PEER], 0]
@c.record
class struct_CUDA_MEMCPY3D_PEER_st(c.Struct):
  SIZE = 200
  srcXInBytes: Annotated[size_t, 0]
  srcY: Annotated[size_t, 8]
  srcZ: Annotated[size_t, 16]
  srcLOD: Annotated[size_t, 24]
  srcMemoryType: Annotated[CUmemorytype, 32]
  srcHost: Annotated[ctypes.c_void_p, 40]
  srcDevice: Annotated[CUdeviceptr, 48]
  srcArray: Annotated[CUarray, 56]
  srcContext: Annotated[CUcontext, 64]
  srcPitch: Annotated[size_t, 72]
  srcHeight: Annotated[size_t, 80]
  dstXInBytes: Annotated[size_t, 88]
  dstY: Annotated[size_t, 96]
  dstZ: Annotated[size_t, 104]
  dstLOD: Annotated[size_t, 112]
  dstMemoryType: Annotated[CUmemorytype, 120]
  dstHost: Annotated[ctypes.c_void_p, 128]
  dstDevice: Annotated[CUdeviceptr, 136]
  dstArray: Annotated[CUarray, 144]
  dstContext: Annotated[CUcontext, 152]
  dstPitch: Annotated[size_t, 160]
  dstHeight: Annotated[size_t, 168]
  WidthInBytes: Annotated[size_t, 176]
  Height: Annotated[size_t, 184]
  Depth: Annotated[size_t, 192]
CUDA_MEMCPY3D_PEER: TypeAlias = struct_CUDA_MEMCPY3D_PEER_st
cuMemcpy3DPeer_ptds_params: TypeAlias = struct_cuMemcpy3DPeer_ptds_params_st
@c.record
class struct_cuMemcpyAsync_ptsz_params_st(c.Struct):
  SIZE = 32
  dst: Annotated[CUdeviceptr, 0]
  src: Annotated[CUdeviceptr, 8]
  ByteCount: Annotated[size_t, 16]
  hStream: Annotated[CUstream, 24]
cuMemcpyAsync_ptsz_params: TypeAlias = struct_cuMemcpyAsync_ptsz_params_st
@c.record
class struct_cuMemcpyPeerAsync_ptsz_params_st(c.Struct):
  SIZE = 48
  dstDevice: Annotated[CUdeviceptr, 0]
  dstContext: Annotated[CUcontext, 8]
  srcDevice: Annotated[CUdeviceptr, 16]
  srcContext: Annotated[CUcontext, 24]
  ByteCount: Annotated[size_t, 32]
  hStream: Annotated[CUstream, 40]
cuMemcpyPeerAsync_ptsz_params: TypeAlias = struct_cuMemcpyPeerAsync_ptsz_params_st
@c.record
class struct_cuMemcpyHtoDAsync_v2_ptsz_params_st(c.Struct):
  SIZE = 32
  dstDevice: Annotated[CUdeviceptr, 0]
  srcHost: Annotated[ctypes.c_void_p, 8]
  ByteCount: Annotated[size_t, 16]
  hStream: Annotated[CUstream, 24]
cuMemcpyHtoDAsync_v2_ptsz_params: TypeAlias = struct_cuMemcpyHtoDAsync_v2_ptsz_params_st
@c.record
class struct_cuMemcpyDtoHAsync_v2_ptsz_params_st(c.Struct):
  SIZE = 32
  dstHost: Annotated[ctypes.c_void_p, 0]
  srcDevice: Annotated[CUdeviceptr, 8]
  ByteCount: Annotated[size_t, 16]
  hStream: Annotated[CUstream, 24]
cuMemcpyDtoHAsync_v2_ptsz_params: TypeAlias = struct_cuMemcpyDtoHAsync_v2_ptsz_params_st
@c.record
class struct_cuMemcpyDtoDAsync_v2_ptsz_params_st(c.Struct):
  SIZE = 32
  dstDevice: Annotated[CUdeviceptr, 0]
  srcDevice: Annotated[CUdeviceptr, 8]
  ByteCount: Annotated[size_t, 16]
  hStream: Annotated[CUstream, 24]
cuMemcpyDtoDAsync_v2_ptsz_params: TypeAlias = struct_cuMemcpyDtoDAsync_v2_ptsz_params_st
@c.record
class struct_cuMemcpyHtoAAsync_v2_ptsz_params_st(c.Struct):
  SIZE = 40
  dstArray: Annotated[CUarray, 0]
  dstOffset: Annotated[size_t, 8]
  srcHost: Annotated[ctypes.c_void_p, 16]
  ByteCount: Annotated[size_t, 24]
  hStream: Annotated[CUstream, 32]
cuMemcpyHtoAAsync_v2_ptsz_params: TypeAlias = struct_cuMemcpyHtoAAsync_v2_ptsz_params_st
@c.record
class struct_cuMemcpyAtoHAsync_v2_ptsz_params_st(c.Struct):
  SIZE = 40
  dstHost: Annotated[ctypes.c_void_p, 0]
  srcArray: Annotated[CUarray, 8]
  srcOffset: Annotated[size_t, 16]
  ByteCount: Annotated[size_t, 24]
  hStream: Annotated[CUstream, 32]
cuMemcpyAtoHAsync_v2_ptsz_params: TypeAlias = struct_cuMemcpyAtoHAsync_v2_ptsz_params_st
@c.record
class struct_cuMemcpy2DAsync_v2_ptsz_params_st(c.Struct):
  SIZE = 16
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY2D], 0]
  hStream: Annotated[CUstream, 8]
cuMemcpy2DAsync_v2_ptsz_params: TypeAlias = struct_cuMemcpy2DAsync_v2_ptsz_params_st
@c.record
class struct_cuMemcpy3DAsync_v2_ptsz_params_st(c.Struct):
  SIZE = 16
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY3D], 0]
  hStream: Annotated[CUstream, 8]
cuMemcpy3DAsync_v2_ptsz_params: TypeAlias = struct_cuMemcpy3DAsync_v2_ptsz_params_st
@c.record
class struct_cuMemcpy3DPeerAsync_ptsz_params_st(c.Struct):
  SIZE = 16
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY3D_PEER], 0]
  hStream: Annotated[CUstream, 8]
cuMemcpy3DPeerAsync_ptsz_params: TypeAlias = struct_cuMemcpy3DPeerAsync_ptsz_params_st
@c.record
class struct_cuMemcpyBatchAsync_ptsz_params_st(c.Struct):
  SIZE = 72
  dsts: Annotated[c.POINTER[CUdeviceptr], 0]
  srcs: Annotated[c.POINTER[CUdeviceptr], 8]
  sizes: Annotated[c.POINTER[size_t], 16]
  count: Annotated[size_t, 24]
  attrs: Annotated[c.POINTER[CUmemcpyAttributes], 32]
  attrsIdxs: Annotated[c.POINTER[size_t], 40]
  numAttrs: Annotated[size_t, 48]
  failIdx: Annotated[c.POINTER[size_t], 56]
  hStream: Annotated[CUstream, 64]
@c.record
class struct_CUmemcpyAttributes_st(c.Struct):
  SIZE = 24
  srcAccessOrder: Annotated[CUmemcpySrcAccessOrder, 0]
  srcLocHint: Annotated[CUmemLocation, 4]
  dstLocHint: Annotated[CUmemLocation, 12]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
CUmemcpyAttributes: TypeAlias = struct_CUmemcpyAttributes_st
class enum_CUmemcpySrcAccessOrder_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MEMCPY_SRC_ACCESS_ORDER_INVALID = enum_CUmemcpySrcAccessOrder_enum.define('CU_MEMCPY_SRC_ACCESS_ORDER_INVALID', 0)
CU_MEMCPY_SRC_ACCESS_ORDER_STREAM = enum_CUmemcpySrcAccessOrder_enum.define('CU_MEMCPY_SRC_ACCESS_ORDER_STREAM', 1)
CU_MEMCPY_SRC_ACCESS_ORDER_DURING_API_CALL = enum_CUmemcpySrcAccessOrder_enum.define('CU_MEMCPY_SRC_ACCESS_ORDER_DURING_API_CALL', 2)
CU_MEMCPY_SRC_ACCESS_ORDER_ANY = enum_CUmemcpySrcAccessOrder_enum.define('CU_MEMCPY_SRC_ACCESS_ORDER_ANY', 3)
CU_MEMCPY_SRC_ACCESS_ORDER_MAX = enum_CUmemcpySrcAccessOrder_enum.define('CU_MEMCPY_SRC_ACCESS_ORDER_MAX', 2147483647)

CUmemcpySrcAccessOrder: TypeAlias = enum_CUmemcpySrcAccessOrder_enum
@c.record
class struct_CUmemLocation_st(c.Struct):
  SIZE = 8
  type: Annotated[CUmemLocationType, 0]
  id: Annotated[Annotated[int, ctypes.c_int32], 4]
CUmemLocation: TypeAlias = struct_CUmemLocation_st
class enum_CUmemLocationType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MEM_LOCATION_TYPE_INVALID = enum_CUmemLocationType_enum.define('CU_MEM_LOCATION_TYPE_INVALID', 0)
CU_MEM_LOCATION_TYPE_DEVICE = enum_CUmemLocationType_enum.define('CU_MEM_LOCATION_TYPE_DEVICE', 1)
CU_MEM_LOCATION_TYPE_HOST = enum_CUmemLocationType_enum.define('CU_MEM_LOCATION_TYPE_HOST', 2)
CU_MEM_LOCATION_TYPE_HOST_NUMA = enum_CUmemLocationType_enum.define('CU_MEM_LOCATION_TYPE_HOST_NUMA', 3)
CU_MEM_LOCATION_TYPE_HOST_NUMA_CURRENT = enum_CUmemLocationType_enum.define('CU_MEM_LOCATION_TYPE_HOST_NUMA_CURRENT', 4)
CU_MEM_LOCATION_TYPE_MAX = enum_CUmemLocationType_enum.define('CU_MEM_LOCATION_TYPE_MAX', 2147483647)

CUmemLocationType: TypeAlias = enum_CUmemLocationType_enum
cuMemcpyBatchAsync_ptsz_params: TypeAlias = struct_cuMemcpyBatchAsync_ptsz_params_st
@c.record
class struct_cuMemcpy3DBatchAsync_ptsz_params_st(c.Struct):
  SIZE = 40
  numOps: Annotated[size_t, 0]
  opList: Annotated[c.POINTER[CUDA_MEMCPY3D_BATCH_OP], 8]
  failIdx: Annotated[c.POINTER[size_t], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 24]
  hStream: Annotated[CUstream, 32]
@c.record
class struct_CUDA_MEMCPY3D_BATCH_OP_st(c.Struct):
  SIZE = 112
  src: Annotated[CUmemcpy3DOperand, 0]
  dst: Annotated[CUmemcpy3DOperand, 40]
  extent: Annotated[CUextent3D, 80]
  srcAccessOrder: Annotated[CUmemcpySrcAccessOrder, 104]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 108]
CUDA_MEMCPY3D_BATCH_OP: TypeAlias = struct_CUDA_MEMCPY3D_BATCH_OP_st
@c.record
class struct_CUmemcpy3DOperand_st(c.Struct):
  SIZE = 40
  type: Annotated[CUmemcpy3DOperandType, 0]
  op: Annotated[struct_CUmemcpy3DOperand_st_op, 8]
CUmemcpy3DOperand: TypeAlias = struct_CUmemcpy3DOperand_st
class enum_CUmemcpy3DOperandType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MEMCPY_OPERAND_TYPE_POINTER = enum_CUmemcpy3DOperandType_enum.define('CU_MEMCPY_OPERAND_TYPE_POINTER', 1)
CU_MEMCPY_OPERAND_TYPE_ARRAY = enum_CUmemcpy3DOperandType_enum.define('CU_MEMCPY_OPERAND_TYPE_ARRAY', 2)
CU_MEMCPY_OPERAND_TYPE_MAX = enum_CUmemcpy3DOperandType_enum.define('CU_MEMCPY_OPERAND_TYPE_MAX', 2147483647)

CUmemcpy3DOperandType: TypeAlias = enum_CUmemcpy3DOperandType_enum
@c.record
class struct_CUmemcpy3DOperand_st_op(c.Struct):
  SIZE = 32
  ptr: Annotated[struct_CUmemcpy3DOperand_st_op_ptr, 0]
  array: Annotated[struct_CUmemcpy3DOperand_st_op_array, 0]
@c.record
class struct_CUmemcpy3DOperand_st_op_ptr(c.Struct):
  SIZE = 32
  ptr: Annotated[CUdeviceptr, 0]
  rowLength: Annotated[size_t, 8]
  layerHeight: Annotated[size_t, 16]
  locHint: Annotated[CUmemLocation, 24]
@c.record
class struct_CUmemcpy3DOperand_st_op_array(c.Struct):
  SIZE = 32
  array: Annotated[CUarray, 0]
  offset: Annotated[CUoffset3D, 8]
@c.record
class struct_CUoffset3D_st(c.Struct):
  SIZE = 24
  x: Annotated[size_t, 0]
  y: Annotated[size_t, 8]
  z: Annotated[size_t, 16]
CUoffset3D: TypeAlias = struct_CUoffset3D_st
@c.record
class struct_CUextent3D_st(c.Struct):
  SIZE = 24
  width: Annotated[size_t, 0]
  height: Annotated[size_t, 8]
  depth: Annotated[size_t, 16]
CUextent3D: TypeAlias = struct_CUextent3D_st
cuMemcpy3DBatchAsync_ptsz_params: TypeAlias = struct_cuMemcpy3DBatchAsync_ptsz_params_st
@c.record
class struct_cuMemsetD8_v2_ptds_params_st(c.Struct):
  SIZE = 24
  dstDevice: Annotated[CUdeviceptr, 0]
  uc: Annotated[Annotated[int, ctypes.c_ubyte], 8]
  N: Annotated[size_t, 16]
cuMemsetD8_v2_ptds_params: TypeAlias = struct_cuMemsetD8_v2_ptds_params_st
@c.record
class struct_cuMemsetD16_v2_ptds_params_st(c.Struct):
  SIZE = 24
  dstDevice: Annotated[CUdeviceptr, 0]
  us: Annotated[Annotated[int, ctypes.c_uint16], 8]
  N: Annotated[size_t, 16]
cuMemsetD16_v2_ptds_params: TypeAlias = struct_cuMemsetD16_v2_ptds_params_st
@c.record
class struct_cuMemsetD32_v2_ptds_params_st(c.Struct):
  SIZE = 24
  dstDevice: Annotated[CUdeviceptr, 0]
  ui: Annotated[Annotated[int, ctypes.c_uint32], 8]
  N: Annotated[size_t, 16]
cuMemsetD32_v2_ptds_params: TypeAlias = struct_cuMemsetD32_v2_ptds_params_st
@c.record
class struct_cuMemsetD2D8_v2_ptds_params_st(c.Struct):
  SIZE = 40
  dstDevice: Annotated[CUdeviceptr, 0]
  dstPitch: Annotated[size_t, 8]
  uc: Annotated[Annotated[int, ctypes.c_ubyte], 16]
  Width: Annotated[size_t, 24]
  Height: Annotated[size_t, 32]
cuMemsetD2D8_v2_ptds_params: TypeAlias = struct_cuMemsetD2D8_v2_ptds_params_st
@c.record
class struct_cuMemsetD2D16_v2_ptds_params_st(c.Struct):
  SIZE = 40
  dstDevice: Annotated[CUdeviceptr, 0]
  dstPitch: Annotated[size_t, 8]
  us: Annotated[Annotated[int, ctypes.c_uint16], 16]
  Width: Annotated[size_t, 24]
  Height: Annotated[size_t, 32]
cuMemsetD2D16_v2_ptds_params: TypeAlias = struct_cuMemsetD2D16_v2_ptds_params_st
@c.record
class struct_cuMemsetD2D32_v2_ptds_params_st(c.Struct):
  SIZE = 40
  dstDevice: Annotated[CUdeviceptr, 0]
  dstPitch: Annotated[size_t, 8]
  ui: Annotated[Annotated[int, ctypes.c_uint32], 16]
  Width: Annotated[size_t, 24]
  Height: Annotated[size_t, 32]
cuMemsetD2D32_v2_ptds_params: TypeAlias = struct_cuMemsetD2D32_v2_ptds_params_st
@c.record
class struct_cuMemsetD8Async_ptsz_params_st(c.Struct):
  SIZE = 32
  dstDevice: Annotated[CUdeviceptr, 0]
  uc: Annotated[Annotated[int, ctypes.c_ubyte], 8]
  N: Annotated[size_t, 16]
  hStream: Annotated[CUstream, 24]
cuMemsetD8Async_ptsz_params: TypeAlias = struct_cuMemsetD8Async_ptsz_params_st
@c.record
class struct_cuMemsetD16Async_ptsz_params_st(c.Struct):
  SIZE = 32
  dstDevice: Annotated[CUdeviceptr, 0]
  us: Annotated[Annotated[int, ctypes.c_uint16], 8]
  N: Annotated[size_t, 16]
  hStream: Annotated[CUstream, 24]
cuMemsetD16Async_ptsz_params: TypeAlias = struct_cuMemsetD16Async_ptsz_params_st
@c.record
class struct_cuMemsetD32Async_ptsz_params_st(c.Struct):
  SIZE = 32
  dstDevice: Annotated[CUdeviceptr, 0]
  ui: Annotated[Annotated[int, ctypes.c_uint32], 8]
  N: Annotated[size_t, 16]
  hStream: Annotated[CUstream, 24]
cuMemsetD32Async_ptsz_params: TypeAlias = struct_cuMemsetD32Async_ptsz_params_st
@c.record
class struct_cuMemsetD2D8Async_ptsz_params_st(c.Struct):
  SIZE = 48
  dstDevice: Annotated[CUdeviceptr, 0]
  dstPitch: Annotated[size_t, 8]
  uc: Annotated[Annotated[int, ctypes.c_ubyte], 16]
  Width: Annotated[size_t, 24]
  Height: Annotated[size_t, 32]
  hStream: Annotated[CUstream, 40]
cuMemsetD2D8Async_ptsz_params: TypeAlias = struct_cuMemsetD2D8Async_ptsz_params_st
@c.record
class struct_cuMemsetD2D16Async_ptsz_params_st(c.Struct):
  SIZE = 48
  dstDevice: Annotated[CUdeviceptr, 0]
  dstPitch: Annotated[size_t, 8]
  us: Annotated[Annotated[int, ctypes.c_uint16], 16]
  Width: Annotated[size_t, 24]
  Height: Annotated[size_t, 32]
  hStream: Annotated[CUstream, 40]
cuMemsetD2D16Async_ptsz_params: TypeAlias = struct_cuMemsetD2D16Async_ptsz_params_st
@c.record
class struct_cuMemsetD2D32Async_ptsz_params_st(c.Struct):
  SIZE = 48
  dstDevice: Annotated[CUdeviceptr, 0]
  dstPitch: Annotated[size_t, 8]
  ui: Annotated[Annotated[int, ctypes.c_uint32], 16]
  Width: Annotated[size_t, 24]
  Height: Annotated[size_t, 32]
  hStream: Annotated[CUstream, 40]
cuMemsetD2D32Async_ptsz_params: TypeAlias = struct_cuMemsetD2D32Async_ptsz_params_st
@c.record
class struct_cuArrayCreate_v2_params_st(c.Struct):
  SIZE = 16
  pHandle: Annotated[c.POINTER[CUarray], 0]
  pAllocateArray: Annotated[c.POINTER[CUDA_ARRAY_DESCRIPTOR], 8]
@c.record
class struct_CUDA_ARRAY_DESCRIPTOR_st(c.Struct):
  SIZE = 24
  Width: Annotated[size_t, 0]
  Height: Annotated[size_t, 8]
  Format: Annotated[CUarray_format, 16]
  NumChannels: Annotated[Annotated[int, ctypes.c_uint32], 20]
CUDA_ARRAY_DESCRIPTOR: TypeAlias = struct_CUDA_ARRAY_DESCRIPTOR_st
cuArrayCreate_v2_params: TypeAlias = struct_cuArrayCreate_v2_params_st
@c.record
class struct_cuArrayGetDescriptor_v2_params_st(c.Struct):
  SIZE = 16
  pArrayDescriptor: Annotated[c.POINTER[CUDA_ARRAY_DESCRIPTOR], 0]
  hArray: Annotated[CUarray, 8]
cuArrayGetDescriptor_v2_params: TypeAlias = struct_cuArrayGetDescriptor_v2_params_st
@c.record
class struct_cuArrayGetSparseProperties_params_st(c.Struct):
  SIZE = 16
  sparseProperties: Annotated[c.POINTER[CUDA_ARRAY_SPARSE_PROPERTIES], 0]
  array: Annotated[CUarray, 8]
@c.record
class struct_CUDA_ARRAY_SPARSE_PROPERTIES_st(c.Struct):
  SIZE = 48
  tileExtent: Annotated[struct_CUDA_ARRAY_SPARSE_PROPERTIES_st_tileExtent, 0]
  miptailFirstLevel: Annotated[Annotated[int, ctypes.c_uint32], 12]
  miptailSize: Annotated[Annotated[int, ctypes.c_uint64], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[4]], 28]
CUDA_ARRAY_SPARSE_PROPERTIES: TypeAlias = struct_CUDA_ARRAY_SPARSE_PROPERTIES_st
@c.record
class struct_CUDA_ARRAY_SPARSE_PROPERTIES_st_tileExtent(c.Struct):
  SIZE = 12
  width: Annotated[Annotated[int, ctypes.c_uint32], 0]
  height: Annotated[Annotated[int, ctypes.c_uint32], 4]
  depth: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuArrayGetSparseProperties_params: TypeAlias = struct_cuArrayGetSparseProperties_params_st
@c.record
class struct_cuMipmappedArrayGetSparseProperties_params_st(c.Struct):
  SIZE = 16
  sparseProperties: Annotated[c.POINTER[CUDA_ARRAY_SPARSE_PROPERTIES], 0]
  mipmap: Annotated[CUmipmappedArray, 8]
class struct_CUmipmappedArray_st(ctypes.Structure): pass
CUmipmappedArray: TypeAlias = c.POINTER[struct_CUmipmappedArray_st]
cuMipmappedArrayGetSparseProperties_params: TypeAlias = struct_cuMipmappedArrayGetSparseProperties_params_st
@c.record
class struct_cuArrayGetMemoryRequirements_params_st(c.Struct):
  SIZE = 24
  memoryRequirements: Annotated[c.POINTER[CUDA_ARRAY_MEMORY_REQUIREMENTS], 0]
  array: Annotated[CUarray, 8]
  device: Annotated[CUdevice, 16]
@c.record
class struct_CUDA_ARRAY_MEMORY_REQUIREMENTS_st(c.Struct):
  SIZE = 32
  size: Annotated[size_t, 0]
  alignment: Annotated[size_t, 8]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[4]], 16]
CUDA_ARRAY_MEMORY_REQUIREMENTS: TypeAlias = struct_CUDA_ARRAY_MEMORY_REQUIREMENTS_st
cuArrayGetMemoryRequirements_params: TypeAlias = struct_cuArrayGetMemoryRequirements_params_st
@c.record
class struct_cuMipmappedArrayGetMemoryRequirements_params_st(c.Struct):
  SIZE = 24
  memoryRequirements: Annotated[c.POINTER[CUDA_ARRAY_MEMORY_REQUIREMENTS], 0]
  mipmap: Annotated[CUmipmappedArray, 8]
  device: Annotated[CUdevice, 16]
cuMipmappedArrayGetMemoryRequirements_params: TypeAlias = struct_cuMipmappedArrayGetMemoryRequirements_params_st
@c.record
class struct_cuArrayGetPlane_params_st(c.Struct):
  SIZE = 24
  pPlaneArray: Annotated[c.POINTER[CUarray], 0]
  hArray: Annotated[CUarray, 8]
  planeIdx: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuArrayGetPlane_params: TypeAlias = struct_cuArrayGetPlane_params_st
@c.record
class struct_cuArrayDestroy_params_st(c.Struct):
  SIZE = 8
  hArray: Annotated[CUarray, 0]
cuArrayDestroy_params: TypeAlias = struct_cuArrayDestroy_params_st
@c.record
class struct_cuArray3DCreate_v2_params_st(c.Struct):
  SIZE = 16
  pHandle: Annotated[c.POINTER[CUarray], 0]
  pAllocateArray: Annotated[c.POINTER[CUDA_ARRAY3D_DESCRIPTOR], 8]
@c.record
class struct_CUDA_ARRAY3D_DESCRIPTOR_st(c.Struct):
  SIZE = 40
  Width: Annotated[size_t, 0]
  Height: Annotated[size_t, 8]
  Depth: Annotated[size_t, 16]
  Format: Annotated[CUarray_format, 24]
  NumChannels: Annotated[Annotated[int, ctypes.c_uint32], 28]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 32]
CUDA_ARRAY3D_DESCRIPTOR: TypeAlias = struct_CUDA_ARRAY3D_DESCRIPTOR_st
cuArray3DCreate_v2_params: TypeAlias = struct_cuArray3DCreate_v2_params_st
@c.record
class struct_cuArray3DGetDescriptor_v2_params_st(c.Struct):
  SIZE = 16
  pArrayDescriptor: Annotated[c.POINTER[CUDA_ARRAY3D_DESCRIPTOR], 0]
  hArray: Annotated[CUarray, 8]
cuArray3DGetDescriptor_v2_params: TypeAlias = struct_cuArray3DGetDescriptor_v2_params_st
@c.record
class struct_cuMipmappedArrayCreate_params_st(c.Struct):
  SIZE = 24
  pHandle: Annotated[c.POINTER[CUmipmappedArray], 0]
  pMipmappedArrayDesc: Annotated[c.POINTER[CUDA_ARRAY3D_DESCRIPTOR], 8]
  numMipmapLevels: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuMipmappedArrayCreate_params: TypeAlias = struct_cuMipmappedArrayCreate_params_st
@c.record
class struct_cuMipmappedArrayGetLevel_params_st(c.Struct):
  SIZE = 24
  pLevelArray: Annotated[c.POINTER[CUarray], 0]
  hMipmappedArray: Annotated[CUmipmappedArray, 8]
  level: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuMipmappedArrayGetLevel_params: TypeAlias = struct_cuMipmappedArrayGetLevel_params_st
@c.record
class struct_cuMipmappedArrayDestroy_params_st(c.Struct):
  SIZE = 8
  hMipmappedArray: Annotated[CUmipmappedArray, 0]
cuMipmappedArrayDestroy_params: TypeAlias = struct_cuMipmappedArrayDestroy_params_st
@c.record
class struct_cuMemGetHandleForAddressRange_params_st(c.Struct):
  SIZE = 40
  handle: Annotated[ctypes.c_void_p, 0]
  dptr: Annotated[CUdeviceptr, 8]
  size: Annotated[size_t, 16]
  handleType: Annotated[CUmemRangeHandleType, 24]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 32]
class enum_CUmemRangeHandleType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MEM_RANGE_HANDLE_TYPE_DMA_BUF_FD = enum_CUmemRangeHandleType_enum.define('CU_MEM_RANGE_HANDLE_TYPE_DMA_BUF_FD', 1)
CU_MEM_RANGE_HANDLE_TYPE_MAX = enum_CUmemRangeHandleType_enum.define('CU_MEM_RANGE_HANDLE_TYPE_MAX', 2147483647)

CUmemRangeHandleType: TypeAlias = enum_CUmemRangeHandleType_enum
cuMemGetHandleForAddressRange_params: TypeAlias = struct_cuMemGetHandleForAddressRange_params_st
@c.record
class struct_cuMemBatchDecompressAsync_ptsz_params_st(c.Struct):
  SIZE = 40
  paramsArray: Annotated[c.POINTER[CUmemDecompressParams], 0]
  count: Annotated[size_t, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
  errorIndex: Annotated[c.POINTER[size_t], 24]
  stream: Annotated[CUstream, 32]
@c.record
class struct_CUmemDecompressParams_st(c.Struct):
  SIZE = 64
  srcNumBytes: Annotated[size_t, 0]
  dstNumBytes: Annotated[size_t, 8]
  dstActBytes: Annotated[c.POINTER[cuuint32_t], 16]
  src: Annotated[ctypes.c_void_p, 24]
  dst: Annotated[ctypes.c_void_p, 32]
  algo: Annotated[CUmemDecompressAlgorithm, 40]
  padding: Annotated[c.Array[Annotated[int, ctypes.c_ubyte], Literal[20]], 44]
CUmemDecompressParams: TypeAlias = struct_CUmemDecompressParams_st
cuuint32_t: TypeAlias = Annotated[int, ctypes.c_uint32]
class enum_CUmemDecompressAlgorithm_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MEM_DECOMPRESS_UNSUPPORTED = enum_CUmemDecompressAlgorithm_enum.define('CU_MEM_DECOMPRESS_UNSUPPORTED', 0)
CU_MEM_DECOMPRESS_ALGORITHM_DEFLATE = enum_CUmemDecompressAlgorithm_enum.define('CU_MEM_DECOMPRESS_ALGORITHM_DEFLATE', 1)
CU_MEM_DECOMPRESS_ALGORITHM_SNAPPY = enum_CUmemDecompressAlgorithm_enum.define('CU_MEM_DECOMPRESS_ALGORITHM_SNAPPY', 2)

CUmemDecompressAlgorithm: TypeAlias = enum_CUmemDecompressAlgorithm_enum
cuMemBatchDecompressAsync_ptsz_params: TypeAlias = struct_cuMemBatchDecompressAsync_ptsz_params_st
@c.record
class struct_cuMemAddressReserve_params_st(c.Struct):
  SIZE = 40
  ptr: Annotated[c.POINTER[CUdeviceptr], 0]
  size: Annotated[size_t, 8]
  alignment: Annotated[size_t, 16]
  addr: Annotated[CUdeviceptr, 24]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 32]
cuMemAddressReserve_params: TypeAlias = struct_cuMemAddressReserve_params_st
@c.record
class struct_cuMemAddressFree_params_st(c.Struct):
  SIZE = 16
  ptr: Annotated[CUdeviceptr, 0]
  size: Annotated[size_t, 8]
cuMemAddressFree_params: TypeAlias = struct_cuMemAddressFree_params_st
@c.record
class struct_cuMemCreate_params_st(c.Struct):
  SIZE = 32
  handle: Annotated[c.POINTER[CUmemGenericAllocationHandle], 0]
  size: Annotated[size_t, 8]
  prop: Annotated[c.POINTER[CUmemAllocationProp], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 24]
CUmemGenericAllocationHandle: TypeAlias = Annotated[int, ctypes.c_uint64]
@c.record
class struct_CUmemAllocationProp_st(c.Struct):
  SIZE = 32
  type: Annotated[CUmemAllocationType, 0]
  requestedHandleTypes: Annotated[CUmemAllocationHandleType, 4]
  location: Annotated[CUmemLocation, 8]
  win32HandleMetaData: Annotated[ctypes.c_void_p, 16]
  allocFlags: Annotated[struct_CUmemAllocationProp_st_allocFlags, 24]
CUmemAllocationProp: TypeAlias = struct_CUmemAllocationProp_st
class enum_CUmemAllocationType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MEM_ALLOCATION_TYPE_INVALID = enum_CUmemAllocationType_enum.define('CU_MEM_ALLOCATION_TYPE_INVALID', 0)
CU_MEM_ALLOCATION_TYPE_PINNED = enum_CUmemAllocationType_enum.define('CU_MEM_ALLOCATION_TYPE_PINNED', 1)
CU_MEM_ALLOCATION_TYPE_MAX = enum_CUmemAllocationType_enum.define('CU_MEM_ALLOCATION_TYPE_MAX', 2147483647)

CUmemAllocationType: TypeAlias = enum_CUmemAllocationType_enum
class enum_CUmemAllocationHandleType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MEM_HANDLE_TYPE_NONE = enum_CUmemAllocationHandleType_enum.define('CU_MEM_HANDLE_TYPE_NONE', 0)
CU_MEM_HANDLE_TYPE_POSIX_FILE_DESCRIPTOR = enum_CUmemAllocationHandleType_enum.define('CU_MEM_HANDLE_TYPE_POSIX_FILE_DESCRIPTOR', 1)
CU_MEM_HANDLE_TYPE_WIN32 = enum_CUmemAllocationHandleType_enum.define('CU_MEM_HANDLE_TYPE_WIN32', 2)
CU_MEM_HANDLE_TYPE_WIN32_KMT = enum_CUmemAllocationHandleType_enum.define('CU_MEM_HANDLE_TYPE_WIN32_KMT', 4)
CU_MEM_HANDLE_TYPE_FABRIC = enum_CUmemAllocationHandleType_enum.define('CU_MEM_HANDLE_TYPE_FABRIC', 8)
CU_MEM_HANDLE_TYPE_MAX = enum_CUmemAllocationHandleType_enum.define('CU_MEM_HANDLE_TYPE_MAX', 2147483647)

CUmemAllocationHandleType: TypeAlias = enum_CUmemAllocationHandleType_enum
@c.record
class struct_CUmemAllocationProp_st_allocFlags(c.Struct):
  SIZE = 8
  compressionType: Annotated[Annotated[int, ctypes.c_ubyte], 0]
  gpuDirectRDMACapable: Annotated[Annotated[int, ctypes.c_ubyte], 1]
  usage: Annotated[Annotated[int, ctypes.c_uint16], 2]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_ubyte], Literal[4]], 4]
cuMemCreate_params: TypeAlias = struct_cuMemCreate_params_st
@c.record
class struct_cuMemRelease_params_st(c.Struct):
  SIZE = 8
  handle: Annotated[CUmemGenericAllocationHandle, 0]
cuMemRelease_params: TypeAlias = struct_cuMemRelease_params_st
@c.record
class struct_cuMemMap_params_st(c.Struct):
  SIZE = 40
  ptr: Annotated[CUdeviceptr, 0]
  size: Annotated[size_t, 8]
  offset: Annotated[size_t, 16]
  handle: Annotated[CUmemGenericAllocationHandle, 24]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 32]
cuMemMap_params: TypeAlias = struct_cuMemMap_params_st
@c.record
class struct_cuMemMapArrayAsync_ptsz_params_st(c.Struct):
  SIZE = 24
  mapInfoList: Annotated[c.POINTER[CUarrayMapInfo], 0]
  count: Annotated[Annotated[int, ctypes.c_uint32], 8]
  hStream: Annotated[CUstream, 16]
@c.record
class struct_CUarrayMapInfo_st(c.Struct):
  SIZE = 96
  resourceType: Annotated[CUresourcetype, 0]
  resource: Annotated[struct_CUarrayMapInfo_st_resource, 8]
  subresourceType: Annotated[CUarraySparseSubresourceType, 16]
  subresource: Annotated[struct_CUarrayMapInfo_st_subresource, 24]
  memOperationType: Annotated[CUmemOperationType, 56]
  memHandleType: Annotated[CUmemHandleType, 60]
  memHandle: Annotated[struct_CUarrayMapInfo_st_memHandle, 64]
  offset: Annotated[Annotated[int, ctypes.c_uint64], 72]
  deviceBitMask: Annotated[Annotated[int, ctypes.c_uint32], 80]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 84]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[2]], 88]
CUarrayMapInfo: TypeAlias = struct_CUarrayMapInfo_st
class enum_CUresourcetype_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_RESOURCE_TYPE_ARRAY = enum_CUresourcetype_enum.define('CU_RESOURCE_TYPE_ARRAY', 0)
CU_RESOURCE_TYPE_MIPMAPPED_ARRAY = enum_CUresourcetype_enum.define('CU_RESOURCE_TYPE_MIPMAPPED_ARRAY', 1)
CU_RESOURCE_TYPE_LINEAR = enum_CUresourcetype_enum.define('CU_RESOURCE_TYPE_LINEAR', 2)
CU_RESOURCE_TYPE_PITCH2D = enum_CUresourcetype_enum.define('CU_RESOURCE_TYPE_PITCH2D', 3)

CUresourcetype: TypeAlias = enum_CUresourcetype_enum
@c.record
class struct_CUarrayMapInfo_st_resource(c.Struct):
  SIZE = 8
  mipmap: Annotated[CUmipmappedArray, 0]
  array: Annotated[CUarray, 0]
class enum_CUarraySparseSubresourceType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_ARRAY_SPARSE_SUBRESOURCE_TYPE_SPARSE_LEVEL = enum_CUarraySparseSubresourceType_enum.define('CU_ARRAY_SPARSE_SUBRESOURCE_TYPE_SPARSE_LEVEL', 0)
CU_ARRAY_SPARSE_SUBRESOURCE_TYPE_MIPTAIL = enum_CUarraySparseSubresourceType_enum.define('CU_ARRAY_SPARSE_SUBRESOURCE_TYPE_MIPTAIL', 1)

CUarraySparseSubresourceType: TypeAlias = enum_CUarraySparseSubresourceType_enum
@c.record
class struct_CUarrayMapInfo_st_subresource(c.Struct):
  SIZE = 32
  sparseLevel: Annotated[struct_CUarrayMapInfo_st_subresource_sparseLevel, 0]
  miptail: Annotated[struct_CUarrayMapInfo_st_subresource_miptail, 0]
@c.record
class struct_CUarrayMapInfo_st_subresource_sparseLevel(c.Struct):
  SIZE = 32
  level: Annotated[Annotated[int, ctypes.c_uint32], 0]
  layer: Annotated[Annotated[int, ctypes.c_uint32], 4]
  offsetX: Annotated[Annotated[int, ctypes.c_uint32], 8]
  offsetY: Annotated[Annotated[int, ctypes.c_uint32], 12]
  offsetZ: Annotated[Annotated[int, ctypes.c_uint32], 16]
  extentWidth: Annotated[Annotated[int, ctypes.c_uint32], 20]
  extentHeight: Annotated[Annotated[int, ctypes.c_uint32], 24]
  extentDepth: Annotated[Annotated[int, ctypes.c_uint32], 28]
@c.record
class struct_CUarrayMapInfo_st_subresource_miptail(c.Struct):
  SIZE = 24
  layer: Annotated[Annotated[int, ctypes.c_uint32], 0]
  offset: Annotated[Annotated[int, ctypes.c_uint64], 8]
  size: Annotated[Annotated[int, ctypes.c_uint64], 16]
class enum_CUmemOperationType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MEM_OPERATION_TYPE_MAP = enum_CUmemOperationType_enum.define('CU_MEM_OPERATION_TYPE_MAP', 1)
CU_MEM_OPERATION_TYPE_UNMAP = enum_CUmemOperationType_enum.define('CU_MEM_OPERATION_TYPE_UNMAP', 2)

CUmemOperationType: TypeAlias = enum_CUmemOperationType_enum
class enum_CUmemHandleType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MEM_HANDLE_TYPE_GENERIC = enum_CUmemHandleType_enum.define('CU_MEM_HANDLE_TYPE_GENERIC', 0)

CUmemHandleType: TypeAlias = enum_CUmemHandleType_enum
@c.record
class struct_CUarrayMapInfo_st_memHandle(c.Struct):
  SIZE = 8
  memHandle: Annotated[CUmemGenericAllocationHandle, 0]
cuMemMapArrayAsync_ptsz_params: TypeAlias = struct_cuMemMapArrayAsync_ptsz_params_st
@c.record
class struct_cuMemUnmap_params_st(c.Struct):
  SIZE = 16
  ptr: Annotated[CUdeviceptr, 0]
  size: Annotated[size_t, 8]
cuMemUnmap_params: TypeAlias = struct_cuMemUnmap_params_st
@c.record
class struct_cuMemSetAccess_params_st(c.Struct):
  SIZE = 32
  ptr: Annotated[CUdeviceptr, 0]
  size: Annotated[size_t, 8]
  desc: Annotated[c.POINTER[CUmemAccessDesc], 16]
  count: Annotated[size_t, 24]
@c.record
class struct_CUmemAccessDesc_st(c.Struct):
  SIZE = 12
  location: Annotated[CUmemLocation, 0]
  flags: Annotated[CUmemAccess_flags, 8]
CUmemAccessDesc: TypeAlias = struct_CUmemAccessDesc_st
class enum_CUmemAccess_flags_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MEM_ACCESS_FLAGS_PROT_NONE = enum_CUmemAccess_flags_enum.define('CU_MEM_ACCESS_FLAGS_PROT_NONE', 0)
CU_MEM_ACCESS_FLAGS_PROT_READ = enum_CUmemAccess_flags_enum.define('CU_MEM_ACCESS_FLAGS_PROT_READ', 1)
CU_MEM_ACCESS_FLAGS_PROT_READWRITE = enum_CUmemAccess_flags_enum.define('CU_MEM_ACCESS_FLAGS_PROT_READWRITE', 3)
CU_MEM_ACCESS_FLAGS_PROT_MAX = enum_CUmemAccess_flags_enum.define('CU_MEM_ACCESS_FLAGS_PROT_MAX', 2147483647)

CUmemAccess_flags: TypeAlias = enum_CUmemAccess_flags_enum
cuMemSetAccess_params: TypeAlias = struct_cuMemSetAccess_params_st
@c.record
class struct_cuMemGetAccess_params_st(c.Struct):
  SIZE = 24
  flags: Annotated[c.POINTER[Annotated[int, ctypes.c_uint64]], 0]
  location: Annotated[c.POINTER[CUmemLocation], 8]
  ptr: Annotated[CUdeviceptr, 16]
cuMemGetAccess_params: TypeAlias = struct_cuMemGetAccess_params_st
@c.record
class struct_cuMemExportToShareableHandle_params_st(c.Struct):
  SIZE = 32
  shareableHandle: Annotated[ctypes.c_void_p, 0]
  handle: Annotated[CUmemGenericAllocationHandle, 8]
  handleType: Annotated[CUmemAllocationHandleType, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 24]
cuMemExportToShareableHandle_params: TypeAlias = struct_cuMemExportToShareableHandle_params_st
@c.record
class struct_cuMemImportFromShareableHandle_params_st(c.Struct):
  SIZE = 24
  handle: Annotated[c.POINTER[CUmemGenericAllocationHandle], 0]
  osHandle: Annotated[ctypes.c_void_p, 8]
  shHandleType: Annotated[CUmemAllocationHandleType, 16]
cuMemImportFromShareableHandle_params: TypeAlias = struct_cuMemImportFromShareableHandle_params_st
@c.record
class struct_cuMemGetAllocationGranularity_params_st(c.Struct):
  SIZE = 24
  granularity: Annotated[c.POINTER[size_t], 0]
  prop: Annotated[c.POINTER[CUmemAllocationProp], 8]
  option: Annotated[CUmemAllocationGranularity_flags, 16]
class enum_CUmemAllocationGranularity_flags_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MEM_ALLOC_GRANULARITY_MINIMUM = enum_CUmemAllocationGranularity_flags_enum.define('CU_MEM_ALLOC_GRANULARITY_MINIMUM', 0)
CU_MEM_ALLOC_GRANULARITY_RECOMMENDED = enum_CUmemAllocationGranularity_flags_enum.define('CU_MEM_ALLOC_GRANULARITY_RECOMMENDED', 1)

CUmemAllocationGranularity_flags: TypeAlias = enum_CUmemAllocationGranularity_flags_enum
cuMemGetAllocationGranularity_params: TypeAlias = struct_cuMemGetAllocationGranularity_params_st
@c.record
class struct_cuMemGetAllocationPropertiesFromHandle_params_st(c.Struct):
  SIZE = 16
  prop: Annotated[c.POINTER[CUmemAllocationProp], 0]
  handle: Annotated[CUmemGenericAllocationHandle, 8]
cuMemGetAllocationPropertiesFromHandle_params: TypeAlias = struct_cuMemGetAllocationPropertiesFromHandle_params_st
@c.record
class struct_cuMemRetainAllocationHandle_params_st(c.Struct):
  SIZE = 16
  handle: Annotated[c.POINTER[CUmemGenericAllocationHandle], 0]
  addr: Annotated[ctypes.c_void_p, 8]
cuMemRetainAllocationHandle_params: TypeAlias = struct_cuMemRetainAllocationHandle_params_st
@c.record
class struct_cuMemFreeAsync_ptsz_params_st(c.Struct):
  SIZE = 16
  dptr: Annotated[CUdeviceptr, 0]
  hStream: Annotated[CUstream, 8]
cuMemFreeAsync_ptsz_params: TypeAlias = struct_cuMemFreeAsync_ptsz_params_st
@c.record
class struct_cuMemAllocAsync_ptsz_params_st(c.Struct):
  SIZE = 24
  dptr: Annotated[c.POINTER[CUdeviceptr], 0]
  bytesize: Annotated[size_t, 8]
  hStream: Annotated[CUstream, 16]
cuMemAllocAsync_ptsz_params: TypeAlias = struct_cuMemAllocAsync_ptsz_params_st
@c.record
class struct_cuMemPoolTrimTo_params_st(c.Struct):
  SIZE = 16
  pool: Annotated[CUmemoryPool, 0]
  minBytesToKeep: Annotated[size_t, 8]
cuMemPoolTrimTo_params: TypeAlias = struct_cuMemPoolTrimTo_params_st
@c.record
class struct_cuMemPoolSetAttribute_params_st(c.Struct):
  SIZE = 24
  pool: Annotated[CUmemoryPool, 0]
  attr: Annotated[CUmemPool_attribute, 8]
  value: Annotated[ctypes.c_void_p, 16]
class enum_CUmemPool_attribute_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MEMPOOL_ATTR_REUSE_FOLLOW_EVENT_DEPENDENCIES = enum_CUmemPool_attribute_enum.define('CU_MEMPOOL_ATTR_REUSE_FOLLOW_EVENT_DEPENDENCIES', 1)
CU_MEMPOOL_ATTR_REUSE_ALLOW_OPPORTUNISTIC = enum_CUmemPool_attribute_enum.define('CU_MEMPOOL_ATTR_REUSE_ALLOW_OPPORTUNISTIC', 2)
CU_MEMPOOL_ATTR_REUSE_ALLOW_INTERNAL_DEPENDENCIES = enum_CUmemPool_attribute_enum.define('CU_MEMPOOL_ATTR_REUSE_ALLOW_INTERNAL_DEPENDENCIES', 3)
CU_MEMPOOL_ATTR_RELEASE_THRESHOLD = enum_CUmemPool_attribute_enum.define('CU_MEMPOOL_ATTR_RELEASE_THRESHOLD', 4)
CU_MEMPOOL_ATTR_RESERVED_MEM_CURRENT = enum_CUmemPool_attribute_enum.define('CU_MEMPOOL_ATTR_RESERVED_MEM_CURRENT', 5)
CU_MEMPOOL_ATTR_RESERVED_MEM_HIGH = enum_CUmemPool_attribute_enum.define('CU_MEMPOOL_ATTR_RESERVED_MEM_HIGH', 6)
CU_MEMPOOL_ATTR_USED_MEM_CURRENT = enum_CUmemPool_attribute_enum.define('CU_MEMPOOL_ATTR_USED_MEM_CURRENT', 7)
CU_MEMPOOL_ATTR_USED_MEM_HIGH = enum_CUmemPool_attribute_enum.define('CU_MEMPOOL_ATTR_USED_MEM_HIGH', 8)

CUmemPool_attribute: TypeAlias = enum_CUmemPool_attribute_enum
cuMemPoolSetAttribute_params: TypeAlias = struct_cuMemPoolSetAttribute_params_st
@c.record
class struct_cuMemPoolGetAttribute_params_st(c.Struct):
  SIZE = 24
  pool: Annotated[CUmemoryPool, 0]
  attr: Annotated[CUmemPool_attribute, 8]
  value: Annotated[ctypes.c_void_p, 16]
cuMemPoolGetAttribute_params: TypeAlias = struct_cuMemPoolGetAttribute_params_st
@c.record
class struct_cuMemPoolSetAccess_params_st(c.Struct):
  SIZE = 24
  pool: Annotated[CUmemoryPool, 0]
  map: Annotated[c.POINTER[CUmemAccessDesc], 8]
  count: Annotated[size_t, 16]
cuMemPoolSetAccess_params: TypeAlias = struct_cuMemPoolSetAccess_params_st
@c.record
class struct_cuMemPoolGetAccess_params_st(c.Struct):
  SIZE = 24
  flags: Annotated[c.POINTER[CUmemAccess_flags], 0]
  memPool: Annotated[CUmemoryPool, 8]
  location: Annotated[c.POINTER[CUmemLocation], 16]
cuMemPoolGetAccess_params: TypeAlias = struct_cuMemPoolGetAccess_params_st
@c.record
class struct_cuMemPoolCreate_params_st(c.Struct):
  SIZE = 16
  pool: Annotated[c.POINTER[CUmemoryPool], 0]
  poolProps: Annotated[c.POINTER[CUmemPoolProps], 8]
@c.record
class struct_CUmemPoolProps_st(c.Struct):
  SIZE = 88
  allocType: Annotated[CUmemAllocationType, 0]
  handleTypes: Annotated[CUmemAllocationHandleType, 4]
  location: Annotated[CUmemLocation, 8]
  win32SecurityAttributes: Annotated[ctypes.c_void_p, 16]
  maxSize: Annotated[size_t, 24]
  usage: Annotated[Annotated[int, ctypes.c_uint16], 32]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_ubyte], Literal[54]], 34]
CUmemPoolProps: TypeAlias = struct_CUmemPoolProps_st
cuMemPoolCreate_params: TypeAlias = struct_cuMemPoolCreate_params_st
@c.record
class struct_cuMemPoolDestroy_params_st(c.Struct):
  SIZE = 8
  pool: Annotated[CUmemoryPool, 0]
cuMemPoolDestroy_params: TypeAlias = struct_cuMemPoolDestroy_params_st
@c.record
class struct_cuMemAllocFromPoolAsync_ptsz_params_st(c.Struct):
  SIZE = 32
  dptr: Annotated[c.POINTER[CUdeviceptr], 0]
  bytesize: Annotated[size_t, 8]
  pool: Annotated[CUmemoryPool, 16]
  hStream: Annotated[CUstream, 24]
cuMemAllocFromPoolAsync_ptsz_params: TypeAlias = struct_cuMemAllocFromPoolAsync_ptsz_params_st
@c.record
class struct_cuMemPoolExportToShareableHandle_params_st(c.Struct):
  SIZE = 32
  handle_out: Annotated[ctypes.c_void_p, 0]
  pool: Annotated[CUmemoryPool, 8]
  handleType: Annotated[CUmemAllocationHandleType, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 24]
cuMemPoolExportToShareableHandle_params: TypeAlias = struct_cuMemPoolExportToShareableHandle_params_st
@c.record
class struct_cuMemPoolImportFromShareableHandle_params_st(c.Struct):
  SIZE = 32
  pool_out: Annotated[c.POINTER[CUmemoryPool], 0]
  handle: Annotated[ctypes.c_void_p, 8]
  handleType: Annotated[CUmemAllocationHandleType, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 24]
cuMemPoolImportFromShareableHandle_params: TypeAlias = struct_cuMemPoolImportFromShareableHandle_params_st
@c.record
class struct_cuMemPoolExportPointer_params_st(c.Struct):
  SIZE = 16
  shareData_out: Annotated[c.POINTER[CUmemPoolPtrExportData], 0]
  ptr: Annotated[CUdeviceptr, 8]
@c.record
class struct_CUmemPoolPtrExportData_st(c.Struct):
  SIZE = 64
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_ubyte], Literal[64]], 0]
CUmemPoolPtrExportData: TypeAlias = struct_CUmemPoolPtrExportData_st
cuMemPoolExportPointer_params: TypeAlias = struct_cuMemPoolExportPointer_params_st
@c.record
class struct_cuMemPoolImportPointer_params_st(c.Struct):
  SIZE = 24
  ptr_out: Annotated[c.POINTER[CUdeviceptr], 0]
  pool: Annotated[CUmemoryPool, 8]
  shareData: Annotated[c.POINTER[CUmemPoolPtrExportData], 16]
cuMemPoolImportPointer_params: TypeAlias = struct_cuMemPoolImportPointer_params_st
@c.record
class struct_cuMulticastCreate_params_st(c.Struct):
  SIZE = 16
  mcHandle: Annotated[c.POINTER[CUmemGenericAllocationHandle], 0]
  prop: Annotated[c.POINTER[CUmulticastObjectProp], 8]
@c.record
class struct_CUmulticastObjectProp_st(c.Struct):
  SIZE = 32
  numDevices: Annotated[Annotated[int, ctypes.c_uint32], 0]
  size: Annotated[size_t, 8]
  handleTypes: Annotated[Annotated[int, ctypes.c_uint64], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 24]
CUmulticastObjectProp: TypeAlias = struct_CUmulticastObjectProp_st
cuMulticastCreate_params: TypeAlias = struct_cuMulticastCreate_params_st
@c.record
class struct_cuMulticastAddDevice_params_st(c.Struct):
  SIZE = 16
  mcHandle: Annotated[CUmemGenericAllocationHandle, 0]
  dev: Annotated[CUdevice, 8]
cuMulticastAddDevice_params: TypeAlias = struct_cuMulticastAddDevice_params_st
@c.record
class struct_cuMulticastBindMem_params_st(c.Struct):
  SIZE = 48
  mcHandle: Annotated[CUmemGenericAllocationHandle, 0]
  mcOffset: Annotated[size_t, 8]
  memHandle: Annotated[CUmemGenericAllocationHandle, 16]
  memOffset: Annotated[size_t, 24]
  size: Annotated[size_t, 32]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 40]
cuMulticastBindMem_params: TypeAlias = struct_cuMulticastBindMem_params_st
@c.record
class struct_cuMulticastBindAddr_params_st(c.Struct):
  SIZE = 40
  mcHandle: Annotated[CUmemGenericAllocationHandle, 0]
  mcOffset: Annotated[size_t, 8]
  memptr: Annotated[CUdeviceptr, 16]
  size: Annotated[size_t, 24]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 32]
cuMulticastBindAddr_params: TypeAlias = struct_cuMulticastBindAddr_params_st
@c.record
class struct_cuMulticastUnbind_params_st(c.Struct):
  SIZE = 32
  mcHandle: Annotated[CUmemGenericAllocationHandle, 0]
  dev: Annotated[CUdevice, 8]
  mcOffset: Annotated[size_t, 16]
  size: Annotated[size_t, 24]
cuMulticastUnbind_params: TypeAlias = struct_cuMulticastUnbind_params_st
@c.record
class struct_cuMulticastGetGranularity_params_st(c.Struct):
  SIZE = 24
  granularity: Annotated[c.POINTER[size_t], 0]
  prop: Annotated[c.POINTER[CUmulticastObjectProp], 8]
  option: Annotated[CUmulticastGranularity_flags, 16]
class enum_CUmulticastGranularity_flags_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MULTICAST_GRANULARITY_MINIMUM = enum_CUmulticastGranularity_flags_enum.define('CU_MULTICAST_GRANULARITY_MINIMUM', 0)
CU_MULTICAST_GRANULARITY_RECOMMENDED = enum_CUmulticastGranularity_flags_enum.define('CU_MULTICAST_GRANULARITY_RECOMMENDED', 1)

CUmulticastGranularity_flags: TypeAlias = enum_CUmulticastGranularity_flags_enum
cuMulticastGetGranularity_params: TypeAlias = struct_cuMulticastGetGranularity_params_st
@c.record
class struct_cuPointerGetAttribute_params_st(c.Struct):
  SIZE = 24
  data: Annotated[ctypes.c_void_p, 0]
  attribute: Annotated[CUpointer_attribute, 8]
  ptr: Annotated[CUdeviceptr, 16]
class enum_CUpointer_attribute_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_POINTER_ATTRIBUTE_CONTEXT = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_CONTEXT', 1)
CU_POINTER_ATTRIBUTE_MEMORY_TYPE = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_MEMORY_TYPE', 2)
CU_POINTER_ATTRIBUTE_DEVICE_POINTER = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_DEVICE_POINTER', 3)
CU_POINTER_ATTRIBUTE_HOST_POINTER = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_HOST_POINTER', 4)
CU_POINTER_ATTRIBUTE_P2P_TOKENS = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_P2P_TOKENS', 5)
CU_POINTER_ATTRIBUTE_SYNC_MEMOPS = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_SYNC_MEMOPS', 6)
CU_POINTER_ATTRIBUTE_BUFFER_ID = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_BUFFER_ID', 7)
CU_POINTER_ATTRIBUTE_IS_MANAGED = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_IS_MANAGED', 8)
CU_POINTER_ATTRIBUTE_DEVICE_ORDINAL = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_DEVICE_ORDINAL', 9)
CU_POINTER_ATTRIBUTE_IS_LEGACY_CUDA_IPC_CAPABLE = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_IS_LEGACY_CUDA_IPC_CAPABLE', 10)
CU_POINTER_ATTRIBUTE_RANGE_START_ADDR = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_RANGE_START_ADDR', 11)
CU_POINTER_ATTRIBUTE_RANGE_SIZE = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_RANGE_SIZE', 12)
CU_POINTER_ATTRIBUTE_MAPPED = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_MAPPED', 13)
CU_POINTER_ATTRIBUTE_ALLOWED_HANDLE_TYPES = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_ALLOWED_HANDLE_TYPES', 14)
CU_POINTER_ATTRIBUTE_IS_GPU_DIRECT_RDMA_CAPABLE = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_IS_GPU_DIRECT_RDMA_CAPABLE', 15)
CU_POINTER_ATTRIBUTE_ACCESS_FLAGS = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_ACCESS_FLAGS', 16)
CU_POINTER_ATTRIBUTE_MEMPOOL_HANDLE = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_MEMPOOL_HANDLE', 17)
CU_POINTER_ATTRIBUTE_MAPPING_SIZE = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_MAPPING_SIZE', 18)
CU_POINTER_ATTRIBUTE_MAPPING_BASE_ADDR = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_MAPPING_BASE_ADDR', 19)
CU_POINTER_ATTRIBUTE_MEMORY_BLOCK_ID = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_MEMORY_BLOCK_ID', 20)
CU_POINTER_ATTRIBUTE_IS_HW_DECOMPRESS_CAPABLE = enum_CUpointer_attribute_enum.define('CU_POINTER_ATTRIBUTE_IS_HW_DECOMPRESS_CAPABLE', 21)

CUpointer_attribute: TypeAlias = enum_CUpointer_attribute_enum
cuPointerGetAttribute_params: TypeAlias = struct_cuPointerGetAttribute_params_st
@c.record
class struct_cuMemPrefetchAsync_ptsz_params_st(c.Struct):
  SIZE = 32
  devPtr: Annotated[CUdeviceptr, 0]
  count: Annotated[size_t, 8]
  dstDevice: Annotated[CUdevice, 16]
  hStream: Annotated[CUstream, 24]
cuMemPrefetchAsync_ptsz_params: TypeAlias = struct_cuMemPrefetchAsync_ptsz_params_st
@c.record
class struct_cuMemPrefetchAsync_v2_ptsz_params_st(c.Struct):
  SIZE = 40
  devPtr: Annotated[CUdeviceptr, 0]
  count: Annotated[size_t, 8]
  location: Annotated[CUmemLocation, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
  hStream: Annotated[CUstream, 32]
cuMemPrefetchAsync_v2_ptsz_params: TypeAlias = struct_cuMemPrefetchAsync_v2_ptsz_params_st
@c.record
class struct_cuMemAdvise_params_st(c.Struct):
  SIZE = 24
  devPtr: Annotated[CUdeviceptr, 0]
  count: Annotated[size_t, 8]
  advice: Annotated[CUmem_advise, 16]
  device: Annotated[CUdevice, 20]
class enum_CUmem_advise_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MEM_ADVISE_SET_READ_MOSTLY = enum_CUmem_advise_enum.define('CU_MEM_ADVISE_SET_READ_MOSTLY', 1)
CU_MEM_ADVISE_UNSET_READ_MOSTLY = enum_CUmem_advise_enum.define('CU_MEM_ADVISE_UNSET_READ_MOSTLY', 2)
CU_MEM_ADVISE_SET_PREFERRED_LOCATION = enum_CUmem_advise_enum.define('CU_MEM_ADVISE_SET_PREFERRED_LOCATION', 3)
CU_MEM_ADVISE_UNSET_PREFERRED_LOCATION = enum_CUmem_advise_enum.define('CU_MEM_ADVISE_UNSET_PREFERRED_LOCATION', 4)
CU_MEM_ADVISE_SET_ACCESSED_BY = enum_CUmem_advise_enum.define('CU_MEM_ADVISE_SET_ACCESSED_BY', 5)
CU_MEM_ADVISE_UNSET_ACCESSED_BY = enum_CUmem_advise_enum.define('CU_MEM_ADVISE_UNSET_ACCESSED_BY', 6)

CUmem_advise: TypeAlias = enum_CUmem_advise_enum
cuMemAdvise_params: TypeAlias = struct_cuMemAdvise_params_st
@c.record
class struct_cuMemAdvise_v2_params_st(c.Struct):
  SIZE = 32
  devPtr: Annotated[CUdeviceptr, 0]
  count: Annotated[size_t, 8]
  advice: Annotated[CUmem_advise, 16]
  location: Annotated[CUmemLocation, 20]
cuMemAdvise_v2_params: TypeAlias = struct_cuMemAdvise_v2_params_st
@c.record
class struct_cuMemRangeGetAttribute_params_st(c.Struct):
  SIZE = 40
  data: Annotated[ctypes.c_void_p, 0]
  dataSize: Annotated[size_t, 8]
  attribute: Annotated[CUmem_range_attribute, 16]
  devPtr: Annotated[CUdeviceptr, 24]
  count: Annotated[size_t, 32]
class enum_CUmem_range_attribute_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_MEM_RANGE_ATTRIBUTE_READ_MOSTLY = enum_CUmem_range_attribute_enum.define('CU_MEM_RANGE_ATTRIBUTE_READ_MOSTLY', 1)
CU_MEM_RANGE_ATTRIBUTE_PREFERRED_LOCATION = enum_CUmem_range_attribute_enum.define('CU_MEM_RANGE_ATTRIBUTE_PREFERRED_LOCATION', 2)
CU_MEM_RANGE_ATTRIBUTE_ACCESSED_BY = enum_CUmem_range_attribute_enum.define('CU_MEM_RANGE_ATTRIBUTE_ACCESSED_BY', 3)
CU_MEM_RANGE_ATTRIBUTE_LAST_PREFETCH_LOCATION = enum_CUmem_range_attribute_enum.define('CU_MEM_RANGE_ATTRIBUTE_LAST_PREFETCH_LOCATION', 4)
CU_MEM_RANGE_ATTRIBUTE_PREFERRED_LOCATION_TYPE = enum_CUmem_range_attribute_enum.define('CU_MEM_RANGE_ATTRIBUTE_PREFERRED_LOCATION_TYPE', 5)
CU_MEM_RANGE_ATTRIBUTE_PREFERRED_LOCATION_ID = enum_CUmem_range_attribute_enum.define('CU_MEM_RANGE_ATTRIBUTE_PREFERRED_LOCATION_ID', 6)
CU_MEM_RANGE_ATTRIBUTE_LAST_PREFETCH_LOCATION_TYPE = enum_CUmem_range_attribute_enum.define('CU_MEM_RANGE_ATTRIBUTE_LAST_PREFETCH_LOCATION_TYPE', 7)
CU_MEM_RANGE_ATTRIBUTE_LAST_PREFETCH_LOCATION_ID = enum_CUmem_range_attribute_enum.define('CU_MEM_RANGE_ATTRIBUTE_LAST_PREFETCH_LOCATION_ID', 8)

CUmem_range_attribute: TypeAlias = enum_CUmem_range_attribute_enum
cuMemRangeGetAttribute_params: TypeAlias = struct_cuMemRangeGetAttribute_params_st
@c.record
class struct_cuMemRangeGetAttributes_params_st(c.Struct):
  SIZE = 48
  data: Annotated[c.POINTER[ctypes.c_void_p], 0]
  dataSizes: Annotated[c.POINTER[size_t], 8]
  attributes: Annotated[c.POINTER[CUmem_range_attribute], 16]
  numAttributes: Annotated[size_t, 24]
  devPtr: Annotated[CUdeviceptr, 32]
  count: Annotated[size_t, 40]
cuMemRangeGetAttributes_params: TypeAlias = struct_cuMemRangeGetAttributes_params_st
@c.record
class struct_cuPointerSetAttribute_params_st(c.Struct):
  SIZE = 24
  value: Annotated[ctypes.c_void_p, 0]
  attribute: Annotated[CUpointer_attribute, 8]
  ptr: Annotated[CUdeviceptr, 16]
cuPointerSetAttribute_params: TypeAlias = struct_cuPointerSetAttribute_params_st
@c.record
class struct_cuPointerGetAttributes_params_st(c.Struct):
  SIZE = 32
  numAttributes: Annotated[Annotated[int, ctypes.c_uint32], 0]
  attributes: Annotated[c.POINTER[CUpointer_attribute], 8]
  data: Annotated[c.POINTER[ctypes.c_void_p], 16]
  ptr: Annotated[CUdeviceptr, 24]
cuPointerGetAttributes_params: TypeAlias = struct_cuPointerGetAttributes_params_st
@c.record
class struct_cuStreamCreate_params_st(c.Struct):
  SIZE = 16
  phStream: Annotated[c.POINTER[CUstream], 0]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuStreamCreate_params: TypeAlias = struct_cuStreamCreate_params_st
@c.record
class struct_cuStreamCreateWithPriority_params_st(c.Struct):
  SIZE = 16
  phStream: Annotated[c.POINTER[CUstream], 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
  priority: Annotated[Annotated[int, ctypes.c_int32], 12]
cuStreamCreateWithPriority_params: TypeAlias = struct_cuStreamCreateWithPriority_params_st
@c.record
class struct_cuStreamGetPriority_ptsz_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  priority: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 8]
cuStreamGetPriority_ptsz_params: TypeAlias = struct_cuStreamGetPriority_ptsz_params_st
@c.record
class struct_cuStreamGetDevice_ptsz_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  device: Annotated[c.POINTER[CUdevice], 8]
cuStreamGetDevice_ptsz_params: TypeAlias = struct_cuStreamGetDevice_ptsz_params_st
@c.record
class struct_cuStreamGetFlags_ptsz_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  flags: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 8]
cuStreamGetFlags_ptsz_params: TypeAlias = struct_cuStreamGetFlags_ptsz_params_st
@c.record
class struct_cuStreamGetId_ptsz_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  streamId: Annotated[c.POINTER[Annotated[int, ctypes.c_uint64]], 8]
cuStreamGetId_ptsz_params: TypeAlias = struct_cuStreamGetId_ptsz_params_st
@c.record
class struct_cuStreamGetCtx_ptsz_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  pctx: Annotated[c.POINTER[CUcontext], 8]
cuStreamGetCtx_ptsz_params: TypeAlias = struct_cuStreamGetCtx_ptsz_params_st
@c.record
class struct_cuStreamGetCtx_v2_ptsz_params_st(c.Struct):
  SIZE = 24
  hStream: Annotated[CUstream, 0]
  pCtx: Annotated[c.POINTER[CUcontext], 8]
  pGreenCtx: Annotated[c.POINTER[CUgreenCtx], 16]
class struct_CUgreenCtx_st(ctypes.Structure): pass
CUgreenCtx: TypeAlias = c.POINTER[struct_CUgreenCtx_st]
cuStreamGetCtx_v2_ptsz_params: TypeAlias = struct_cuStreamGetCtx_v2_ptsz_params_st
@c.record
class struct_cuStreamWaitEvent_ptsz_params_st(c.Struct):
  SIZE = 24
  hStream: Annotated[CUstream, 0]
  hEvent: Annotated[CUevent, 8]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuStreamWaitEvent_ptsz_params: TypeAlias = struct_cuStreamWaitEvent_ptsz_params_st
@c.record
class struct_cuStreamAddCallback_ptsz_params_st(c.Struct):
  SIZE = 32
  hStream: Annotated[CUstream, 0]
  callback: Annotated[CUstreamCallback, 8]
  userData: Annotated[ctypes.c_void_p, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
CUstreamCallback: TypeAlias = c.CFUNCTYPE[None, [c.POINTER[struct_CUstream_st], enum_cudaError_enum, ctypes.c_void_p]]
cuStreamAddCallback_ptsz_params: TypeAlias = struct_cuStreamAddCallback_ptsz_params_st
@c.record
class struct_cuStreamBeginCapture_v2_ptsz_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  mode: Annotated[CUstreamCaptureMode, 8]
class enum_CUstreamCaptureMode_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_STREAM_CAPTURE_MODE_GLOBAL = enum_CUstreamCaptureMode_enum.define('CU_STREAM_CAPTURE_MODE_GLOBAL', 0)
CU_STREAM_CAPTURE_MODE_THREAD_LOCAL = enum_CUstreamCaptureMode_enum.define('CU_STREAM_CAPTURE_MODE_THREAD_LOCAL', 1)
CU_STREAM_CAPTURE_MODE_RELAXED = enum_CUstreamCaptureMode_enum.define('CU_STREAM_CAPTURE_MODE_RELAXED', 2)

CUstreamCaptureMode: TypeAlias = enum_CUstreamCaptureMode_enum
cuStreamBeginCapture_v2_ptsz_params: TypeAlias = struct_cuStreamBeginCapture_v2_ptsz_params_st
@c.record
class struct_cuStreamBeginCaptureToGraph_ptsz_params_st(c.Struct):
  SIZE = 48
  hStream: Annotated[CUstream, 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  dependencyData: Annotated[c.POINTER[CUgraphEdgeData], 24]
  numDependencies: Annotated[size_t, 32]
  mode: Annotated[CUstreamCaptureMode, 40]
@c.record
class struct_CUgraphEdgeData_st(c.Struct):
  SIZE = 8
  from_port: Annotated[Annotated[int, ctypes.c_ubyte], 0]
  to_port: Annotated[Annotated[int, ctypes.c_ubyte], 1]
  type: Annotated[Annotated[int, ctypes.c_ubyte], 2]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_ubyte], Literal[5]], 3]
CUgraphEdgeData: TypeAlias = struct_CUgraphEdgeData_st
cuStreamBeginCaptureToGraph_ptsz_params: TypeAlias = struct_cuStreamBeginCaptureToGraph_ptsz_params_st
@c.record
class struct_cuThreadExchangeStreamCaptureMode_params_st(c.Struct):
  SIZE = 8
  mode: Annotated[c.POINTER[CUstreamCaptureMode], 0]
cuThreadExchangeStreamCaptureMode_params: TypeAlias = struct_cuThreadExchangeStreamCaptureMode_params_st
@c.record
class struct_cuStreamEndCapture_ptsz_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  phGraph: Annotated[c.POINTER[CUgraph], 8]
cuStreamEndCapture_ptsz_params: TypeAlias = struct_cuStreamEndCapture_ptsz_params_st
@c.record
class struct_cuStreamIsCapturing_ptsz_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  captureStatus: Annotated[c.POINTER[CUstreamCaptureStatus], 8]
class enum_CUstreamCaptureStatus_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_STREAM_CAPTURE_STATUS_NONE = enum_CUstreamCaptureStatus_enum.define('CU_STREAM_CAPTURE_STATUS_NONE', 0)
CU_STREAM_CAPTURE_STATUS_ACTIVE = enum_CUstreamCaptureStatus_enum.define('CU_STREAM_CAPTURE_STATUS_ACTIVE', 1)
CU_STREAM_CAPTURE_STATUS_INVALIDATED = enum_CUstreamCaptureStatus_enum.define('CU_STREAM_CAPTURE_STATUS_INVALIDATED', 2)

CUstreamCaptureStatus: TypeAlias = enum_CUstreamCaptureStatus_enum
cuStreamIsCapturing_ptsz_params: TypeAlias = struct_cuStreamIsCapturing_ptsz_params_st
@c.record
class struct_cuStreamGetCaptureInfo_v2_ptsz_params_st(c.Struct):
  SIZE = 48
  hStream: Annotated[CUstream, 0]
  captureStatus_out: Annotated[c.POINTER[CUstreamCaptureStatus], 8]
  id_out: Annotated[c.POINTER[cuuint64_t], 16]
  graph_out: Annotated[c.POINTER[CUgraph], 24]
  dependencies_out: Annotated[c.POINTER[c.POINTER[CUgraphNode]], 32]
  numDependencies_out: Annotated[c.POINTER[size_t], 40]
cuuint64_t: TypeAlias = Annotated[int, ctypes.c_uint64]
cuStreamGetCaptureInfo_v2_ptsz_params: TypeAlias = struct_cuStreamGetCaptureInfo_v2_ptsz_params_st
@c.record
class struct_cuStreamGetCaptureInfo_v3_ptsz_params_st(c.Struct):
  SIZE = 56
  hStream: Annotated[CUstream, 0]
  captureStatus_out: Annotated[c.POINTER[CUstreamCaptureStatus], 8]
  id_out: Annotated[c.POINTER[cuuint64_t], 16]
  graph_out: Annotated[c.POINTER[CUgraph], 24]
  dependencies_out: Annotated[c.POINTER[c.POINTER[CUgraphNode]], 32]
  edgeData_out: Annotated[c.POINTER[c.POINTER[CUgraphEdgeData]], 40]
  numDependencies_out: Annotated[c.POINTER[size_t], 48]
cuStreamGetCaptureInfo_v3_ptsz_params: TypeAlias = struct_cuStreamGetCaptureInfo_v3_ptsz_params_st
@c.record
class struct_cuStreamUpdateCaptureDependencies_ptsz_params_st(c.Struct):
  SIZE = 32
  hStream: Annotated[CUstream, 0]
  dependencies: Annotated[c.POINTER[CUgraphNode], 8]
  numDependencies: Annotated[size_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuStreamUpdateCaptureDependencies_ptsz_params: TypeAlias = struct_cuStreamUpdateCaptureDependencies_ptsz_params_st
@c.record
class struct_cuStreamUpdateCaptureDependencies_v2_ptsz_params_st(c.Struct):
  SIZE = 40
  hStream: Annotated[CUstream, 0]
  dependencies: Annotated[c.POINTER[CUgraphNode], 8]
  dependencyData: Annotated[c.POINTER[CUgraphEdgeData], 16]
  numDependencies: Annotated[size_t, 24]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 32]
cuStreamUpdateCaptureDependencies_v2_ptsz_params: TypeAlias = struct_cuStreamUpdateCaptureDependencies_v2_ptsz_params_st
@c.record
class struct_cuStreamAttachMemAsync_ptsz_params_st(c.Struct):
  SIZE = 32
  hStream: Annotated[CUstream, 0]
  dptr: Annotated[CUdeviceptr, 8]
  length: Annotated[size_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuStreamAttachMemAsync_ptsz_params: TypeAlias = struct_cuStreamAttachMemAsync_ptsz_params_st
@c.record
class struct_cuStreamQuery_ptsz_params_st(c.Struct):
  SIZE = 8
  hStream: Annotated[CUstream, 0]
cuStreamQuery_ptsz_params: TypeAlias = struct_cuStreamQuery_ptsz_params_st
@c.record
class struct_cuStreamSynchronize_ptsz_params_st(c.Struct):
  SIZE = 8
  hStream: Annotated[CUstream, 0]
cuStreamSynchronize_ptsz_params: TypeAlias = struct_cuStreamSynchronize_ptsz_params_st
@c.record
class struct_cuStreamDestroy_v2_params_st(c.Struct):
  SIZE = 8
  hStream: Annotated[CUstream, 0]
cuStreamDestroy_v2_params: TypeAlias = struct_cuStreamDestroy_v2_params_st
@c.record
class struct_cuStreamCopyAttributes_ptsz_params_st(c.Struct):
  SIZE = 16
  dst: Annotated[CUstream, 0]
  src: Annotated[CUstream, 8]
cuStreamCopyAttributes_ptsz_params: TypeAlias = struct_cuStreamCopyAttributes_ptsz_params_st
@c.record
class struct_cuStreamGetAttribute_ptsz_params_st(c.Struct):
  SIZE = 24
  hStream: Annotated[CUstream, 0]
  attr: Annotated[CUstreamAttrID, 8]
  value_out: Annotated[c.POINTER[CUstreamAttrValue], 16]
cuStreamGetAttribute_ptsz_params: TypeAlias = struct_cuStreamGetAttribute_ptsz_params_st
@c.record
class struct_cuStreamSetAttribute_ptsz_params_st(c.Struct):
  SIZE = 24
  hStream: Annotated[CUstream, 0]
  attr: Annotated[CUstreamAttrID, 8]
  value: Annotated[c.POINTER[CUstreamAttrValue], 16]
cuStreamSetAttribute_ptsz_params: TypeAlias = struct_cuStreamSetAttribute_ptsz_params_st
@c.record
class struct_cuEventCreate_params_st(c.Struct):
  SIZE = 16
  phEvent: Annotated[c.POINTER[CUevent], 0]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuEventCreate_params: TypeAlias = struct_cuEventCreate_params_st
@c.record
class struct_cuEventRecord_ptsz_params_st(c.Struct):
  SIZE = 16
  hEvent: Annotated[CUevent, 0]
  hStream: Annotated[CUstream, 8]
cuEventRecord_ptsz_params: TypeAlias = struct_cuEventRecord_ptsz_params_st
@c.record
class struct_cuEventRecordWithFlags_ptsz_params_st(c.Struct):
  SIZE = 24
  hEvent: Annotated[CUevent, 0]
  hStream: Annotated[CUstream, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuEventRecordWithFlags_ptsz_params: TypeAlias = struct_cuEventRecordWithFlags_ptsz_params_st
@c.record
class struct_cuEventQuery_params_st(c.Struct):
  SIZE = 8
  hEvent: Annotated[CUevent, 0]
cuEventQuery_params: TypeAlias = struct_cuEventQuery_params_st
@c.record
class struct_cuEventSynchronize_params_st(c.Struct):
  SIZE = 8
  hEvent: Annotated[CUevent, 0]
cuEventSynchronize_params: TypeAlias = struct_cuEventSynchronize_params_st
@c.record
class struct_cuEventDestroy_v2_params_st(c.Struct):
  SIZE = 8
  hEvent: Annotated[CUevent, 0]
cuEventDestroy_v2_params: TypeAlias = struct_cuEventDestroy_v2_params_st
@c.record
class struct_cuEventElapsedTime_params_st(c.Struct):
  SIZE = 24
  pMilliseconds: Annotated[c.POINTER[Annotated[float, ctypes.c_float]], 0]
  hStart: Annotated[CUevent, 8]
  hEnd: Annotated[CUevent, 16]
cuEventElapsedTime_params: TypeAlias = struct_cuEventElapsedTime_params_st
@c.record
class struct_cuEventElapsedTime_v2_params_st(c.Struct):
  SIZE = 24
  pMilliseconds: Annotated[c.POINTER[Annotated[float, ctypes.c_float]], 0]
  hStart: Annotated[CUevent, 8]
  hEnd: Annotated[CUevent, 16]
cuEventElapsedTime_v2_params: TypeAlias = struct_cuEventElapsedTime_v2_params_st
@c.record
class struct_cuImportExternalMemory_params_st(c.Struct):
  SIZE = 16
  extMem_out: Annotated[c.POINTER[CUexternalMemory], 0]
  memHandleDesc: Annotated[c.POINTER[CUDA_EXTERNAL_MEMORY_HANDLE_DESC], 8]
class struct_CUextMemory_st(ctypes.Structure): pass
CUexternalMemory: TypeAlias = c.POINTER[struct_CUextMemory_st]
@c.record
class struct_CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st(c.Struct):
  SIZE = 104
  type: Annotated[CUexternalMemoryHandleType, 0]
  handle: Annotated[struct_CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st_handle, 8]
  size: Annotated[Annotated[int, ctypes.c_uint64], 24]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 32]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[16]], 36]
CUDA_EXTERNAL_MEMORY_HANDLE_DESC: TypeAlias = struct_CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st
class enum_CUexternalMemoryHandleType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD = enum_CUexternalMemoryHandleType_enum.define('CU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD', 1)
CU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32 = enum_CUexternalMemoryHandleType_enum.define('CU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32', 2)
CU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT = enum_CUexternalMemoryHandleType_enum.define('CU_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT', 3)
CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP = enum_CUexternalMemoryHandleType_enum.define('CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP', 4)
CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE = enum_CUexternalMemoryHandleType_enum.define('CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE', 5)
CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_RESOURCE = enum_CUexternalMemoryHandleType_enum.define('CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_RESOURCE', 6)
CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_RESOURCE_KMT = enum_CUexternalMemoryHandleType_enum.define('CU_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_RESOURCE_KMT', 7)
CU_EXTERNAL_MEMORY_HANDLE_TYPE_NVSCIBUF = enum_CUexternalMemoryHandleType_enum.define('CU_EXTERNAL_MEMORY_HANDLE_TYPE_NVSCIBUF', 8)

CUexternalMemoryHandleType: TypeAlias = enum_CUexternalMemoryHandleType_enum
@c.record
class struct_CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st_handle(c.Struct):
  SIZE = 16
  fd: Annotated[Annotated[int, ctypes.c_int32], 0]
  win32: Annotated[struct_CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st_handle_win32, 0]
  nvSciBufObject: Annotated[ctypes.c_void_p, 0]
@c.record
class struct_CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st_handle_win32(c.Struct):
  SIZE = 16
  handle: Annotated[ctypes.c_void_p, 0]
  name: Annotated[ctypes.c_void_p, 8]
cuImportExternalMemory_params: TypeAlias = struct_cuImportExternalMemory_params_st
@c.record
class struct_cuExternalMemoryGetMappedBuffer_params_st(c.Struct):
  SIZE = 24
  devPtr: Annotated[c.POINTER[CUdeviceptr], 0]
  extMem: Annotated[CUexternalMemory, 8]
  bufferDesc: Annotated[c.POINTER[CUDA_EXTERNAL_MEMORY_BUFFER_DESC], 16]
@c.record
class struct_CUDA_EXTERNAL_MEMORY_BUFFER_DESC_st(c.Struct):
  SIZE = 88
  offset: Annotated[Annotated[int, ctypes.c_uint64], 0]
  size: Annotated[Annotated[int, ctypes.c_uint64], 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[16]], 20]
CUDA_EXTERNAL_MEMORY_BUFFER_DESC: TypeAlias = struct_CUDA_EXTERNAL_MEMORY_BUFFER_DESC_st
cuExternalMemoryGetMappedBuffer_params: TypeAlias = struct_cuExternalMemoryGetMappedBuffer_params_st
@c.record
class struct_cuExternalMemoryGetMappedMipmappedArray_params_st(c.Struct):
  SIZE = 24
  mipmap: Annotated[c.POINTER[CUmipmappedArray], 0]
  extMem: Annotated[CUexternalMemory, 8]
  mipmapDesc: Annotated[c.POINTER[CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC], 16]
@c.record
class struct_CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC_st(c.Struct):
  SIZE = 120
  offset: Annotated[Annotated[int, ctypes.c_uint64], 0]
  arrayDesc: Annotated[CUDA_ARRAY3D_DESCRIPTOR, 8]
  numLevels: Annotated[Annotated[int, ctypes.c_uint32], 48]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[16]], 52]
CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC: TypeAlias = struct_CUDA_EXTERNAL_MEMORY_MIPMAPPED_ARRAY_DESC_st
cuExternalMemoryGetMappedMipmappedArray_params: TypeAlias = struct_cuExternalMemoryGetMappedMipmappedArray_params_st
@c.record
class struct_cuDestroyExternalMemory_params_st(c.Struct):
  SIZE = 8
  extMem: Annotated[CUexternalMemory, 0]
cuDestroyExternalMemory_params: TypeAlias = struct_cuDestroyExternalMemory_params_st
@c.record
class struct_cuImportExternalSemaphore_params_st(c.Struct):
  SIZE = 16
  extSem_out: Annotated[c.POINTER[CUexternalSemaphore], 0]
  semHandleDesc: Annotated[c.POINTER[CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC], 8]
class struct_CUextSemaphore_st(ctypes.Structure): pass
CUexternalSemaphore: TypeAlias = c.POINTER[struct_CUextSemaphore_st]
@c.record
class struct_CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st(c.Struct):
  SIZE = 96
  type: Annotated[CUexternalSemaphoreHandleType, 0]
  handle: Annotated[struct_CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st_handle, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[16]], 28]
CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC: TypeAlias = struct_CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st
class enum_CUexternalSemaphoreHandleType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD = enum_CUexternalSemaphoreHandleType_enum.define('CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD', 1)
CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32 = enum_CUexternalSemaphoreHandleType_enum.define('CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32', 2)
CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT = enum_CUexternalSemaphoreHandleType_enum.define('CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT', 3)
CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE = enum_CUexternalSemaphoreHandleType_enum.define('CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE', 4)
CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE = enum_CUexternalSemaphoreHandleType_enum.define('CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_FENCE', 5)
CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_NVSCISYNC = enum_CUexternalSemaphoreHandleType_enum.define('CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_NVSCISYNC', 6)
CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_KEYED_MUTEX = enum_CUexternalSemaphoreHandleType_enum.define('CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_KEYED_MUTEX', 7)
CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_KEYED_MUTEX_KMT = enum_CUexternalSemaphoreHandleType_enum.define('CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D11_KEYED_MUTEX_KMT', 8)
CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_TIMELINE_SEMAPHORE_FD = enum_CUexternalSemaphoreHandleType_enum.define('CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_TIMELINE_SEMAPHORE_FD', 9)
CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_TIMELINE_SEMAPHORE_WIN32 = enum_CUexternalSemaphoreHandleType_enum.define('CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_TIMELINE_SEMAPHORE_WIN32', 10)

CUexternalSemaphoreHandleType: TypeAlias = enum_CUexternalSemaphoreHandleType_enum
@c.record
class struct_CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st_handle(c.Struct):
  SIZE = 16
  fd: Annotated[Annotated[int, ctypes.c_int32], 0]
  win32: Annotated[struct_CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st_handle_win32, 0]
  nvSciSyncObj: Annotated[ctypes.c_void_p, 0]
@c.record
class struct_CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st_handle_win32(c.Struct):
  SIZE = 16
  handle: Annotated[ctypes.c_void_p, 0]
  name: Annotated[ctypes.c_void_p, 8]
cuImportExternalSemaphore_params: TypeAlias = struct_cuImportExternalSemaphore_params_st
@c.record
class struct_cuSignalExternalSemaphoresAsync_ptsz_params_st(c.Struct):
  SIZE = 32
  extSemArray: Annotated[c.POINTER[CUexternalSemaphore], 0]
  paramsArray: Annotated[c.POINTER[CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
  stream: Annotated[CUstream, 24]
@c.record
class struct_CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st(c.Struct):
  SIZE = 144
  params: Annotated[struct_CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st_params, 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 72]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[16]], 76]
CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS: TypeAlias = struct_CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st
@c.record
class struct_CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st_params(c.Struct):
  SIZE = 72
  fence: Annotated[struct_CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st_params_fence, 0]
  nvSciSync: Annotated[struct_CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st_params_nvSciSync, 8]
  keyedMutex: Annotated[struct_CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st_params_keyedMutex, 16]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[12]], 24]
@c.record
class struct_CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st_params_fence(c.Struct):
  SIZE = 8
  value: Annotated[Annotated[int, ctypes.c_uint64], 0]
@c.record
class struct_CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st_params_nvSciSync(c.Struct):
  SIZE = 8
  fence: Annotated[ctypes.c_void_p, 0]
  reserved: Annotated[Annotated[int, ctypes.c_uint64], 0]
@c.record
class struct_CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st_params_keyedMutex(c.Struct):
  SIZE = 8
  key: Annotated[Annotated[int, ctypes.c_uint64], 0]
cuSignalExternalSemaphoresAsync_ptsz_params: TypeAlias = struct_cuSignalExternalSemaphoresAsync_ptsz_params_st
@c.record
class struct_cuWaitExternalSemaphoresAsync_ptsz_params_st(c.Struct):
  SIZE = 32
  extSemArray: Annotated[c.POINTER[CUexternalSemaphore], 0]
  paramsArray: Annotated[c.POINTER[CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
  stream: Annotated[CUstream, 24]
@c.record
class struct_CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st(c.Struct):
  SIZE = 144
  params: Annotated[struct_CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st_params, 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 72]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[16]], 76]
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS: TypeAlias = struct_CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st
@c.record
class struct_CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st_params(c.Struct):
  SIZE = 72
  fence: Annotated[struct_CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st_params_fence, 0]
  nvSciSync: Annotated[struct_CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st_params_nvSciSync, 8]
  keyedMutex: Annotated[struct_CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st_params_keyedMutex, 16]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[10]], 32]
@c.record
class struct_CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st_params_fence(c.Struct):
  SIZE = 8
  value: Annotated[Annotated[int, ctypes.c_uint64], 0]
@c.record
class struct_CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st_params_nvSciSync(c.Struct):
  SIZE = 8
  fence: Annotated[ctypes.c_void_p, 0]
  reserved: Annotated[Annotated[int, ctypes.c_uint64], 0]
@c.record
class struct_CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st_params_keyedMutex(c.Struct):
  SIZE = 16
  key: Annotated[Annotated[int, ctypes.c_uint64], 0]
  timeoutMs: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuWaitExternalSemaphoresAsync_ptsz_params: TypeAlias = struct_cuWaitExternalSemaphoresAsync_ptsz_params_st
@c.record
class struct_cuDestroyExternalSemaphore_params_st(c.Struct):
  SIZE = 8
  extSem: Annotated[CUexternalSemaphore, 0]
cuDestroyExternalSemaphore_params: TypeAlias = struct_cuDestroyExternalSemaphore_params_st
@c.record
class struct_cuStreamWaitValue32_v2_ptsz_params_st(c.Struct):
  SIZE = 24
  stream: Annotated[CUstream, 0]
  addr: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint32_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
cuStreamWaitValue32_v2_ptsz_params: TypeAlias = struct_cuStreamWaitValue32_v2_ptsz_params_st
@c.record
class struct_cuStreamWaitValue64_v2_ptsz_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[CUstream, 0]
  addr: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint64_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuStreamWaitValue64_v2_ptsz_params: TypeAlias = struct_cuStreamWaitValue64_v2_ptsz_params_st
@c.record
class struct_cuStreamWriteValue32_v2_ptsz_params_st(c.Struct):
  SIZE = 24
  stream: Annotated[CUstream, 0]
  addr: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint32_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
cuStreamWriteValue32_v2_ptsz_params: TypeAlias = struct_cuStreamWriteValue32_v2_ptsz_params_st
@c.record
class struct_cuStreamWriteValue64_v2_ptsz_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[CUstream, 0]
  addr: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint64_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuStreamWriteValue64_v2_ptsz_params: TypeAlias = struct_cuStreamWriteValue64_v2_ptsz_params_st
@c.record
class struct_cuStreamBatchMemOp_v2_ptsz_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[CUstream, 0]
  count: Annotated[Annotated[int, ctypes.c_uint32], 8]
  paramArray: Annotated[c.POINTER[CUstreamBatchMemOpParams], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
@c.record
class union_CUstreamBatchMemOpParams_union(c.Struct):
  SIZE = 48
  operation: Annotated[CUstreamBatchMemOpType, 0]
  waitValue: Annotated[struct_CUstreamMemOpWaitValueParams_st, 0]
  writeValue: Annotated[struct_CUstreamMemOpWriteValueParams_st, 0]
  flushRemoteWrites: Annotated[struct_CUstreamMemOpFlushRemoteWritesParams_st, 0]
  memoryBarrier: Annotated[struct_CUstreamMemOpMemoryBarrierParams_st, 0]
  pad: Annotated[c.Array[cuuint64_t, Literal[6]], 0]
CUstreamBatchMemOpParams: TypeAlias = union_CUstreamBatchMemOpParams_union
class enum_CUstreamBatchMemOpType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_STREAM_MEM_OP_WAIT_VALUE_32 = enum_CUstreamBatchMemOpType_enum.define('CU_STREAM_MEM_OP_WAIT_VALUE_32', 1)
CU_STREAM_MEM_OP_WRITE_VALUE_32 = enum_CUstreamBatchMemOpType_enum.define('CU_STREAM_MEM_OP_WRITE_VALUE_32', 2)
CU_STREAM_MEM_OP_WAIT_VALUE_64 = enum_CUstreamBatchMemOpType_enum.define('CU_STREAM_MEM_OP_WAIT_VALUE_64', 4)
CU_STREAM_MEM_OP_WRITE_VALUE_64 = enum_CUstreamBatchMemOpType_enum.define('CU_STREAM_MEM_OP_WRITE_VALUE_64', 5)
CU_STREAM_MEM_OP_BARRIER = enum_CUstreamBatchMemOpType_enum.define('CU_STREAM_MEM_OP_BARRIER', 6)
CU_STREAM_MEM_OP_FLUSH_REMOTE_WRITES = enum_CUstreamBatchMemOpType_enum.define('CU_STREAM_MEM_OP_FLUSH_REMOTE_WRITES', 3)

CUstreamBatchMemOpType: TypeAlias = enum_CUstreamBatchMemOpType_enum
@c.record
class struct_CUstreamMemOpWaitValueParams_st(c.Struct):
  SIZE = 40
  operation: Annotated[CUstreamBatchMemOpType, 0]
  address: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint32_t, 16]
  value64: Annotated[cuuint64_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
  alias: Annotated[CUdeviceptr, 32]
@c.record
class struct_CUstreamMemOpWriteValueParams_st(c.Struct):
  SIZE = 40
  operation: Annotated[CUstreamBatchMemOpType, 0]
  address: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint32_t, 16]
  value64: Annotated[cuuint64_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
  alias: Annotated[CUdeviceptr, 32]
@c.record
class struct_CUstreamMemOpFlushRemoteWritesParams_st(c.Struct):
  SIZE = 8
  operation: Annotated[CUstreamBatchMemOpType, 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 4]
@c.record
class struct_CUstreamMemOpMemoryBarrierParams_st(c.Struct):
  SIZE = 8
  operation: Annotated[CUstreamBatchMemOpType, 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 4]
cuStreamBatchMemOp_v2_ptsz_params: TypeAlias = struct_cuStreamBatchMemOp_v2_ptsz_params_st
@c.record
class struct_cuFuncGetAttribute_params_st(c.Struct):
  SIZE = 24
  pi: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  attrib: Annotated[CUfunction_attribute, 8]
  hfunc: Annotated[CUfunction, 16]
cuFuncGetAttribute_params: TypeAlias = struct_cuFuncGetAttribute_params_st
@c.record
class struct_cuFuncSetAttribute_params_st(c.Struct):
  SIZE = 16
  hfunc: Annotated[CUfunction, 0]
  attrib: Annotated[CUfunction_attribute, 8]
  value: Annotated[Annotated[int, ctypes.c_int32], 12]
cuFuncSetAttribute_params: TypeAlias = struct_cuFuncSetAttribute_params_st
@c.record
class struct_cuFuncSetCacheConfig_params_st(c.Struct):
  SIZE = 16
  hfunc: Annotated[CUfunction, 0]
  config: Annotated[CUfunc_cache, 8]
cuFuncSetCacheConfig_params: TypeAlias = struct_cuFuncSetCacheConfig_params_st
@c.record
class struct_cuFuncGetModule_params_st(c.Struct):
  SIZE = 16
  hmod: Annotated[c.POINTER[CUmodule], 0]
  hfunc: Annotated[CUfunction, 8]
cuFuncGetModule_params: TypeAlias = struct_cuFuncGetModule_params_st
@c.record
class struct_cuFuncGetName_params_st(c.Struct):
  SIZE = 16
  name: Annotated[c.POINTER[c.POINTER[Annotated[bytes, ctypes.c_char]]], 0]
  hfunc: Annotated[CUfunction, 8]
cuFuncGetName_params: TypeAlias = struct_cuFuncGetName_params_st
@c.record
class struct_cuFuncGetParamInfo_params_st(c.Struct):
  SIZE = 32
  func: Annotated[CUfunction, 0]
  paramIndex: Annotated[size_t, 8]
  paramOffset: Annotated[c.POINTER[size_t], 16]
  paramSize: Annotated[c.POINTER[size_t], 24]
cuFuncGetParamInfo_params: TypeAlias = struct_cuFuncGetParamInfo_params_st
@c.record
class struct_cuFuncIsLoaded_params_st(c.Struct):
  SIZE = 16
  state: Annotated[c.POINTER[CUfunctionLoadingState], 0]
  function: Annotated[CUfunction, 8]
class enum_CUfunctionLoadingState_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_FUNCTION_LOADING_STATE_UNLOADED = enum_CUfunctionLoadingState_enum.define('CU_FUNCTION_LOADING_STATE_UNLOADED', 0)
CU_FUNCTION_LOADING_STATE_LOADED = enum_CUfunctionLoadingState_enum.define('CU_FUNCTION_LOADING_STATE_LOADED', 1)
CU_FUNCTION_LOADING_STATE_MAX = enum_CUfunctionLoadingState_enum.define('CU_FUNCTION_LOADING_STATE_MAX', 2)

CUfunctionLoadingState: TypeAlias = enum_CUfunctionLoadingState_enum
cuFuncIsLoaded_params: TypeAlias = struct_cuFuncIsLoaded_params_st
@c.record
class struct_cuFuncLoad_params_st(c.Struct):
  SIZE = 8
  function: Annotated[CUfunction, 0]
cuFuncLoad_params: TypeAlias = struct_cuFuncLoad_params_st
@c.record
class struct_cuLaunchKernel_ptsz_params_st(c.Struct):
  SIZE = 64
  f: Annotated[CUfunction, 0]
  gridDimX: Annotated[Annotated[int, ctypes.c_uint32], 8]
  gridDimY: Annotated[Annotated[int, ctypes.c_uint32], 12]
  gridDimZ: Annotated[Annotated[int, ctypes.c_uint32], 16]
  blockDimX: Annotated[Annotated[int, ctypes.c_uint32], 20]
  blockDimY: Annotated[Annotated[int, ctypes.c_uint32], 24]
  blockDimZ: Annotated[Annotated[int, ctypes.c_uint32], 28]
  sharedMemBytes: Annotated[Annotated[int, ctypes.c_uint32], 32]
  hStream: Annotated[CUstream, 40]
  kernelParams: Annotated[c.POINTER[ctypes.c_void_p], 48]
  extra: Annotated[c.POINTER[ctypes.c_void_p], 56]
cuLaunchKernel_ptsz_params: TypeAlias = struct_cuLaunchKernel_ptsz_params_st
@c.record
class struct_cuLaunchKernelEx_ptsz_params_st(c.Struct):
  SIZE = 32
  config: Annotated[c.POINTER[CUlaunchConfig], 0]
  f: Annotated[CUfunction, 8]
  kernelParams: Annotated[c.POINTER[ctypes.c_void_p], 16]
  extra: Annotated[c.POINTER[ctypes.c_void_p], 24]
@c.record
class struct_CUlaunchConfig_st(c.Struct):
  SIZE = 56
  gridDimX: Annotated[Annotated[int, ctypes.c_uint32], 0]
  gridDimY: Annotated[Annotated[int, ctypes.c_uint32], 4]
  gridDimZ: Annotated[Annotated[int, ctypes.c_uint32], 8]
  blockDimX: Annotated[Annotated[int, ctypes.c_uint32], 12]
  blockDimY: Annotated[Annotated[int, ctypes.c_uint32], 16]
  blockDimZ: Annotated[Annotated[int, ctypes.c_uint32], 20]
  sharedMemBytes: Annotated[Annotated[int, ctypes.c_uint32], 24]
  hStream: Annotated[CUstream, 32]
  attrs: Annotated[c.POINTER[CUlaunchAttribute], 40]
  numAttrs: Annotated[Annotated[int, ctypes.c_uint32], 48]
CUlaunchConfig: TypeAlias = struct_CUlaunchConfig_st
@c.record
class struct_CUlaunchAttribute_st(c.Struct):
  SIZE = 72
  id: Annotated[CUlaunchAttributeID, 0]
  pad: Annotated[c.Array[Annotated[bytes, ctypes.c_char], Literal[4]], 4]
  value: Annotated[CUlaunchAttributeValue, 8]
CUlaunchAttribute: TypeAlias = struct_CUlaunchAttribute_st
CUlaunchAttributeID: TypeAlias = enum_CUlaunchAttributeID_enum
CUlaunchAttributeValue: TypeAlias = union_CUlaunchAttributeValue_union
cuLaunchKernelEx_ptsz_params: TypeAlias = struct_cuLaunchKernelEx_ptsz_params_st
@c.record
class struct_cuLaunchCooperativeKernel_ptsz_params_st(c.Struct):
  SIZE = 56
  f: Annotated[CUfunction, 0]
  gridDimX: Annotated[Annotated[int, ctypes.c_uint32], 8]
  gridDimY: Annotated[Annotated[int, ctypes.c_uint32], 12]
  gridDimZ: Annotated[Annotated[int, ctypes.c_uint32], 16]
  blockDimX: Annotated[Annotated[int, ctypes.c_uint32], 20]
  blockDimY: Annotated[Annotated[int, ctypes.c_uint32], 24]
  blockDimZ: Annotated[Annotated[int, ctypes.c_uint32], 28]
  sharedMemBytes: Annotated[Annotated[int, ctypes.c_uint32], 32]
  hStream: Annotated[CUstream, 40]
  kernelParams: Annotated[c.POINTER[ctypes.c_void_p], 48]
cuLaunchCooperativeKernel_ptsz_params: TypeAlias = struct_cuLaunchCooperativeKernel_ptsz_params_st
@c.record
class struct_cuLaunchCooperativeKernelMultiDevice_params_st(c.Struct):
  SIZE = 16
  launchParamsList: Annotated[c.POINTER[CUDA_LAUNCH_PARAMS], 0]
  numDevices: Annotated[Annotated[int, ctypes.c_uint32], 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 12]
@c.record
class struct_CUDA_LAUNCH_PARAMS_st(c.Struct):
  SIZE = 56
  function: Annotated[CUfunction, 0]
  gridDimX: Annotated[Annotated[int, ctypes.c_uint32], 8]
  gridDimY: Annotated[Annotated[int, ctypes.c_uint32], 12]
  gridDimZ: Annotated[Annotated[int, ctypes.c_uint32], 16]
  blockDimX: Annotated[Annotated[int, ctypes.c_uint32], 20]
  blockDimY: Annotated[Annotated[int, ctypes.c_uint32], 24]
  blockDimZ: Annotated[Annotated[int, ctypes.c_uint32], 28]
  sharedMemBytes: Annotated[Annotated[int, ctypes.c_uint32], 32]
  hStream: Annotated[CUstream, 40]
  kernelParams: Annotated[c.POINTER[ctypes.c_void_p], 48]
CUDA_LAUNCH_PARAMS: TypeAlias = struct_CUDA_LAUNCH_PARAMS_st
cuLaunchCooperativeKernelMultiDevice_params: TypeAlias = struct_cuLaunchCooperativeKernelMultiDevice_params_st
@c.record
class struct_cuLaunchHostFunc_ptsz_params_st(c.Struct):
  SIZE = 24
  hStream: Annotated[CUstream, 0]
  fn: Annotated[CUhostFn, 8]
  userData: Annotated[ctypes.c_void_p, 16]
CUhostFn: TypeAlias = c.CFUNCTYPE[None, [ctypes.c_void_p]]
cuLaunchHostFunc_ptsz_params: TypeAlias = struct_cuLaunchHostFunc_ptsz_params_st
@c.record
class struct_cuFuncSetBlockShape_params_st(c.Struct):
  SIZE = 24
  hfunc: Annotated[CUfunction, 0]
  x: Annotated[Annotated[int, ctypes.c_int32], 8]
  y: Annotated[Annotated[int, ctypes.c_int32], 12]
  z: Annotated[Annotated[int, ctypes.c_int32], 16]
cuFuncSetBlockShape_params: TypeAlias = struct_cuFuncSetBlockShape_params_st
@c.record
class struct_cuFuncSetSharedSize_params_st(c.Struct):
  SIZE = 16
  hfunc: Annotated[CUfunction, 0]
  bytes: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuFuncSetSharedSize_params: TypeAlias = struct_cuFuncSetSharedSize_params_st
@c.record
class struct_cuParamSetSize_params_st(c.Struct):
  SIZE = 16
  hfunc: Annotated[CUfunction, 0]
  numbytes: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuParamSetSize_params: TypeAlias = struct_cuParamSetSize_params_st
@c.record
class struct_cuParamSeti_params_st(c.Struct):
  SIZE = 16
  hfunc: Annotated[CUfunction, 0]
  offset: Annotated[Annotated[int, ctypes.c_int32], 8]
  value: Annotated[Annotated[int, ctypes.c_uint32], 12]
cuParamSeti_params: TypeAlias = struct_cuParamSeti_params_st
@c.record
class struct_cuParamSetf_params_st(c.Struct):
  SIZE = 16
  hfunc: Annotated[CUfunction, 0]
  offset: Annotated[Annotated[int, ctypes.c_int32], 8]
  value: Annotated[Annotated[float, ctypes.c_float], 12]
cuParamSetf_params: TypeAlias = struct_cuParamSetf_params_st
@c.record
class struct_cuParamSetv_params_st(c.Struct):
  SIZE = 32
  hfunc: Annotated[CUfunction, 0]
  offset: Annotated[Annotated[int, ctypes.c_int32], 8]
  ptr: Annotated[ctypes.c_void_p, 16]
  numbytes: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuParamSetv_params: TypeAlias = struct_cuParamSetv_params_st
@c.record
class struct_cuLaunch_params_st(c.Struct):
  SIZE = 8
  f: Annotated[CUfunction, 0]
cuLaunch_params: TypeAlias = struct_cuLaunch_params_st
@c.record
class struct_cuLaunchGrid_params_st(c.Struct):
  SIZE = 16
  f: Annotated[CUfunction, 0]
  grid_width: Annotated[Annotated[int, ctypes.c_int32], 8]
  grid_height: Annotated[Annotated[int, ctypes.c_int32], 12]
cuLaunchGrid_params: TypeAlias = struct_cuLaunchGrid_params_st
@c.record
class struct_cuLaunchGridAsync_params_st(c.Struct):
  SIZE = 24
  f: Annotated[CUfunction, 0]
  grid_width: Annotated[Annotated[int, ctypes.c_int32], 8]
  grid_height: Annotated[Annotated[int, ctypes.c_int32], 12]
  hStream: Annotated[CUstream, 16]
cuLaunchGridAsync_params: TypeAlias = struct_cuLaunchGridAsync_params_st
@c.record
class struct_cuParamSetTexRef_params_st(c.Struct):
  SIZE = 24
  hfunc: Annotated[CUfunction, 0]
  texunit: Annotated[Annotated[int, ctypes.c_int32], 8]
  hTexRef: Annotated[CUtexref, 16]
cuParamSetTexRef_params: TypeAlias = struct_cuParamSetTexRef_params_st
@c.record
class struct_cuFuncSetSharedMemConfig_params_st(c.Struct):
  SIZE = 16
  hfunc: Annotated[CUfunction, 0]
  config: Annotated[CUsharedconfig, 8]
cuFuncSetSharedMemConfig_params: TypeAlias = struct_cuFuncSetSharedMemConfig_params_st
@c.record
class struct_cuGraphCreate_params_st(c.Struct):
  SIZE = 16
  phGraph: Annotated[c.POINTER[CUgraph], 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuGraphCreate_params: TypeAlias = struct_cuGraphCreate_params_st
@c.record
class struct_cuGraphAddKernelNode_v2_params_st(c.Struct):
  SIZE = 40
  phGraphNode: Annotated[c.POINTER[CUgraphNode], 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
  nodeParams: Annotated[c.POINTER[CUDA_KERNEL_NODE_PARAMS], 32]
@c.record
class struct_CUDA_KERNEL_NODE_PARAMS_v2_st(c.Struct):
  SIZE = 72
  func: Annotated[CUfunction, 0]
  gridDimX: Annotated[Annotated[int, ctypes.c_uint32], 8]
  gridDimY: Annotated[Annotated[int, ctypes.c_uint32], 12]
  gridDimZ: Annotated[Annotated[int, ctypes.c_uint32], 16]
  blockDimX: Annotated[Annotated[int, ctypes.c_uint32], 20]
  blockDimY: Annotated[Annotated[int, ctypes.c_uint32], 24]
  blockDimZ: Annotated[Annotated[int, ctypes.c_uint32], 28]
  sharedMemBytes: Annotated[Annotated[int, ctypes.c_uint32], 32]
  kernelParams: Annotated[c.POINTER[ctypes.c_void_p], 40]
  extra: Annotated[c.POINTER[ctypes.c_void_p], 48]
  kern: Annotated[CUkernel, 56]
  ctx: Annotated[CUcontext, 64]
CUDA_KERNEL_NODE_PARAMS: TypeAlias = struct_CUDA_KERNEL_NODE_PARAMS_v2_st
cuGraphAddKernelNode_v2_params: TypeAlias = struct_cuGraphAddKernelNode_v2_params_st
@c.record
class struct_cuGraphKernelNodeGetParams_v2_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  nodeParams: Annotated[c.POINTER[CUDA_KERNEL_NODE_PARAMS], 8]
cuGraphKernelNodeGetParams_v2_params: TypeAlias = struct_cuGraphKernelNodeGetParams_v2_params_st
@c.record
class struct_cuGraphKernelNodeSetParams_v2_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  nodeParams: Annotated[c.POINTER[CUDA_KERNEL_NODE_PARAMS], 8]
cuGraphKernelNodeSetParams_v2_params: TypeAlias = struct_cuGraphKernelNodeSetParams_v2_params_st
@c.record
class struct_cuGraphAddMemcpyNode_params_st(c.Struct):
  SIZE = 48
  phGraphNode: Annotated[c.POINTER[CUgraphNode], 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
  copyParams: Annotated[c.POINTER[CUDA_MEMCPY3D], 32]
  ctx: Annotated[CUcontext, 40]
cuGraphAddMemcpyNode_params: TypeAlias = struct_cuGraphAddMemcpyNode_params_st
@c.record
class struct_cuGraphMemcpyNodeGetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  nodeParams: Annotated[c.POINTER[CUDA_MEMCPY3D], 8]
cuGraphMemcpyNodeGetParams_params: TypeAlias = struct_cuGraphMemcpyNodeGetParams_params_st
@c.record
class struct_cuGraphMemcpyNodeSetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  nodeParams: Annotated[c.POINTER[CUDA_MEMCPY3D], 8]
cuGraphMemcpyNodeSetParams_params: TypeAlias = struct_cuGraphMemcpyNodeSetParams_params_st
@c.record
class struct_cuGraphAddMemsetNode_params_st(c.Struct):
  SIZE = 48
  phGraphNode: Annotated[c.POINTER[CUgraphNode], 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
  memsetParams: Annotated[c.POINTER[CUDA_MEMSET_NODE_PARAMS], 32]
  ctx: Annotated[CUcontext, 40]
@c.record
class struct_CUDA_MEMSET_NODE_PARAMS_st(c.Struct):
  SIZE = 40
  dst: Annotated[CUdeviceptr, 0]
  pitch: Annotated[size_t, 8]
  value: Annotated[Annotated[int, ctypes.c_uint32], 16]
  elementSize: Annotated[Annotated[int, ctypes.c_uint32], 20]
  width: Annotated[size_t, 24]
  height: Annotated[size_t, 32]
CUDA_MEMSET_NODE_PARAMS: TypeAlias = struct_CUDA_MEMSET_NODE_PARAMS_st
cuGraphAddMemsetNode_params: TypeAlias = struct_cuGraphAddMemsetNode_params_st
@c.record
class struct_cuGraphMemsetNodeGetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  nodeParams: Annotated[c.POINTER[CUDA_MEMSET_NODE_PARAMS], 8]
cuGraphMemsetNodeGetParams_params: TypeAlias = struct_cuGraphMemsetNodeGetParams_params_st
@c.record
class struct_cuGraphMemsetNodeSetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  nodeParams: Annotated[c.POINTER[CUDA_MEMSET_NODE_PARAMS], 8]
cuGraphMemsetNodeSetParams_params: TypeAlias = struct_cuGraphMemsetNodeSetParams_params_st
@c.record
class struct_cuGraphAddHostNode_params_st(c.Struct):
  SIZE = 40
  phGraphNode: Annotated[c.POINTER[CUgraphNode], 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
  nodeParams: Annotated[c.POINTER[CUDA_HOST_NODE_PARAMS], 32]
@c.record
class struct_CUDA_HOST_NODE_PARAMS_st(c.Struct):
  SIZE = 16
  fn: Annotated[CUhostFn, 0]
  userData: Annotated[ctypes.c_void_p, 8]
CUDA_HOST_NODE_PARAMS: TypeAlias = struct_CUDA_HOST_NODE_PARAMS_st
cuGraphAddHostNode_params: TypeAlias = struct_cuGraphAddHostNode_params_st
@c.record
class struct_cuGraphHostNodeGetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  nodeParams: Annotated[c.POINTER[CUDA_HOST_NODE_PARAMS], 8]
cuGraphHostNodeGetParams_params: TypeAlias = struct_cuGraphHostNodeGetParams_params_st
@c.record
class struct_cuGraphHostNodeSetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  nodeParams: Annotated[c.POINTER[CUDA_HOST_NODE_PARAMS], 8]
cuGraphHostNodeSetParams_params: TypeAlias = struct_cuGraphHostNodeSetParams_params_st
@c.record
class struct_cuGraphAddChildGraphNode_params_st(c.Struct):
  SIZE = 40
  phGraphNode: Annotated[c.POINTER[CUgraphNode], 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
  childGraph: Annotated[CUgraph, 32]
cuGraphAddChildGraphNode_params: TypeAlias = struct_cuGraphAddChildGraphNode_params_st
@c.record
class struct_cuGraphChildGraphNodeGetGraph_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  phGraph: Annotated[c.POINTER[CUgraph], 8]
cuGraphChildGraphNodeGetGraph_params: TypeAlias = struct_cuGraphChildGraphNodeGetGraph_params_st
@c.record
class struct_cuGraphAddEmptyNode_params_st(c.Struct):
  SIZE = 32
  phGraphNode: Annotated[c.POINTER[CUgraphNode], 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
cuGraphAddEmptyNode_params: TypeAlias = struct_cuGraphAddEmptyNode_params_st
@c.record
class struct_cuGraphAddEventRecordNode_params_st(c.Struct):
  SIZE = 40
  phGraphNode: Annotated[c.POINTER[CUgraphNode], 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
  event: Annotated[CUevent, 32]
cuGraphAddEventRecordNode_params: TypeAlias = struct_cuGraphAddEventRecordNode_params_st
@c.record
class struct_cuGraphEventRecordNodeGetEvent_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  event_out: Annotated[c.POINTER[CUevent], 8]
cuGraphEventRecordNodeGetEvent_params: TypeAlias = struct_cuGraphEventRecordNodeGetEvent_params_st
@c.record
class struct_cuGraphEventRecordNodeSetEvent_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  event: Annotated[CUevent, 8]
cuGraphEventRecordNodeSetEvent_params: TypeAlias = struct_cuGraphEventRecordNodeSetEvent_params_st
@c.record
class struct_cuGraphAddEventWaitNode_params_st(c.Struct):
  SIZE = 40
  phGraphNode: Annotated[c.POINTER[CUgraphNode], 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
  event: Annotated[CUevent, 32]
cuGraphAddEventWaitNode_params: TypeAlias = struct_cuGraphAddEventWaitNode_params_st
@c.record
class struct_cuGraphEventWaitNodeGetEvent_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  event_out: Annotated[c.POINTER[CUevent], 8]
cuGraphEventWaitNodeGetEvent_params: TypeAlias = struct_cuGraphEventWaitNodeGetEvent_params_st
@c.record
class struct_cuGraphEventWaitNodeSetEvent_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  event: Annotated[CUevent, 8]
cuGraphEventWaitNodeSetEvent_params: TypeAlias = struct_cuGraphEventWaitNodeSetEvent_params_st
@c.record
class struct_cuGraphAddExternalSemaphoresSignalNode_params_st(c.Struct):
  SIZE = 40
  phGraphNode: Annotated[c.POINTER[CUgraphNode], 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
  nodeParams: Annotated[c.POINTER[CUDA_EXT_SEM_SIGNAL_NODE_PARAMS], 32]
@c.record
class struct_CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_st(c.Struct):
  SIZE = 24
  extSemArray: Annotated[c.POINTER[CUexternalSemaphore], 0]
  paramsArray: Annotated[c.POINTER[CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
CUDA_EXT_SEM_SIGNAL_NODE_PARAMS: TypeAlias = struct_CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_st
cuGraphAddExternalSemaphoresSignalNode_params: TypeAlias = struct_cuGraphAddExternalSemaphoresSignalNode_params_st
@c.record
class struct_cuGraphExternalSemaphoresSignalNodeGetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  params_out: Annotated[c.POINTER[CUDA_EXT_SEM_SIGNAL_NODE_PARAMS], 8]
cuGraphExternalSemaphoresSignalNodeGetParams_params: TypeAlias = struct_cuGraphExternalSemaphoresSignalNodeGetParams_params_st
@c.record
class struct_cuGraphExternalSemaphoresSignalNodeSetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  nodeParams: Annotated[c.POINTER[CUDA_EXT_SEM_SIGNAL_NODE_PARAMS], 8]
cuGraphExternalSemaphoresSignalNodeSetParams_params: TypeAlias = struct_cuGraphExternalSemaphoresSignalNodeSetParams_params_st
@c.record
class struct_cuGraphAddExternalSemaphoresWaitNode_params_st(c.Struct):
  SIZE = 40
  phGraphNode: Annotated[c.POINTER[CUgraphNode], 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
  nodeParams: Annotated[c.POINTER[CUDA_EXT_SEM_WAIT_NODE_PARAMS], 32]
@c.record
class struct_CUDA_EXT_SEM_WAIT_NODE_PARAMS_st(c.Struct):
  SIZE = 24
  extSemArray: Annotated[c.POINTER[CUexternalSemaphore], 0]
  paramsArray: Annotated[c.POINTER[CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
CUDA_EXT_SEM_WAIT_NODE_PARAMS: TypeAlias = struct_CUDA_EXT_SEM_WAIT_NODE_PARAMS_st
cuGraphAddExternalSemaphoresWaitNode_params: TypeAlias = struct_cuGraphAddExternalSemaphoresWaitNode_params_st
@c.record
class struct_cuGraphExternalSemaphoresWaitNodeGetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  params_out: Annotated[c.POINTER[CUDA_EXT_SEM_WAIT_NODE_PARAMS], 8]
cuGraphExternalSemaphoresWaitNodeGetParams_params: TypeAlias = struct_cuGraphExternalSemaphoresWaitNodeGetParams_params_st
@c.record
class struct_cuGraphExternalSemaphoresWaitNodeSetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  nodeParams: Annotated[c.POINTER[CUDA_EXT_SEM_WAIT_NODE_PARAMS], 8]
cuGraphExternalSemaphoresWaitNodeSetParams_params: TypeAlias = struct_cuGraphExternalSemaphoresWaitNodeSetParams_params_st
@c.record
class struct_cuGraphAddBatchMemOpNode_params_st(c.Struct):
  SIZE = 40
  phGraphNode: Annotated[c.POINTER[CUgraphNode], 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
  nodeParams: Annotated[c.POINTER[CUDA_BATCH_MEM_OP_NODE_PARAMS], 32]
@c.record
class struct_CUDA_BATCH_MEM_OP_NODE_PARAMS_v1_st(c.Struct):
  SIZE = 32
  ctx: Annotated[CUcontext, 0]
  count: Annotated[Annotated[int, ctypes.c_uint32], 8]
  paramArray: Annotated[c.POINTER[CUstreamBatchMemOpParams], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
CUDA_BATCH_MEM_OP_NODE_PARAMS: TypeAlias = struct_CUDA_BATCH_MEM_OP_NODE_PARAMS_v1_st
cuGraphAddBatchMemOpNode_params: TypeAlias = struct_cuGraphAddBatchMemOpNode_params_st
@c.record
class struct_cuGraphBatchMemOpNodeGetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  nodeParams_out: Annotated[c.POINTER[CUDA_BATCH_MEM_OP_NODE_PARAMS], 8]
cuGraphBatchMemOpNodeGetParams_params: TypeAlias = struct_cuGraphBatchMemOpNodeGetParams_params_st
@c.record
class struct_cuGraphBatchMemOpNodeSetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  nodeParams: Annotated[c.POINTER[CUDA_BATCH_MEM_OP_NODE_PARAMS], 8]
cuGraphBatchMemOpNodeSetParams_params: TypeAlias = struct_cuGraphBatchMemOpNodeSetParams_params_st
@c.record
class struct_cuGraphExecBatchMemOpNodeSetParams_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[CUgraphExec, 0]
  hNode: Annotated[CUgraphNode, 8]
  nodeParams: Annotated[c.POINTER[CUDA_BATCH_MEM_OP_NODE_PARAMS], 16]
cuGraphExecBatchMemOpNodeSetParams_params: TypeAlias = struct_cuGraphExecBatchMemOpNodeSetParams_params_st
@c.record
class struct_cuGraphAddMemAllocNode_params_st(c.Struct):
  SIZE = 40
  phGraphNode: Annotated[c.POINTER[CUgraphNode], 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
  nodeParams: Annotated[c.POINTER[CUDA_MEM_ALLOC_NODE_PARAMS], 32]
@c.record
class struct_CUDA_MEM_ALLOC_NODE_PARAMS_v1_st(c.Struct):
  SIZE = 120
  poolProps: Annotated[CUmemPoolProps, 0]
  accessDescs: Annotated[c.POINTER[CUmemAccessDesc], 88]
  accessDescCount: Annotated[size_t, 96]
  bytesize: Annotated[size_t, 104]
  dptr: Annotated[CUdeviceptr, 112]
CUDA_MEM_ALLOC_NODE_PARAMS: TypeAlias = struct_CUDA_MEM_ALLOC_NODE_PARAMS_v1_st
cuGraphAddMemAllocNode_params: TypeAlias = struct_cuGraphAddMemAllocNode_params_st
@c.record
class struct_cuGraphMemAllocNodeGetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  params_out: Annotated[c.POINTER[CUDA_MEM_ALLOC_NODE_PARAMS], 8]
cuGraphMemAllocNodeGetParams_params: TypeAlias = struct_cuGraphMemAllocNodeGetParams_params_st
@c.record
class struct_cuGraphAddMemFreeNode_params_st(c.Struct):
  SIZE = 40
  phGraphNode: Annotated[c.POINTER[CUgraphNode], 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
  dptr: Annotated[CUdeviceptr, 32]
cuGraphAddMemFreeNode_params: TypeAlias = struct_cuGraphAddMemFreeNode_params_st
@c.record
class struct_cuGraphMemFreeNodeGetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  dptr_out: Annotated[c.POINTER[CUdeviceptr], 8]
cuGraphMemFreeNodeGetParams_params: TypeAlias = struct_cuGraphMemFreeNodeGetParams_params_st
@c.record
class struct_cuDeviceGraphMemTrim_params_st(c.Struct):
  SIZE = 4
  device: Annotated[CUdevice, 0]
cuDeviceGraphMemTrim_params: TypeAlias = struct_cuDeviceGraphMemTrim_params_st
@c.record
class struct_cuDeviceGetGraphMemAttribute_params_st(c.Struct):
  SIZE = 16
  device: Annotated[CUdevice, 0]
  attr: Annotated[CUgraphMem_attribute, 4]
  value: Annotated[ctypes.c_void_p, 8]
class enum_CUgraphMem_attribute_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_GRAPH_MEM_ATTR_USED_MEM_CURRENT = enum_CUgraphMem_attribute_enum.define('CU_GRAPH_MEM_ATTR_USED_MEM_CURRENT', 0)
CU_GRAPH_MEM_ATTR_USED_MEM_HIGH = enum_CUgraphMem_attribute_enum.define('CU_GRAPH_MEM_ATTR_USED_MEM_HIGH', 1)
CU_GRAPH_MEM_ATTR_RESERVED_MEM_CURRENT = enum_CUgraphMem_attribute_enum.define('CU_GRAPH_MEM_ATTR_RESERVED_MEM_CURRENT', 2)
CU_GRAPH_MEM_ATTR_RESERVED_MEM_HIGH = enum_CUgraphMem_attribute_enum.define('CU_GRAPH_MEM_ATTR_RESERVED_MEM_HIGH', 3)

CUgraphMem_attribute: TypeAlias = enum_CUgraphMem_attribute_enum
cuDeviceGetGraphMemAttribute_params: TypeAlias = struct_cuDeviceGetGraphMemAttribute_params_st
@c.record
class struct_cuDeviceSetGraphMemAttribute_params_st(c.Struct):
  SIZE = 16
  device: Annotated[CUdevice, 0]
  attr: Annotated[CUgraphMem_attribute, 4]
  value: Annotated[ctypes.c_void_p, 8]
cuDeviceSetGraphMemAttribute_params: TypeAlias = struct_cuDeviceSetGraphMemAttribute_params_st
@c.record
class struct_cuGraphClone_params_st(c.Struct):
  SIZE = 16
  phGraphClone: Annotated[c.POINTER[CUgraph], 0]
  originalGraph: Annotated[CUgraph, 8]
cuGraphClone_params: TypeAlias = struct_cuGraphClone_params_st
@c.record
class struct_cuGraphNodeFindInClone_params_st(c.Struct):
  SIZE = 24
  phNode: Annotated[c.POINTER[CUgraphNode], 0]
  hOriginalNode: Annotated[CUgraphNode, 8]
  hClonedGraph: Annotated[CUgraph, 16]
cuGraphNodeFindInClone_params: TypeAlias = struct_cuGraphNodeFindInClone_params_st
@c.record
class struct_cuGraphNodeGetType_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  type: Annotated[c.POINTER[CUgraphNodeType], 8]
cuGraphNodeGetType_params: TypeAlias = struct_cuGraphNodeGetType_params_st
@c.record
class struct_cuGraphGetNodes_params_st(c.Struct):
  SIZE = 24
  hGraph: Annotated[CUgraph, 0]
  nodes: Annotated[c.POINTER[CUgraphNode], 8]
  numNodes: Annotated[c.POINTER[size_t], 16]
cuGraphGetNodes_params: TypeAlias = struct_cuGraphGetNodes_params_st
@c.record
class struct_cuGraphGetRootNodes_params_st(c.Struct):
  SIZE = 24
  hGraph: Annotated[CUgraph, 0]
  rootNodes: Annotated[c.POINTER[CUgraphNode], 8]
  numRootNodes: Annotated[c.POINTER[size_t], 16]
cuGraphGetRootNodes_params: TypeAlias = struct_cuGraphGetRootNodes_params_st
@c.record
class struct_cuGraphGetEdges_params_st(c.Struct):
  SIZE = 32
  hGraph: Annotated[CUgraph, 0]
  _from: Annotated[c.POINTER[CUgraphNode], 8]
  to: Annotated[c.POINTER[CUgraphNode], 16]
  numEdges: Annotated[c.POINTER[size_t], 24]
cuGraphGetEdges_params: TypeAlias = struct_cuGraphGetEdges_params_st
@c.record
class struct_cuGraphGetEdges_v2_params_st(c.Struct):
  SIZE = 40
  hGraph: Annotated[CUgraph, 0]
  _from: Annotated[c.POINTER[CUgraphNode], 8]
  to: Annotated[c.POINTER[CUgraphNode], 16]
  edgeData: Annotated[c.POINTER[CUgraphEdgeData], 24]
  numEdges: Annotated[c.POINTER[size_t], 32]
cuGraphGetEdges_v2_params: TypeAlias = struct_cuGraphGetEdges_v2_params_st
@c.record
class struct_cuGraphNodeGetDependencies_params_st(c.Struct):
  SIZE = 24
  hNode: Annotated[CUgraphNode, 0]
  dependencies: Annotated[c.POINTER[CUgraphNode], 8]
  numDependencies: Annotated[c.POINTER[size_t], 16]
cuGraphNodeGetDependencies_params: TypeAlias = struct_cuGraphNodeGetDependencies_params_st
@c.record
class struct_cuGraphNodeGetDependencies_v2_params_st(c.Struct):
  SIZE = 32
  hNode: Annotated[CUgraphNode, 0]
  dependencies: Annotated[c.POINTER[CUgraphNode], 8]
  edgeData: Annotated[c.POINTER[CUgraphEdgeData], 16]
  numDependencies: Annotated[c.POINTER[size_t], 24]
cuGraphNodeGetDependencies_v2_params: TypeAlias = struct_cuGraphNodeGetDependencies_v2_params_st
@c.record
class struct_cuGraphNodeGetDependentNodes_params_st(c.Struct):
  SIZE = 24
  hNode: Annotated[CUgraphNode, 0]
  dependentNodes: Annotated[c.POINTER[CUgraphNode], 8]
  numDependentNodes: Annotated[c.POINTER[size_t], 16]
cuGraphNodeGetDependentNodes_params: TypeAlias = struct_cuGraphNodeGetDependentNodes_params_st
@c.record
class struct_cuGraphNodeGetDependentNodes_v2_params_st(c.Struct):
  SIZE = 32
  hNode: Annotated[CUgraphNode, 0]
  dependentNodes: Annotated[c.POINTER[CUgraphNode], 8]
  edgeData: Annotated[c.POINTER[CUgraphEdgeData], 16]
  numDependentNodes: Annotated[c.POINTER[size_t], 24]
cuGraphNodeGetDependentNodes_v2_params: TypeAlias = struct_cuGraphNodeGetDependentNodes_v2_params_st
@c.record
class struct_cuGraphAddDependencies_params_st(c.Struct):
  SIZE = 32
  hGraph: Annotated[CUgraph, 0]
  _from: Annotated[c.POINTER[CUgraphNode], 8]
  to: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
cuGraphAddDependencies_params: TypeAlias = struct_cuGraphAddDependencies_params_st
@c.record
class struct_cuGraphAddDependencies_v2_params_st(c.Struct):
  SIZE = 40
  hGraph: Annotated[CUgraph, 0]
  _from: Annotated[c.POINTER[CUgraphNode], 8]
  to: Annotated[c.POINTER[CUgraphNode], 16]
  edgeData: Annotated[c.POINTER[CUgraphEdgeData], 24]
  numDependencies: Annotated[size_t, 32]
cuGraphAddDependencies_v2_params: TypeAlias = struct_cuGraphAddDependencies_v2_params_st
@c.record
class struct_cuGraphRemoveDependencies_params_st(c.Struct):
  SIZE = 32
  hGraph: Annotated[CUgraph, 0]
  _from: Annotated[c.POINTER[CUgraphNode], 8]
  to: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
cuGraphRemoveDependencies_params: TypeAlias = struct_cuGraphRemoveDependencies_params_st
@c.record
class struct_cuGraphRemoveDependencies_v2_params_st(c.Struct):
  SIZE = 40
  hGraph: Annotated[CUgraph, 0]
  _from: Annotated[c.POINTER[CUgraphNode], 8]
  to: Annotated[c.POINTER[CUgraphNode], 16]
  edgeData: Annotated[c.POINTER[CUgraphEdgeData], 24]
  numDependencies: Annotated[size_t, 32]
cuGraphRemoveDependencies_v2_params: TypeAlias = struct_cuGraphRemoveDependencies_v2_params_st
@c.record
class struct_cuGraphDestroyNode_params_st(c.Struct):
  SIZE = 8
  hNode: Annotated[CUgraphNode, 0]
cuGraphDestroyNode_params: TypeAlias = struct_cuGraphDestroyNode_params_st
@c.record
class struct_cuGraphInstantiateWithFlags_params_st(c.Struct):
  SIZE = 24
  phGraphExec: Annotated[c.POINTER[CUgraphExec], 0]
  hGraph: Annotated[CUgraph, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 16]
cuGraphInstantiateWithFlags_params: TypeAlias = struct_cuGraphInstantiateWithFlags_params_st
@c.record
class struct_cuGraphInstantiateWithParams_ptsz_params_st(c.Struct):
  SIZE = 24
  phGraphExec: Annotated[c.POINTER[CUgraphExec], 0]
  hGraph: Annotated[CUgraph, 8]
  instantiateParams: Annotated[c.POINTER[CUDA_GRAPH_INSTANTIATE_PARAMS], 16]
@c.record
class struct_CUDA_GRAPH_INSTANTIATE_PARAMS_st(c.Struct):
  SIZE = 32
  flags: Annotated[cuuint64_t, 0]
  hUploadStream: Annotated[CUstream, 8]
  hErrNode_out: Annotated[CUgraphNode, 16]
  result_out: Annotated[CUgraphInstantiateResult, 24]
CUDA_GRAPH_INSTANTIATE_PARAMS: TypeAlias = struct_CUDA_GRAPH_INSTANTIATE_PARAMS_st
class enum_CUgraphInstantiateResult_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CUDA_GRAPH_INSTANTIATE_SUCCESS = enum_CUgraphInstantiateResult_enum.define('CUDA_GRAPH_INSTANTIATE_SUCCESS', 0)
CUDA_GRAPH_INSTANTIATE_ERROR = enum_CUgraphInstantiateResult_enum.define('CUDA_GRAPH_INSTANTIATE_ERROR', 1)
CUDA_GRAPH_INSTANTIATE_INVALID_STRUCTURE = enum_CUgraphInstantiateResult_enum.define('CUDA_GRAPH_INSTANTIATE_INVALID_STRUCTURE', 2)
CUDA_GRAPH_INSTANTIATE_NODE_OPERATION_NOT_SUPPORTED = enum_CUgraphInstantiateResult_enum.define('CUDA_GRAPH_INSTANTIATE_NODE_OPERATION_NOT_SUPPORTED', 3)
CUDA_GRAPH_INSTANTIATE_MULTIPLE_CTXS_NOT_SUPPORTED = enum_CUgraphInstantiateResult_enum.define('CUDA_GRAPH_INSTANTIATE_MULTIPLE_CTXS_NOT_SUPPORTED', 4)
CUDA_GRAPH_INSTANTIATE_CONDITIONAL_HANDLE_UNUSED = enum_CUgraphInstantiateResult_enum.define('CUDA_GRAPH_INSTANTIATE_CONDITIONAL_HANDLE_UNUSED', 5)

CUgraphInstantiateResult: TypeAlias = enum_CUgraphInstantiateResult_enum
cuGraphInstantiateWithParams_ptsz_params: TypeAlias = struct_cuGraphInstantiateWithParams_ptsz_params_st
@c.record
class struct_cuGraphExecGetFlags_params_st(c.Struct):
  SIZE = 16
  hGraphExec: Annotated[CUgraphExec, 0]
  flags: Annotated[c.POINTER[cuuint64_t], 8]
cuGraphExecGetFlags_params: TypeAlias = struct_cuGraphExecGetFlags_params_st
@c.record
class struct_cuGraphExecKernelNodeSetParams_v2_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[CUgraphExec, 0]
  hNode: Annotated[CUgraphNode, 8]
  nodeParams: Annotated[c.POINTER[CUDA_KERNEL_NODE_PARAMS], 16]
cuGraphExecKernelNodeSetParams_v2_params: TypeAlias = struct_cuGraphExecKernelNodeSetParams_v2_params_st
@c.record
class struct_cuGraphExecMemcpyNodeSetParams_params_st(c.Struct):
  SIZE = 32
  hGraphExec: Annotated[CUgraphExec, 0]
  hNode: Annotated[CUgraphNode, 8]
  copyParams: Annotated[c.POINTER[CUDA_MEMCPY3D], 16]
  ctx: Annotated[CUcontext, 24]
cuGraphExecMemcpyNodeSetParams_params: TypeAlias = struct_cuGraphExecMemcpyNodeSetParams_params_st
@c.record
class struct_cuGraphExecMemsetNodeSetParams_params_st(c.Struct):
  SIZE = 32
  hGraphExec: Annotated[CUgraphExec, 0]
  hNode: Annotated[CUgraphNode, 8]
  memsetParams: Annotated[c.POINTER[CUDA_MEMSET_NODE_PARAMS], 16]
  ctx: Annotated[CUcontext, 24]
cuGraphExecMemsetNodeSetParams_params: TypeAlias = struct_cuGraphExecMemsetNodeSetParams_params_st
@c.record
class struct_cuGraphExecHostNodeSetParams_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[CUgraphExec, 0]
  hNode: Annotated[CUgraphNode, 8]
  nodeParams: Annotated[c.POINTER[CUDA_HOST_NODE_PARAMS], 16]
cuGraphExecHostNodeSetParams_params: TypeAlias = struct_cuGraphExecHostNodeSetParams_params_st
@c.record
class struct_cuGraphExecChildGraphNodeSetParams_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[CUgraphExec, 0]
  hNode: Annotated[CUgraphNode, 8]
  childGraph: Annotated[CUgraph, 16]
cuGraphExecChildGraphNodeSetParams_params: TypeAlias = struct_cuGraphExecChildGraphNodeSetParams_params_st
@c.record
class struct_cuGraphExecEventRecordNodeSetEvent_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[CUgraphExec, 0]
  hNode: Annotated[CUgraphNode, 8]
  event: Annotated[CUevent, 16]
cuGraphExecEventRecordNodeSetEvent_params: TypeAlias = struct_cuGraphExecEventRecordNodeSetEvent_params_st
@c.record
class struct_cuGraphExecEventWaitNodeSetEvent_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[CUgraphExec, 0]
  hNode: Annotated[CUgraphNode, 8]
  event: Annotated[CUevent, 16]
cuGraphExecEventWaitNodeSetEvent_params: TypeAlias = struct_cuGraphExecEventWaitNodeSetEvent_params_st
@c.record
class struct_cuGraphExecExternalSemaphoresSignalNodeSetParams_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[CUgraphExec, 0]
  hNode: Annotated[CUgraphNode, 8]
  nodeParams: Annotated[c.POINTER[CUDA_EXT_SEM_SIGNAL_NODE_PARAMS], 16]
cuGraphExecExternalSemaphoresSignalNodeSetParams_params: TypeAlias = struct_cuGraphExecExternalSemaphoresSignalNodeSetParams_params_st
@c.record
class struct_cuGraphExecExternalSemaphoresWaitNodeSetParams_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[CUgraphExec, 0]
  hNode: Annotated[CUgraphNode, 8]
  nodeParams: Annotated[c.POINTER[CUDA_EXT_SEM_WAIT_NODE_PARAMS], 16]
cuGraphExecExternalSemaphoresWaitNodeSetParams_params: TypeAlias = struct_cuGraphExecExternalSemaphoresWaitNodeSetParams_params_st
@c.record
class struct_cuGraphNodeSetEnabled_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[CUgraphExec, 0]
  hNode: Annotated[CUgraphNode, 8]
  isEnabled: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuGraphNodeSetEnabled_params: TypeAlias = struct_cuGraphNodeSetEnabled_params_st
@c.record
class struct_cuGraphNodeGetEnabled_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[CUgraphExec, 0]
  hNode: Annotated[CUgraphNode, 8]
  isEnabled: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 16]
cuGraphNodeGetEnabled_params: TypeAlias = struct_cuGraphNodeGetEnabled_params_st
@c.record
class struct_cuGraphUpload_ptsz_params_st(c.Struct):
  SIZE = 16
  hGraphExec: Annotated[CUgraphExec, 0]
  hStream: Annotated[CUstream, 8]
cuGraphUpload_ptsz_params: TypeAlias = struct_cuGraphUpload_ptsz_params_st
@c.record
class struct_cuGraphLaunch_ptsz_params_st(c.Struct):
  SIZE = 16
  hGraphExec: Annotated[CUgraphExec, 0]
  hStream: Annotated[CUstream, 8]
cuGraphLaunch_ptsz_params: TypeAlias = struct_cuGraphLaunch_ptsz_params_st
@c.record
class struct_cuGraphExecDestroy_params_st(c.Struct):
  SIZE = 8
  hGraphExec: Annotated[CUgraphExec, 0]
cuGraphExecDestroy_params: TypeAlias = struct_cuGraphExecDestroy_params_st
@c.record
class struct_cuGraphDestroy_params_st(c.Struct):
  SIZE = 8
  hGraph: Annotated[CUgraph, 0]
cuGraphDestroy_params: TypeAlias = struct_cuGraphDestroy_params_st
@c.record
class struct_cuGraphExecUpdate_v2_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[CUgraphExec, 0]
  hGraph: Annotated[CUgraph, 8]
  resultInfo: Annotated[c.POINTER[CUgraphExecUpdateResultInfo], 16]
@c.record
class struct_CUgraphExecUpdateResultInfo_st(c.Struct):
  SIZE = 24
  result: Annotated[CUgraphExecUpdateResult, 0]
  errorNode: Annotated[CUgraphNode, 8]
  errorFromNode: Annotated[CUgraphNode, 16]
CUgraphExecUpdateResultInfo: TypeAlias = struct_CUgraphExecUpdateResultInfo_st
class enum_CUgraphExecUpdateResult_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_GRAPH_EXEC_UPDATE_SUCCESS = enum_CUgraphExecUpdateResult_enum.define('CU_GRAPH_EXEC_UPDATE_SUCCESS', 0)
CU_GRAPH_EXEC_UPDATE_ERROR = enum_CUgraphExecUpdateResult_enum.define('CU_GRAPH_EXEC_UPDATE_ERROR', 1)
CU_GRAPH_EXEC_UPDATE_ERROR_TOPOLOGY_CHANGED = enum_CUgraphExecUpdateResult_enum.define('CU_GRAPH_EXEC_UPDATE_ERROR_TOPOLOGY_CHANGED', 2)
CU_GRAPH_EXEC_UPDATE_ERROR_NODE_TYPE_CHANGED = enum_CUgraphExecUpdateResult_enum.define('CU_GRAPH_EXEC_UPDATE_ERROR_NODE_TYPE_CHANGED', 3)
CU_GRAPH_EXEC_UPDATE_ERROR_FUNCTION_CHANGED = enum_CUgraphExecUpdateResult_enum.define('CU_GRAPH_EXEC_UPDATE_ERROR_FUNCTION_CHANGED', 4)
CU_GRAPH_EXEC_UPDATE_ERROR_PARAMETERS_CHANGED = enum_CUgraphExecUpdateResult_enum.define('CU_GRAPH_EXEC_UPDATE_ERROR_PARAMETERS_CHANGED', 5)
CU_GRAPH_EXEC_UPDATE_ERROR_NOT_SUPPORTED = enum_CUgraphExecUpdateResult_enum.define('CU_GRAPH_EXEC_UPDATE_ERROR_NOT_SUPPORTED', 6)
CU_GRAPH_EXEC_UPDATE_ERROR_UNSUPPORTED_FUNCTION_CHANGE = enum_CUgraphExecUpdateResult_enum.define('CU_GRAPH_EXEC_UPDATE_ERROR_UNSUPPORTED_FUNCTION_CHANGE', 7)
CU_GRAPH_EXEC_UPDATE_ERROR_ATTRIBUTES_CHANGED = enum_CUgraphExecUpdateResult_enum.define('CU_GRAPH_EXEC_UPDATE_ERROR_ATTRIBUTES_CHANGED', 8)

CUgraphExecUpdateResult: TypeAlias = enum_CUgraphExecUpdateResult_enum
cuGraphExecUpdate_v2_params: TypeAlias = struct_cuGraphExecUpdate_v2_params_st
@c.record
class struct_cuGraphKernelNodeCopyAttributes_params_st(c.Struct):
  SIZE = 16
  dst: Annotated[CUgraphNode, 0]
  src: Annotated[CUgraphNode, 8]
cuGraphKernelNodeCopyAttributes_params: TypeAlias = struct_cuGraphKernelNodeCopyAttributes_params_st
@c.record
class struct_cuGraphKernelNodeGetAttribute_params_st(c.Struct):
  SIZE = 24
  hNode: Annotated[CUgraphNode, 0]
  attr: Annotated[CUkernelNodeAttrID, 8]
  value_out: Annotated[c.POINTER[CUkernelNodeAttrValue], 16]
CUkernelNodeAttrID: TypeAlias = enum_CUlaunchAttributeID_enum
CUkernelNodeAttrValue: TypeAlias = union_CUlaunchAttributeValue_union
cuGraphKernelNodeGetAttribute_params: TypeAlias = struct_cuGraphKernelNodeGetAttribute_params_st
@c.record
class struct_cuGraphKernelNodeSetAttribute_params_st(c.Struct):
  SIZE = 24
  hNode: Annotated[CUgraphNode, 0]
  attr: Annotated[CUkernelNodeAttrID, 8]
  value: Annotated[c.POINTER[CUkernelNodeAttrValue], 16]
cuGraphKernelNodeSetAttribute_params: TypeAlias = struct_cuGraphKernelNodeSetAttribute_params_st
@c.record
class struct_cuGraphDebugDotPrint_params_st(c.Struct):
  SIZE = 24
  hGraph: Annotated[CUgraph, 0]
  path: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuGraphDebugDotPrint_params: TypeAlias = struct_cuGraphDebugDotPrint_params_st
@c.record
class struct_cuUserObjectCreate_params_st(c.Struct):
  SIZE = 32
  object_out: Annotated[c.POINTER[CUuserObject], 0]
  ptr: Annotated[ctypes.c_void_p, 8]
  destroy: Annotated[CUhostFn, 16]
  initialRefcount: Annotated[Annotated[int, ctypes.c_uint32], 24]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 28]
class struct_CUuserObject_st(ctypes.Structure): pass
CUuserObject: TypeAlias = c.POINTER[struct_CUuserObject_st]
cuUserObjectCreate_params: TypeAlias = struct_cuUserObjectCreate_params_st
@c.record
class struct_cuUserObjectRetain_params_st(c.Struct):
  SIZE = 16
  object: Annotated[CUuserObject, 0]
  count: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuUserObjectRetain_params: TypeAlias = struct_cuUserObjectRetain_params_st
@c.record
class struct_cuUserObjectRelease_params_st(c.Struct):
  SIZE = 16
  object: Annotated[CUuserObject, 0]
  count: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuUserObjectRelease_params: TypeAlias = struct_cuUserObjectRelease_params_st
@c.record
class struct_cuGraphRetainUserObject_params_st(c.Struct):
  SIZE = 24
  graph: Annotated[CUgraph, 0]
  object: Annotated[CUuserObject, 8]
  count: Annotated[Annotated[int, ctypes.c_uint32], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
cuGraphRetainUserObject_params: TypeAlias = struct_cuGraphRetainUserObject_params_st
@c.record
class struct_cuGraphReleaseUserObject_params_st(c.Struct):
  SIZE = 24
  graph: Annotated[CUgraph, 0]
  object: Annotated[CUuserObject, 8]
  count: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuGraphReleaseUserObject_params: TypeAlias = struct_cuGraphReleaseUserObject_params_st
@c.record
class struct_cuGraphAddNode_params_st(c.Struct):
  SIZE = 40
  phGraphNode: Annotated[c.POINTER[CUgraphNode], 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
  nodeParams: Annotated[c.POINTER[CUgraphNodeParams], 32]
@c.record
class struct_CUgraphNodeParams_st(c.Struct):
  SIZE = 256
  type: Annotated[CUgraphNodeType, 0]
  reserved0: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[3]], 4]
  reserved1: Annotated[c.Array[Annotated[int, ctypes.c_int64], Literal[29]], 16]
  kernel: Annotated[CUDA_KERNEL_NODE_PARAMS_v3, 16]
  memcpy: Annotated[CUDA_MEMCPY_NODE_PARAMS, 16]
  memset: Annotated[CUDA_MEMSET_NODE_PARAMS_v2, 16]
  host: Annotated[CUDA_HOST_NODE_PARAMS_v2, 16]
  graph: Annotated[CUDA_CHILD_GRAPH_NODE_PARAMS, 16]
  eventWait: Annotated[CUDA_EVENT_WAIT_NODE_PARAMS, 16]
  eventRecord: Annotated[CUDA_EVENT_RECORD_NODE_PARAMS, 16]
  extSemSignal: Annotated[CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_v2, 16]
  extSemWait: Annotated[CUDA_EXT_SEM_WAIT_NODE_PARAMS_v2, 16]
  alloc: Annotated[CUDA_MEM_ALLOC_NODE_PARAMS_v2, 16]
  free: Annotated[CUDA_MEM_FREE_NODE_PARAMS, 16]
  memOp: Annotated[CUDA_BATCH_MEM_OP_NODE_PARAMS_v2, 16]
  conditional: Annotated[CUDA_CONDITIONAL_NODE_PARAMS, 16]
  reserved2: Annotated[Annotated[int, ctypes.c_int64], 248]
CUgraphNodeParams: TypeAlias = struct_CUgraphNodeParams_st
@c.record
class struct_CUDA_KERNEL_NODE_PARAMS_v3_st(c.Struct):
  SIZE = 72
  func: Annotated[CUfunction, 0]
  gridDimX: Annotated[Annotated[int, ctypes.c_uint32], 8]
  gridDimY: Annotated[Annotated[int, ctypes.c_uint32], 12]
  gridDimZ: Annotated[Annotated[int, ctypes.c_uint32], 16]
  blockDimX: Annotated[Annotated[int, ctypes.c_uint32], 20]
  blockDimY: Annotated[Annotated[int, ctypes.c_uint32], 24]
  blockDimZ: Annotated[Annotated[int, ctypes.c_uint32], 28]
  sharedMemBytes: Annotated[Annotated[int, ctypes.c_uint32], 32]
  kernelParams: Annotated[c.POINTER[ctypes.c_void_p], 40]
  extra: Annotated[c.POINTER[ctypes.c_void_p], 48]
  kern: Annotated[CUkernel, 56]
  ctx: Annotated[CUcontext, 64]
CUDA_KERNEL_NODE_PARAMS_v3: TypeAlias = struct_CUDA_KERNEL_NODE_PARAMS_v3_st
@c.record
class struct_CUDA_MEMCPY_NODE_PARAMS_st(c.Struct):
  SIZE = 216
  flags: Annotated[Annotated[int, ctypes.c_int32], 0]
  reserved: Annotated[Annotated[int, ctypes.c_int32], 4]
  copyCtx: Annotated[CUcontext, 8]
  copyParams: Annotated[CUDA_MEMCPY3D, 16]
CUDA_MEMCPY_NODE_PARAMS: TypeAlias = struct_CUDA_MEMCPY_NODE_PARAMS_st
@c.record
class struct_CUDA_MEMSET_NODE_PARAMS_v2_st(c.Struct):
  SIZE = 48
  dst: Annotated[CUdeviceptr, 0]
  pitch: Annotated[size_t, 8]
  value: Annotated[Annotated[int, ctypes.c_uint32], 16]
  elementSize: Annotated[Annotated[int, ctypes.c_uint32], 20]
  width: Annotated[size_t, 24]
  height: Annotated[size_t, 32]
  ctx: Annotated[CUcontext, 40]
CUDA_MEMSET_NODE_PARAMS_v2: TypeAlias = struct_CUDA_MEMSET_NODE_PARAMS_v2_st
@c.record
class struct_CUDA_HOST_NODE_PARAMS_v2_st(c.Struct):
  SIZE = 16
  fn: Annotated[CUhostFn, 0]
  userData: Annotated[ctypes.c_void_p, 8]
CUDA_HOST_NODE_PARAMS_v2: TypeAlias = struct_CUDA_HOST_NODE_PARAMS_v2_st
@c.record
class struct_CUDA_CHILD_GRAPH_NODE_PARAMS_st(c.Struct):
  SIZE = 8
  graph: Annotated[CUgraph, 0]
CUDA_CHILD_GRAPH_NODE_PARAMS: TypeAlias = struct_CUDA_CHILD_GRAPH_NODE_PARAMS_st
@c.record
class struct_CUDA_EVENT_WAIT_NODE_PARAMS_st(c.Struct):
  SIZE = 8
  event: Annotated[CUevent, 0]
CUDA_EVENT_WAIT_NODE_PARAMS: TypeAlias = struct_CUDA_EVENT_WAIT_NODE_PARAMS_st
@c.record
class struct_CUDA_EVENT_RECORD_NODE_PARAMS_st(c.Struct):
  SIZE = 8
  event: Annotated[CUevent, 0]
CUDA_EVENT_RECORD_NODE_PARAMS: TypeAlias = struct_CUDA_EVENT_RECORD_NODE_PARAMS_st
@c.record
class struct_CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_v2_st(c.Struct):
  SIZE = 24
  extSemArray: Annotated[c.POINTER[CUexternalSemaphore], 0]
  paramsArray: Annotated[c.POINTER[CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_v2: TypeAlias = struct_CUDA_EXT_SEM_SIGNAL_NODE_PARAMS_v2_st
@c.record
class struct_CUDA_EXT_SEM_WAIT_NODE_PARAMS_v2_st(c.Struct):
  SIZE = 24
  extSemArray: Annotated[c.POINTER[CUexternalSemaphore], 0]
  paramsArray: Annotated[c.POINTER[CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
CUDA_EXT_SEM_WAIT_NODE_PARAMS_v2: TypeAlias = struct_CUDA_EXT_SEM_WAIT_NODE_PARAMS_v2_st
@c.record
class struct_CUDA_MEM_ALLOC_NODE_PARAMS_v2_st(c.Struct):
  SIZE = 120
  poolProps: Annotated[CUmemPoolProps, 0]
  accessDescs: Annotated[c.POINTER[CUmemAccessDesc], 88]
  accessDescCount: Annotated[size_t, 96]
  bytesize: Annotated[size_t, 104]
  dptr: Annotated[CUdeviceptr, 112]
CUDA_MEM_ALLOC_NODE_PARAMS_v2: TypeAlias = struct_CUDA_MEM_ALLOC_NODE_PARAMS_v2_st
@c.record
class struct_CUDA_MEM_FREE_NODE_PARAMS_st(c.Struct):
  SIZE = 8
  dptr: Annotated[CUdeviceptr, 0]
CUDA_MEM_FREE_NODE_PARAMS: TypeAlias = struct_CUDA_MEM_FREE_NODE_PARAMS_st
@c.record
class struct_CUDA_BATCH_MEM_OP_NODE_PARAMS_v2_st(c.Struct):
  SIZE = 32
  ctx: Annotated[CUcontext, 0]
  count: Annotated[Annotated[int, ctypes.c_uint32], 8]
  paramArray: Annotated[c.POINTER[CUstreamBatchMemOpParams], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
CUDA_BATCH_MEM_OP_NODE_PARAMS_v2: TypeAlias = struct_CUDA_BATCH_MEM_OP_NODE_PARAMS_v2_st
@c.record
class struct_CUDA_CONDITIONAL_NODE_PARAMS(c.Struct):
  SIZE = 32
  handle: Annotated[CUgraphConditionalHandle, 0]
  type: Annotated[CUgraphConditionalNodeType, 8]
  size: Annotated[Annotated[int, ctypes.c_uint32], 12]
  phGraph_out: Annotated[c.POINTER[CUgraph], 16]
  ctx: Annotated[CUcontext, 24]
CUDA_CONDITIONAL_NODE_PARAMS: TypeAlias = struct_CUDA_CONDITIONAL_NODE_PARAMS
CUgraphConditionalHandle: TypeAlias = Annotated[int, ctypes.c_uint64]
class enum_CUgraphConditionalNodeType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_GRAPH_COND_TYPE_IF = enum_CUgraphConditionalNodeType_enum.define('CU_GRAPH_COND_TYPE_IF', 0)
CU_GRAPH_COND_TYPE_WHILE = enum_CUgraphConditionalNodeType_enum.define('CU_GRAPH_COND_TYPE_WHILE', 1)
CU_GRAPH_COND_TYPE_SWITCH = enum_CUgraphConditionalNodeType_enum.define('CU_GRAPH_COND_TYPE_SWITCH', 2)

CUgraphConditionalNodeType: TypeAlias = enum_CUgraphConditionalNodeType_enum
cuGraphAddNode_params: TypeAlias = struct_cuGraphAddNode_params_st
@c.record
class struct_cuGraphAddNode_v2_params_st(c.Struct):
  SIZE = 48
  phGraphNode: Annotated[c.POINTER[CUgraphNode], 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  dependencyData: Annotated[c.POINTER[CUgraphEdgeData], 24]
  numDependencies: Annotated[size_t, 32]
  nodeParams: Annotated[c.POINTER[CUgraphNodeParams], 40]
cuGraphAddNode_v2_params: TypeAlias = struct_cuGraphAddNode_v2_params_st
@c.record
class struct_cuGraphNodeSetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  nodeParams: Annotated[c.POINTER[CUgraphNodeParams], 8]
cuGraphNodeSetParams_params: TypeAlias = struct_cuGraphNodeSetParams_params_st
@c.record
class struct_cuGraphExecNodeSetParams_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[CUgraphExec, 0]
  hNode: Annotated[CUgraphNode, 8]
  nodeParams: Annotated[c.POINTER[CUgraphNodeParams], 16]
cuGraphExecNodeSetParams_params: TypeAlias = struct_cuGraphExecNodeSetParams_params_st
@c.record
class struct_cuGraphConditionalHandleCreate_params_st(c.Struct):
  SIZE = 32
  pHandle_out: Annotated[c.POINTER[CUgraphConditionalHandle], 0]
  hGraph: Annotated[CUgraph, 8]
  ctx: Annotated[CUcontext, 16]
  defaultLaunchValue: Annotated[Annotated[int, ctypes.c_uint32], 24]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 28]
cuGraphConditionalHandleCreate_params: TypeAlias = struct_cuGraphConditionalHandleCreate_params_st
@c.record
class struct_cuOccupancyMaxActiveBlocksPerMultiprocessor_params_st(c.Struct):
  SIZE = 32
  numBlocks: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  func: Annotated[CUfunction, 8]
  blockSize: Annotated[Annotated[int, ctypes.c_int32], 16]
  dynamicSMemSize: Annotated[size_t, 24]
cuOccupancyMaxActiveBlocksPerMultiprocessor_params: TypeAlias = struct_cuOccupancyMaxActiveBlocksPerMultiprocessor_params_st
@c.record
class struct_cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_params_st(c.Struct):
  SIZE = 40
  numBlocks: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  func: Annotated[CUfunction, 8]
  blockSize: Annotated[Annotated[int, ctypes.c_int32], 16]
  dynamicSMemSize: Annotated[size_t, 24]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 32]
cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_params: TypeAlias = struct_cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_params_st
@c.record
class struct_cuOccupancyMaxPotentialBlockSize_params_st(c.Struct):
  SIZE = 48
  minGridSize: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  blockSize: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 8]
  func: Annotated[CUfunction, 16]
  blockSizeToDynamicSMemSize: Annotated[CUoccupancyB2DSize, 24]
  dynamicSMemSize: Annotated[size_t, 32]
  blockSizeLimit: Annotated[Annotated[int, ctypes.c_int32], 40]
CUoccupancyB2DSize: TypeAlias = c.CFUNCTYPE[Annotated[int, ctypes.c_uint64], [Annotated[int, ctypes.c_int32]]]
cuOccupancyMaxPotentialBlockSize_params: TypeAlias = struct_cuOccupancyMaxPotentialBlockSize_params_st
@c.record
class struct_cuOccupancyMaxPotentialBlockSizeWithFlags_params_st(c.Struct):
  SIZE = 48
  minGridSize: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  blockSize: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 8]
  func: Annotated[CUfunction, 16]
  blockSizeToDynamicSMemSize: Annotated[CUoccupancyB2DSize, 24]
  dynamicSMemSize: Annotated[size_t, 32]
  blockSizeLimit: Annotated[Annotated[int, ctypes.c_int32], 40]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 44]
cuOccupancyMaxPotentialBlockSizeWithFlags_params: TypeAlias = struct_cuOccupancyMaxPotentialBlockSizeWithFlags_params_st
@c.record
class struct_cuOccupancyAvailableDynamicSMemPerBlock_params_st(c.Struct):
  SIZE = 24
  dynamicSmemSize: Annotated[c.POINTER[size_t], 0]
  func: Annotated[CUfunction, 8]
  numBlocks: Annotated[Annotated[int, ctypes.c_int32], 16]
  blockSize: Annotated[Annotated[int, ctypes.c_int32], 20]
cuOccupancyAvailableDynamicSMemPerBlock_params: TypeAlias = struct_cuOccupancyAvailableDynamicSMemPerBlock_params_st
@c.record
class struct_cuOccupancyMaxPotentialClusterSize_params_st(c.Struct):
  SIZE = 24
  clusterSize: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  func: Annotated[CUfunction, 8]
  config: Annotated[c.POINTER[CUlaunchConfig], 16]
cuOccupancyMaxPotentialClusterSize_params: TypeAlias = struct_cuOccupancyMaxPotentialClusterSize_params_st
@c.record
class struct_cuOccupancyMaxActiveClusters_params_st(c.Struct):
  SIZE = 24
  numClusters: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  func: Annotated[CUfunction, 8]
  config: Annotated[c.POINTER[CUlaunchConfig], 16]
cuOccupancyMaxActiveClusters_params: TypeAlias = struct_cuOccupancyMaxActiveClusters_params_st
@c.record
class struct_cuTexRefSetArray_params_st(c.Struct):
  SIZE = 24
  hTexRef: Annotated[CUtexref, 0]
  hArray: Annotated[CUarray, 8]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuTexRefSetArray_params: TypeAlias = struct_cuTexRefSetArray_params_st
@c.record
class struct_cuTexRefSetMipmappedArray_params_st(c.Struct):
  SIZE = 24
  hTexRef: Annotated[CUtexref, 0]
  hMipmappedArray: Annotated[CUmipmappedArray, 8]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuTexRefSetMipmappedArray_params: TypeAlias = struct_cuTexRefSetMipmappedArray_params_st
@c.record
class struct_cuTexRefSetAddress_v2_params_st(c.Struct):
  SIZE = 32
  ByteOffset: Annotated[c.POINTER[size_t], 0]
  hTexRef: Annotated[CUtexref, 8]
  dptr: Annotated[CUdeviceptr, 16]
  bytes: Annotated[size_t, 24]
cuTexRefSetAddress_v2_params: TypeAlias = struct_cuTexRefSetAddress_v2_params_st
@c.record
class struct_cuTexRefSetAddress2D_v3_params_st(c.Struct):
  SIZE = 32
  hTexRef: Annotated[CUtexref, 0]
  desc: Annotated[c.POINTER[CUDA_ARRAY_DESCRIPTOR], 8]
  dptr: Annotated[CUdeviceptr, 16]
  Pitch: Annotated[size_t, 24]
cuTexRefSetAddress2D_v3_params: TypeAlias = struct_cuTexRefSetAddress2D_v3_params_st
@c.record
class struct_cuTexRefSetFormat_params_st(c.Struct):
  SIZE = 16
  hTexRef: Annotated[CUtexref, 0]
  fmt: Annotated[CUarray_format, 8]
  NumPackedComponents: Annotated[Annotated[int, ctypes.c_int32], 12]
cuTexRefSetFormat_params: TypeAlias = struct_cuTexRefSetFormat_params_st
@c.record
class struct_cuTexRefSetAddressMode_params_st(c.Struct):
  SIZE = 16
  hTexRef: Annotated[CUtexref, 0]
  dim: Annotated[Annotated[int, ctypes.c_int32], 8]
  am: Annotated[CUaddress_mode, 12]
class enum_CUaddress_mode_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_TR_ADDRESS_MODE_WRAP = enum_CUaddress_mode_enum.define('CU_TR_ADDRESS_MODE_WRAP', 0)
CU_TR_ADDRESS_MODE_CLAMP = enum_CUaddress_mode_enum.define('CU_TR_ADDRESS_MODE_CLAMP', 1)
CU_TR_ADDRESS_MODE_MIRROR = enum_CUaddress_mode_enum.define('CU_TR_ADDRESS_MODE_MIRROR', 2)
CU_TR_ADDRESS_MODE_BORDER = enum_CUaddress_mode_enum.define('CU_TR_ADDRESS_MODE_BORDER', 3)

CUaddress_mode: TypeAlias = enum_CUaddress_mode_enum
cuTexRefSetAddressMode_params: TypeAlias = struct_cuTexRefSetAddressMode_params_st
@c.record
class struct_cuTexRefSetFilterMode_params_st(c.Struct):
  SIZE = 16
  hTexRef: Annotated[CUtexref, 0]
  fm: Annotated[CUfilter_mode, 8]
class enum_CUfilter_mode_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_TR_FILTER_MODE_POINT = enum_CUfilter_mode_enum.define('CU_TR_FILTER_MODE_POINT', 0)
CU_TR_FILTER_MODE_LINEAR = enum_CUfilter_mode_enum.define('CU_TR_FILTER_MODE_LINEAR', 1)

CUfilter_mode: TypeAlias = enum_CUfilter_mode_enum
cuTexRefSetFilterMode_params: TypeAlias = struct_cuTexRefSetFilterMode_params_st
@c.record
class struct_cuTexRefSetMipmapFilterMode_params_st(c.Struct):
  SIZE = 16
  hTexRef: Annotated[CUtexref, 0]
  fm: Annotated[CUfilter_mode, 8]
cuTexRefSetMipmapFilterMode_params: TypeAlias = struct_cuTexRefSetMipmapFilterMode_params_st
@c.record
class struct_cuTexRefSetMipmapLevelBias_params_st(c.Struct):
  SIZE = 16
  hTexRef: Annotated[CUtexref, 0]
  bias: Annotated[Annotated[float, ctypes.c_float], 8]
cuTexRefSetMipmapLevelBias_params: TypeAlias = struct_cuTexRefSetMipmapLevelBias_params_st
@c.record
class struct_cuTexRefSetMipmapLevelClamp_params_st(c.Struct):
  SIZE = 16
  hTexRef: Annotated[CUtexref, 0]
  minMipmapLevelClamp: Annotated[Annotated[float, ctypes.c_float], 8]
  maxMipmapLevelClamp: Annotated[Annotated[float, ctypes.c_float], 12]
cuTexRefSetMipmapLevelClamp_params: TypeAlias = struct_cuTexRefSetMipmapLevelClamp_params_st
@c.record
class struct_cuTexRefSetMaxAnisotropy_params_st(c.Struct):
  SIZE = 16
  hTexRef: Annotated[CUtexref, 0]
  maxAniso: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuTexRefSetMaxAnisotropy_params: TypeAlias = struct_cuTexRefSetMaxAnisotropy_params_st
@c.record
class struct_cuTexRefSetBorderColor_params_st(c.Struct):
  SIZE = 16
  hTexRef: Annotated[CUtexref, 0]
  pBorderColor: Annotated[c.POINTER[Annotated[float, ctypes.c_float]], 8]
cuTexRefSetBorderColor_params: TypeAlias = struct_cuTexRefSetBorderColor_params_st
@c.record
class struct_cuTexRefSetFlags_params_st(c.Struct):
  SIZE = 16
  hTexRef: Annotated[CUtexref, 0]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuTexRefSetFlags_params: TypeAlias = struct_cuTexRefSetFlags_params_st
@c.record
class struct_cuTexRefGetAddress_v2_params_st(c.Struct):
  SIZE = 16
  pdptr: Annotated[c.POINTER[CUdeviceptr], 0]
  hTexRef: Annotated[CUtexref, 8]
cuTexRefGetAddress_v2_params: TypeAlias = struct_cuTexRefGetAddress_v2_params_st
@c.record
class struct_cuTexRefGetArray_params_st(c.Struct):
  SIZE = 16
  phArray: Annotated[c.POINTER[CUarray], 0]
  hTexRef: Annotated[CUtexref, 8]
cuTexRefGetArray_params: TypeAlias = struct_cuTexRefGetArray_params_st
@c.record
class struct_cuTexRefGetMipmappedArray_params_st(c.Struct):
  SIZE = 16
  phMipmappedArray: Annotated[c.POINTER[CUmipmappedArray], 0]
  hTexRef: Annotated[CUtexref, 8]
cuTexRefGetMipmappedArray_params: TypeAlias = struct_cuTexRefGetMipmappedArray_params_st
@c.record
class struct_cuTexRefGetAddressMode_params_st(c.Struct):
  SIZE = 24
  pam: Annotated[c.POINTER[CUaddress_mode], 0]
  hTexRef: Annotated[CUtexref, 8]
  dim: Annotated[Annotated[int, ctypes.c_int32], 16]
cuTexRefGetAddressMode_params: TypeAlias = struct_cuTexRefGetAddressMode_params_st
@c.record
class struct_cuTexRefGetFilterMode_params_st(c.Struct):
  SIZE = 16
  pfm: Annotated[c.POINTER[CUfilter_mode], 0]
  hTexRef: Annotated[CUtexref, 8]
cuTexRefGetFilterMode_params: TypeAlias = struct_cuTexRefGetFilterMode_params_st
@c.record
class struct_cuTexRefGetFormat_params_st(c.Struct):
  SIZE = 24
  pFormat: Annotated[c.POINTER[CUarray_format], 0]
  pNumChannels: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 8]
  hTexRef: Annotated[CUtexref, 16]
cuTexRefGetFormat_params: TypeAlias = struct_cuTexRefGetFormat_params_st
@c.record
class struct_cuTexRefGetMipmapFilterMode_params_st(c.Struct):
  SIZE = 16
  pfm: Annotated[c.POINTER[CUfilter_mode], 0]
  hTexRef: Annotated[CUtexref, 8]
cuTexRefGetMipmapFilterMode_params: TypeAlias = struct_cuTexRefGetMipmapFilterMode_params_st
@c.record
class struct_cuTexRefGetMipmapLevelBias_params_st(c.Struct):
  SIZE = 16
  pbias: Annotated[c.POINTER[Annotated[float, ctypes.c_float]], 0]
  hTexRef: Annotated[CUtexref, 8]
cuTexRefGetMipmapLevelBias_params: TypeAlias = struct_cuTexRefGetMipmapLevelBias_params_st
@c.record
class struct_cuTexRefGetMipmapLevelClamp_params_st(c.Struct):
  SIZE = 24
  pminMipmapLevelClamp: Annotated[c.POINTER[Annotated[float, ctypes.c_float]], 0]
  pmaxMipmapLevelClamp: Annotated[c.POINTER[Annotated[float, ctypes.c_float]], 8]
  hTexRef: Annotated[CUtexref, 16]
cuTexRefGetMipmapLevelClamp_params: TypeAlias = struct_cuTexRefGetMipmapLevelClamp_params_st
@c.record
class struct_cuTexRefGetMaxAnisotropy_params_st(c.Struct):
  SIZE = 16
  pmaxAniso: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  hTexRef: Annotated[CUtexref, 8]
cuTexRefGetMaxAnisotropy_params: TypeAlias = struct_cuTexRefGetMaxAnisotropy_params_st
@c.record
class struct_cuTexRefGetBorderColor_params_st(c.Struct):
  SIZE = 16
  pBorderColor: Annotated[c.POINTER[Annotated[float, ctypes.c_float]], 0]
  hTexRef: Annotated[CUtexref, 8]
cuTexRefGetBorderColor_params: TypeAlias = struct_cuTexRefGetBorderColor_params_st
@c.record
class struct_cuTexRefGetFlags_params_st(c.Struct):
  SIZE = 16
  pFlags: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 0]
  hTexRef: Annotated[CUtexref, 8]
cuTexRefGetFlags_params: TypeAlias = struct_cuTexRefGetFlags_params_st
@c.record
class struct_cuTexRefCreate_params_st(c.Struct):
  SIZE = 8
  pTexRef: Annotated[c.POINTER[CUtexref], 0]
cuTexRefCreate_params: TypeAlias = struct_cuTexRefCreate_params_st
@c.record
class struct_cuTexRefDestroy_params_st(c.Struct):
  SIZE = 8
  hTexRef: Annotated[CUtexref, 0]
cuTexRefDestroy_params: TypeAlias = struct_cuTexRefDestroy_params_st
@c.record
class struct_cuSurfRefSetArray_params_st(c.Struct):
  SIZE = 24
  hSurfRef: Annotated[CUsurfref, 0]
  hArray: Annotated[CUarray, 8]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuSurfRefSetArray_params: TypeAlias = struct_cuSurfRefSetArray_params_st
@c.record
class struct_cuSurfRefGetArray_params_st(c.Struct):
  SIZE = 16
  phArray: Annotated[c.POINTER[CUarray], 0]
  hSurfRef: Annotated[CUsurfref, 8]
cuSurfRefGetArray_params: TypeAlias = struct_cuSurfRefGetArray_params_st
@c.record
class struct_cuTexObjectCreate_params_st(c.Struct):
  SIZE = 32
  pTexObject: Annotated[c.POINTER[CUtexObject], 0]
  pResDesc: Annotated[c.POINTER[CUDA_RESOURCE_DESC], 8]
  pTexDesc: Annotated[c.POINTER[CUDA_TEXTURE_DESC], 16]
  pResViewDesc: Annotated[c.POINTER[CUDA_RESOURCE_VIEW_DESC], 24]
CUtexObject: TypeAlias = Annotated[int, ctypes.c_uint64]
@c.record
class struct_CUDA_RESOURCE_DESC_st(c.Struct):
  SIZE = 144
  resType: Annotated[CUresourcetype, 0]
  res: Annotated[struct_CUDA_RESOURCE_DESC_st_res, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 136]
CUDA_RESOURCE_DESC: TypeAlias = struct_CUDA_RESOURCE_DESC_st
@c.record
class struct_CUDA_RESOURCE_DESC_st_res(c.Struct):
  SIZE = 128
  array: Annotated[struct_CUDA_RESOURCE_DESC_st_res_array, 0]
  mipmap: Annotated[struct_CUDA_RESOURCE_DESC_st_res_mipmap, 0]
  linear: Annotated[struct_CUDA_RESOURCE_DESC_st_res_linear, 0]
  pitch2D: Annotated[struct_CUDA_RESOURCE_DESC_st_res_pitch2D, 0]
  reserved: Annotated[struct_CUDA_RESOURCE_DESC_st_res_reserved, 0]
@c.record
class struct_CUDA_RESOURCE_DESC_st_res_array(c.Struct):
  SIZE = 8
  hArray: Annotated[CUarray, 0]
@c.record
class struct_CUDA_RESOURCE_DESC_st_res_mipmap(c.Struct):
  SIZE = 8
  hMipmappedArray: Annotated[CUmipmappedArray, 0]
@c.record
class struct_CUDA_RESOURCE_DESC_st_res_linear(c.Struct):
  SIZE = 24
  devPtr: Annotated[CUdeviceptr, 0]
  format: Annotated[CUarray_format, 8]
  numChannels: Annotated[Annotated[int, ctypes.c_uint32], 12]
  sizeInBytes: Annotated[size_t, 16]
@c.record
class struct_CUDA_RESOURCE_DESC_st_res_pitch2D(c.Struct):
  SIZE = 40
  devPtr: Annotated[CUdeviceptr, 0]
  format: Annotated[CUarray_format, 8]
  numChannels: Annotated[Annotated[int, ctypes.c_uint32], 12]
  width: Annotated[size_t, 16]
  height: Annotated[size_t, 24]
  pitchInBytes: Annotated[size_t, 32]
@c.record
class struct_CUDA_RESOURCE_DESC_st_res_reserved(c.Struct):
  SIZE = 128
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[32]], 0]
@c.record
class struct_CUDA_TEXTURE_DESC_st(c.Struct):
  SIZE = 104
  addressMode: Annotated[c.Array[CUaddress_mode, Literal[3]], 0]
  filterMode: Annotated[CUfilter_mode, 12]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
  maxAnisotropy: Annotated[Annotated[int, ctypes.c_uint32], 20]
  mipmapFilterMode: Annotated[CUfilter_mode, 24]
  mipmapLevelBias: Annotated[Annotated[float, ctypes.c_float], 28]
  minMipmapLevelClamp: Annotated[Annotated[float, ctypes.c_float], 32]
  maxMipmapLevelClamp: Annotated[Annotated[float, ctypes.c_float], 36]
  borderColor: Annotated[c.Array[Annotated[float, ctypes.c_float], Literal[4]], 40]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[12]], 56]
CUDA_TEXTURE_DESC: TypeAlias = struct_CUDA_TEXTURE_DESC_st
@c.record
class struct_CUDA_RESOURCE_VIEW_DESC_st(c.Struct):
  SIZE = 112
  format: Annotated[CUresourceViewFormat, 0]
  width: Annotated[size_t, 8]
  height: Annotated[size_t, 16]
  depth: Annotated[size_t, 24]
  firstMipmapLevel: Annotated[Annotated[int, ctypes.c_uint32], 32]
  lastMipmapLevel: Annotated[Annotated[int, ctypes.c_uint32], 36]
  firstLayer: Annotated[Annotated[int, ctypes.c_uint32], 40]
  lastLayer: Annotated[Annotated[int, ctypes.c_uint32], 44]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[16]], 48]
CUDA_RESOURCE_VIEW_DESC: TypeAlias = struct_CUDA_RESOURCE_VIEW_DESC_st
class enum_CUresourceViewFormat_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_RES_VIEW_FORMAT_NONE = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_NONE', 0)
CU_RES_VIEW_FORMAT_UINT_1X8 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_UINT_1X8', 1)
CU_RES_VIEW_FORMAT_UINT_2X8 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_UINT_2X8', 2)
CU_RES_VIEW_FORMAT_UINT_4X8 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_UINT_4X8', 3)
CU_RES_VIEW_FORMAT_SINT_1X8 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_SINT_1X8', 4)
CU_RES_VIEW_FORMAT_SINT_2X8 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_SINT_2X8', 5)
CU_RES_VIEW_FORMAT_SINT_4X8 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_SINT_4X8', 6)
CU_RES_VIEW_FORMAT_UINT_1X16 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_UINT_1X16', 7)
CU_RES_VIEW_FORMAT_UINT_2X16 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_UINT_2X16', 8)
CU_RES_VIEW_FORMAT_UINT_4X16 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_UINT_4X16', 9)
CU_RES_VIEW_FORMAT_SINT_1X16 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_SINT_1X16', 10)
CU_RES_VIEW_FORMAT_SINT_2X16 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_SINT_2X16', 11)
CU_RES_VIEW_FORMAT_SINT_4X16 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_SINT_4X16', 12)
CU_RES_VIEW_FORMAT_UINT_1X32 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_UINT_1X32', 13)
CU_RES_VIEW_FORMAT_UINT_2X32 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_UINT_2X32', 14)
CU_RES_VIEW_FORMAT_UINT_4X32 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_UINT_4X32', 15)
CU_RES_VIEW_FORMAT_SINT_1X32 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_SINT_1X32', 16)
CU_RES_VIEW_FORMAT_SINT_2X32 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_SINT_2X32', 17)
CU_RES_VIEW_FORMAT_SINT_4X32 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_SINT_4X32', 18)
CU_RES_VIEW_FORMAT_FLOAT_1X16 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_FLOAT_1X16', 19)
CU_RES_VIEW_FORMAT_FLOAT_2X16 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_FLOAT_2X16', 20)
CU_RES_VIEW_FORMAT_FLOAT_4X16 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_FLOAT_4X16', 21)
CU_RES_VIEW_FORMAT_FLOAT_1X32 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_FLOAT_1X32', 22)
CU_RES_VIEW_FORMAT_FLOAT_2X32 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_FLOAT_2X32', 23)
CU_RES_VIEW_FORMAT_FLOAT_4X32 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_FLOAT_4X32', 24)
CU_RES_VIEW_FORMAT_UNSIGNED_BC1 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_UNSIGNED_BC1', 25)
CU_RES_VIEW_FORMAT_UNSIGNED_BC2 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_UNSIGNED_BC2', 26)
CU_RES_VIEW_FORMAT_UNSIGNED_BC3 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_UNSIGNED_BC3', 27)
CU_RES_VIEW_FORMAT_UNSIGNED_BC4 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_UNSIGNED_BC4', 28)
CU_RES_VIEW_FORMAT_SIGNED_BC4 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_SIGNED_BC4', 29)
CU_RES_VIEW_FORMAT_UNSIGNED_BC5 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_UNSIGNED_BC5', 30)
CU_RES_VIEW_FORMAT_SIGNED_BC5 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_SIGNED_BC5', 31)
CU_RES_VIEW_FORMAT_UNSIGNED_BC6H = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_UNSIGNED_BC6H', 32)
CU_RES_VIEW_FORMAT_SIGNED_BC6H = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_SIGNED_BC6H', 33)
CU_RES_VIEW_FORMAT_UNSIGNED_BC7 = enum_CUresourceViewFormat_enum.define('CU_RES_VIEW_FORMAT_UNSIGNED_BC7', 34)

CUresourceViewFormat: TypeAlias = enum_CUresourceViewFormat_enum
cuTexObjectCreate_params: TypeAlias = struct_cuTexObjectCreate_params_st
@c.record
class struct_cuTexObjectDestroy_params_st(c.Struct):
  SIZE = 8
  texObject: Annotated[CUtexObject, 0]
cuTexObjectDestroy_params: TypeAlias = struct_cuTexObjectDestroy_params_st
@c.record
class struct_cuTexObjectGetResourceDesc_params_st(c.Struct):
  SIZE = 16
  pResDesc: Annotated[c.POINTER[CUDA_RESOURCE_DESC], 0]
  texObject: Annotated[CUtexObject, 8]
cuTexObjectGetResourceDesc_params: TypeAlias = struct_cuTexObjectGetResourceDesc_params_st
@c.record
class struct_cuTexObjectGetTextureDesc_params_st(c.Struct):
  SIZE = 16
  pTexDesc: Annotated[c.POINTER[CUDA_TEXTURE_DESC], 0]
  texObject: Annotated[CUtexObject, 8]
cuTexObjectGetTextureDesc_params: TypeAlias = struct_cuTexObjectGetTextureDesc_params_st
@c.record
class struct_cuTexObjectGetResourceViewDesc_params_st(c.Struct):
  SIZE = 16
  pResViewDesc: Annotated[c.POINTER[CUDA_RESOURCE_VIEW_DESC], 0]
  texObject: Annotated[CUtexObject, 8]
cuTexObjectGetResourceViewDesc_params: TypeAlias = struct_cuTexObjectGetResourceViewDesc_params_st
@c.record
class struct_cuSurfObjectCreate_params_st(c.Struct):
  SIZE = 16
  pSurfObject: Annotated[c.POINTER[CUsurfObject], 0]
  pResDesc: Annotated[c.POINTER[CUDA_RESOURCE_DESC], 8]
CUsurfObject: TypeAlias = Annotated[int, ctypes.c_uint64]
cuSurfObjectCreate_params: TypeAlias = struct_cuSurfObjectCreate_params_st
@c.record
class struct_cuSurfObjectDestroy_params_st(c.Struct):
  SIZE = 8
  surfObject: Annotated[CUsurfObject, 0]
cuSurfObjectDestroy_params: TypeAlias = struct_cuSurfObjectDestroy_params_st
@c.record
class struct_cuSurfObjectGetResourceDesc_params_st(c.Struct):
  SIZE = 16
  pResDesc: Annotated[c.POINTER[CUDA_RESOURCE_DESC], 0]
  surfObject: Annotated[CUsurfObject, 8]
cuSurfObjectGetResourceDesc_params: TypeAlias = struct_cuSurfObjectGetResourceDesc_params_st
@c.record
class struct_cuTensorMapEncodeTiled_params_st(c.Struct):
  SIZE = 72
  tensorMap: Annotated[c.POINTER[CUtensorMap], 0]
  tensorDataType: Annotated[CUtensorMapDataType, 8]
  tensorRank: Annotated[cuuint32_t, 12]
  globalAddress: Annotated[ctypes.c_void_p, 16]
  globalDim: Annotated[c.POINTER[cuuint64_t], 24]
  globalStrides: Annotated[c.POINTER[cuuint64_t], 32]
  boxDim: Annotated[c.POINTER[cuuint32_t], 40]
  elementStrides: Annotated[c.POINTER[cuuint32_t], 48]
  interleave: Annotated[CUtensorMapInterleave, 56]
  swizzle: Annotated[CUtensorMapSwizzle, 60]
  l2Promotion: Annotated[CUtensorMapL2promotion, 64]
  oobFill: Annotated[CUtensorMapFloatOOBfill, 68]
@c.record
class struct_CUtensorMap_st(c.Struct):
  SIZE = 128
  opaque: Annotated[c.Array[cuuint64_t, Literal[16]], 0]
CUtensorMap: TypeAlias = struct_CUtensorMap_st
class enum_CUtensorMapDataType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_TENSOR_MAP_DATA_TYPE_UINT8 = enum_CUtensorMapDataType_enum.define('CU_TENSOR_MAP_DATA_TYPE_UINT8', 0)
CU_TENSOR_MAP_DATA_TYPE_UINT16 = enum_CUtensorMapDataType_enum.define('CU_TENSOR_MAP_DATA_TYPE_UINT16', 1)
CU_TENSOR_MAP_DATA_TYPE_UINT32 = enum_CUtensorMapDataType_enum.define('CU_TENSOR_MAP_DATA_TYPE_UINT32', 2)
CU_TENSOR_MAP_DATA_TYPE_INT32 = enum_CUtensorMapDataType_enum.define('CU_TENSOR_MAP_DATA_TYPE_INT32', 3)
CU_TENSOR_MAP_DATA_TYPE_UINT64 = enum_CUtensorMapDataType_enum.define('CU_TENSOR_MAP_DATA_TYPE_UINT64', 4)
CU_TENSOR_MAP_DATA_TYPE_INT64 = enum_CUtensorMapDataType_enum.define('CU_TENSOR_MAP_DATA_TYPE_INT64', 5)
CU_TENSOR_MAP_DATA_TYPE_FLOAT16 = enum_CUtensorMapDataType_enum.define('CU_TENSOR_MAP_DATA_TYPE_FLOAT16', 6)
CU_TENSOR_MAP_DATA_TYPE_FLOAT32 = enum_CUtensorMapDataType_enum.define('CU_TENSOR_MAP_DATA_TYPE_FLOAT32', 7)
CU_TENSOR_MAP_DATA_TYPE_FLOAT64 = enum_CUtensorMapDataType_enum.define('CU_TENSOR_MAP_DATA_TYPE_FLOAT64', 8)
CU_TENSOR_MAP_DATA_TYPE_BFLOAT16 = enum_CUtensorMapDataType_enum.define('CU_TENSOR_MAP_DATA_TYPE_BFLOAT16', 9)
CU_TENSOR_MAP_DATA_TYPE_FLOAT32_FTZ = enum_CUtensorMapDataType_enum.define('CU_TENSOR_MAP_DATA_TYPE_FLOAT32_FTZ', 10)
CU_TENSOR_MAP_DATA_TYPE_TFLOAT32 = enum_CUtensorMapDataType_enum.define('CU_TENSOR_MAP_DATA_TYPE_TFLOAT32', 11)
CU_TENSOR_MAP_DATA_TYPE_TFLOAT32_FTZ = enum_CUtensorMapDataType_enum.define('CU_TENSOR_MAP_DATA_TYPE_TFLOAT32_FTZ', 12)
CU_TENSOR_MAP_DATA_TYPE_16U4_ALIGN8B = enum_CUtensorMapDataType_enum.define('CU_TENSOR_MAP_DATA_TYPE_16U4_ALIGN8B', 13)
CU_TENSOR_MAP_DATA_TYPE_16U4_ALIGN16B = enum_CUtensorMapDataType_enum.define('CU_TENSOR_MAP_DATA_TYPE_16U4_ALIGN16B', 14)
CU_TENSOR_MAP_DATA_TYPE_16U6_ALIGN16B = enum_CUtensorMapDataType_enum.define('CU_TENSOR_MAP_DATA_TYPE_16U6_ALIGN16B', 15)

CUtensorMapDataType: TypeAlias = enum_CUtensorMapDataType_enum
class enum_CUtensorMapInterleave_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_TENSOR_MAP_INTERLEAVE_NONE = enum_CUtensorMapInterleave_enum.define('CU_TENSOR_MAP_INTERLEAVE_NONE', 0)
CU_TENSOR_MAP_INTERLEAVE_16B = enum_CUtensorMapInterleave_enum.define('CU_TENSOR_MAP_INTERLEAVE_16B', 1)
CU_TENSOR_MAP_INTERLEAVE_32B = enum_CUtensorMapInterleave_enum.define('CU_TENSOR_MAP_INTERLEAVE_32B', 2)

CUtensorMapInterleave: TypeAlias = enum_CUtensorMapInterleave_enum
class enum_CUtensorMapSwizzle_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_TENSOR_MAP_SWIZZLE_NONE = enum_CUtensorMapSwizzle_enum.define('CU_TENSOR_MAP_SWIZZLE_NONE', 0)
CU_TENSOR_MAP_SWIZZLE_32B = enum_CUtensorMapSwizzle_enum.define('CU_TENSOR_MAP_SWIZZLE_32B', 1)
CU_TENSOR_MAP_SWIZZLE_64B = enum_CUtensorMapSwizzle_enum.define('CU_TENSOR_MAP_SWIZZLE_64B', 2)
CU_TENSOR_MAP_SWIZZLE_128B = enum_CUtensorMapSwizzle_enum.define('CU_TENSOR_MAP_SWIZZLE_128B', 3)
CU_TENSOR_MAP_SWIZZLE_128B_ATOM_32B = enum_CUtensorMapSwizzle_enum.define('CU_TENSOR_MAP_SWIZZLE_128B_ATOM_32B', 4)
CU_TENSOR_MAP_SWIZZLE_128B_ATOM_32B_FLIP_8B = enum_CUtensorMapSwizzle_enum.define('CU_TENSOR_MAP_SWIZZLE_128B_ATOM_32B_FLIP_8B', 5)
CU_TENSOR_MAP_SWIZZLE_128B_ATOM_64B = enum_CUtensorMapSwizzle_enum.define('CU_TENSOR_MAP_SWIZZLE_128B_ATOM_64B', 6)

CUtensorMapSwizzle: TypeAlias = enum_CUtensorMapSwizzle_enum
class enum_CUtensorMapL2promotion_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_TENSOR_MAP_L2_PROMOTION_NONE = enum_CUtensorMapL2promotion_enum.define('CU_TENSOR_MAP_L2_PROMOTION_NONE', 0)
CU_TENSOR_MAP_L2_PROMOTION_L2_64B = enum_CUtensorMapL2promotion_enum.define('CU_TENSOR_MAP_L2_PROMOTION_L2_64B', 1)
CU_TENSOR_MAP_L2_PROMOTION_L2_128B = enum_CUtensorMapL2promotion_enum.define('CU_TENSOR_MAP_L2_PROMOTION_L2_128B', 2)
CU_TENSOR_MAP_L2_PROMOTION_L2_256B = enum_CUtensorMapL2promotion_enum.define('CU_TENSOR_MAP_L2_PROMOTION_L2_256B', 3)

CUtensorMapL2promotion: TypeAlias = enum_CUtensorMapL2promotion_enum
class enum_CUtensorMapFloatOOBfill_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_TENSOR_MAP_FLOAT_OOB_FILL_NONE = enum_CUtensorMapFloatOOBfill_enum.define('CU_TENSOR_MAP_FLOAT_OOB_FILL_NONE', 0)
CU_TENSOR_MAP_FLOAT_OOB_FILL_NAN_REQUEST_ZERO_FMA = enum_CUtensorMapFloatOOBfill_enum.define('CU_TENSOR_MAP_FLOAT_OOB_FILL_NAN_REQUEST_ZERO_FMA', 1)

CUtensorMapFloatOOBfill: TypeAlias = enum_CUtensorMapFloatOOBfill_enum
cuTensorMapEncodeTiled_params: TypeAlias = struct_cuTensorMapEncodeTiled_params_st
@c.record
class struct_cuTensorMapEncodeIm2col_params_st(c.Struct):
  SIZE = 88
  tensorMap: Annotated[c.POINTER[CUtensorMap], 0]
  tensorDataType: Annotated[CUtensorMapDataType, 8]
  tensorRank: Annotated[cuuint32_t, 12]
  globalAddress: Annotated[ctypes.c_void_p, 16]
  globalDim: Annotated[c.POINTER[cuuint64_t], 24]
  globalStrides: Annotated[c.POINTER[cuuint64_t], 32]
  pixelBoxLowerCorner: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 40]
  pixelBoxUpperCorner: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 48]
  channelsPerPixel: Annotated[cuuint32_t, 56]
  pixelsPerColumn: Annotated[cuuint32_t, 60]
  elementStrides: Annotated[c.POINTER[cuuint32_t], 64]
  interleave: Annotated[CUtensorMapInterleave, 72]
  swizzle: Annotated[CUtensorMapSwizzle, 76]
  l2Promotion: Annotated[CUtensorMapL2promotion, 80]
  oobFill: Annotated[CUtensorMapFloatOOBfill, 84]
cuTensorMapEncodeIm2col_params: TypeAlias = struct_cuTensorMapEncodeIm2col_params_st
@c.record
class struct_cuTensorMapReplaceAddress_params_st(c.Struct):
  SIZE = 16
  tensorMap: Annotated[c.POINTER[CUtensorMap], 0]
  globalAddress: Annotated[ctypes.c_void_p, 8]
cuTensorMapReplaceAddress_params: TypeAlias = struct_cuTensorMapReplaceAddress_params_st
@c.record
class struct_cuDeviceCanAccessPeer_params_st(c.Struct):
  SIZE = 16
  canAccessPeer: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  dev: Annotated[CUdevice, 8]
  peerDev: Annotated[CUdevice, 12]
cuDeviceCanAccessPeer_params: TypeAlias = struct_cuDeviceCanAccessPeer_params_st
@c.record
class struct_cuCtxEnablePeerAccess_params_st(c.Struct):
  SIZE = 16
  peerContext: Annotated[CUcontext, 0]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuCtxEnablePeerAccess_params: TypeAlias = struct_cuCtxEnablePeerAccess_params_st
@c.record
class struct_cuCtxDisablePeerAccess_params_st(c.Struct):
  SIZE = 8
  peerContext: Annotated[CUcontext, 0]
cuCtxDisablePeerAccess_params: TypeAlias = struct_cuCtxDisablePeerAccess_params_st
@c.record
class struct_cuDeviceGetP2PAttribute_params_st(c.Struct):
  SIZE = 24
  value: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  attrib: Annotated[CUdevice_P2PAttribute, 8]
  srcDevice: Annotated[CUdevice, 12]
  dstDevice: Annotated[CUdevice, 16]
class enum_CUdevice_P2PAttribute_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_DEVICE_P2P_ATTRIBUTE_PERFORMANCE_RANK = enum_CUdevice_P2PAttribute_enum.define('CU_DEVICE_P2P_ATTRIBUTE_PERFORMANCE_RANK', 1)
CU_DEVICE_P2P_ATTRIBUTE_ACCESS_SUPPORTED = enum_CUdevice_P2PAttribute_enum.define('CU_DEVICE_P2P_ATTRIBUTE_ACCESS_SUPPORTED', 2)
CU_DEVICE_P2P_ATTRIBUTE_NATIVE_ATOMIC_SUPPORTED = enum_CUdevice_P2PAttribute_enum.define('CU_DEVICE_P2P_ATTRIBUTE_NATIVE_ATOMIC_SUPPORTED', 3)
CU_DEVICE_P2P_ATTRIBUTE_ACCESS_ACCESS_SUPPORTED = enum_CUdevice_P2PAttribute_enum.define('CU_DEVICE_P2P_ATTRIBUTE_ACCESS_ACCESS_SUPPORTED', 4)
CU_DEVICE_P2P_ATTRIBUTE_CUDA_ARRAY_ACCESS_SUPPORTED = enum_CUdevice_P2PAttribute_enum.define('CU_DEVICE_P2P_ATTRIBUTE_CUDA_ARRAY_ACCESS_SUPPORTED', 4)

CUdevice_P2PAttribute: TypeAlias = enum_CUdevice_P2PAttribute_enum
cuDeviceGetP2PAttribute_params: TypeAlias = struct_cuDeviceGetP2PAttribute_params_st
@c.record
class struct_cuGraphicsUnregisterResource_params_st(c.Struct):
  SIZE = 8
  resource: Annotated[CUgraphicsResource, 0]
class struct_CUgraphicsResource_st(ctypes.Structure): pass
CUgraphicsResource: TypeAlias = c.POINTER[struct_CUgraphicsResource_st]
cuGraphicsUnregisterResource_params: TypeAlias = struct_cuGraphicsUnregisterResource_params_st
@c.record
class struct_cuGraphicsSubResourceGetMappedArray_params_st(c.Struct):
  SIZE = 24
  pArray: Annotated[c.POINTER[CUarray], 0]
  resource: Annotated[CUgraphicsResource, 8]
  arrayIndex: Annotated[Annotated[int, ctypes.c_uint32], 16]
  mipLevel: Annotated[Annotated[int, ctypes.c_uint32], 20]
cuGraphicsSubResourceGetMappedArray_params: TypeAlias = struct_cuGraphicsSubResourceGetMappedArray_params_st
@c.record
class struct_cuGraphicsResourceGetMappedMipmappedArray_params_st(c.Struct):
  SIZE = 16
  pMipmappedArray: Annotated[c.POINTER[CUmipmappedArray], 0]
  resource: Annotated[CUgraphicsResource, 8]
cuGraphicsResourceGetMappedMipmappedArray_params: TypeAlias = struct_cuGraphicsResourceGetMappedMipmappedArray_params_st
@c.record
class struct_cuGraphicsResourceGetMappedPointer_v2_params_st(c.Struct):
  SIZE = 24
  pDevPtr: Annotated[c.POINTER[CUdeviceptr], 0]
  pSize: Annotated[c.POINTER[size_t], 8]
  resource: Annotated[CUgraphicsResource, 16]
cuGraphicsResourceGetMappedPointer_v2_params: TypeAlias = struct_cuGraphicsResourceGetMappedPointer_v2_params_st
@c.record
class struct_cuGraphicsResourceSetMapFlags_v2_params_st(c.Struct):
  SIZE = 16
  resource: Annotated[CUgraphicsResource, 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuGraphicsResourceSetMapFlags_v2_params: TypeAlias = struct_cuGraphicsResourceSetMapFlags_v2_params_st
@c.record
class struct_cuGraphicsMapResources_ptsz_params_st(c.Struct):
  SIZE = 24
  count: Annotated[Annotated[int, ctypes.c_uint32], 0]
  resources: Annotated[c.POINTER[CUgraphicsResource], 8]
  hStream: Annotated[CUstream, 16]
cuGraphicsMapResources_ptsz_params: TypeAlias = struct_cuGraphicsMapResources_ptsz_params_st
@c.record
class struct_cuGraphicsUnmapResources_ptsz_params_st(c.Struct):
  SIZE = 24
  count: Annotated[Annotated[int, ctypes.c_uint32], 0]
  resources: Annotated[c.POINTER[CUgraphicsResource], 8]
  hStream: Annotated[CUstream, 16]
cuGraphicsUnmapResources_ptsz_params: TypeAlias = struct_cuGraphicsUnmapResources_ptsz_params_st
@c.record
class struct_cuGetProcAddress_v2_params_st(c.Struct):
  SIZE = 40
  symbol: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 0]
  pfn: Annotated[c.POINTER[ctypes.c_void_p], 8]
  cudaVersion: Annotated[Annotated[int, ctypes.c_int32], 16]
  flags: Annotated[cuuint64_t, 24]
  symbolStatus: Annotated[c.POINTER[CUdriverProcAddressQueryResult], 32]
class enum_CUdriverProcAddressQueryResult_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_GET_PROC_ADDRESS_SUCCESS = enum_CUdriverProcAddressQueryResult_enum.define('CU_GET_PROC_ADDRESS_SUCCESS', 0)
CU_GET_PROC_ADDRESS_SYMBOL_NOT_FOUND = enum_CUdriverProcAddressQueryResult_enum.define('CU_GET_PROC_ADDRESS_SYMBOL_NOT_FOUND', 1)
CU_GET_PROC_ADDRESS_VERSION_NOT_SUFFICIENT = enum_CUdriverProcAddressQueryResult_enum.define('CU_GET_PROC_ADDRESS_VERSION_NOT_SUFFICIENT', 2)

CUdriverProcAddressQueryResult: TypeAlias = enum_CUdriverProcAddressQueryResult_enum
cuGetProcAddress_v2_params: TypeAlias = struct_cuGetProcAddress_v2_params_st
@c.record
class struct_cuCoredumpGetAttribute_params_st(c.Struct):
  SIZE = 24
  attrib: Annotated[CUcoredumpSettings, 0]
  value: Annotated[ctypes.c_void_p, 8]
  size: Annotated[c.POINTER[size_t], 16]
class enum_CUcoredumpSettings_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_COREDUMP_ENABLE_ON_EXCEPTION = enum_CUcoredumpSettings_enum.define('CU_COREDUMP_ENABLE_ON_EXCEPTION', 1)
CU_COREDUMP_TRIGGER_HOST = enum_CUcoredumpSettings_enum.define('CU_COREDUMP_TRIGGER_HOST', 2)
CU_COREDUMP_LIGHTWEIGHT = enum_CUcoredumpSettings_enum.define('CU_COREDUMP_LIGHTWEIGHT', 3)
CU_COREDUMP_ENABLE_USER_TRIGGER = enum_CUcoredumpSettings_enum.define('CU_COREDUMP_ENABLE_USER_TRIGGER', 4)
CU_COREDUMP_FILE = enum_CUcoredumpSettings_enum.define('CU_COREDUMP_FILE', 5)
CU_COREDUMP_PIPE = enum_CUcoredumpSettings_enum.define('CU_COREDUMP_PIPE', 6)
CU_COREDUMP_GENERATION_FLAGS = enum_CUcoredumpSettings_enum.define('CU_COREDUMP_GENERATION_FLAGS', 7)
CU_COREDUMP_MAX = enum_CUcoredumpSettings_enum.define('CU_COREDUMP_MAX', 8)

CUcoredumpSettings: TypeAlias = enum_CUcoredumpSettings_enum
cuCoredumpGetAttribute_params: TypeAlias = struct_cuCoredumpGetAttribute_params_st
@c.record
class struct_cuCoredumpGetAttributeGlobal_params_st(c.Struct):
  SIZE = 24
  attrib: Annotated[CUcoredumpSettings, 0]
  value: Annotated[ctypes.c_void_p, 8]
  size: Annotated[c.POINTER[size_t], 16]
cuCoredumpGetAttributeGlobal_params: TypeAlias = struct_cuCoredumpGetAttributeGlobal_params_st
@c.record
class struct_cuCoredumpSetAttribute_params_st(c.Struct):
  SIZE = 24
  attrib: Annotated[CUcoredumpSettings, 0]
  value: Annotated[ctypes.c_void_p, 8]
  size: Annotated[c.POINTER[size_t], 16]
cuCoredumpSetAttribute_params: TypeAlias = struct_cuCoredumpSetAttribute_params_st
@c.record
class struct_cuCoredumpSetAttributeGlobal_params_st(c.Struct):
  SIZE = 24
  attrib: Annotated[CUcoredumpSettings, 0]
  value: Annotated[ctypes.c_void_p, 8]
  size: Annotated[c.POINTER[size_t], 16]
cuCoredumpSetAttributeGlobal_params: TypeAlias = struct_cuCoredumpSetAttributeGlobal_params_st
@c.record
class struct_cuGetExportTable_params_st(c.Struct):
  SIZE = 16
  ppExportTable: Annotated[c.POINTER[ctypes.c_void_p], 0]
  pExportTableId: Annotated[c.POINTER[CUuuid], 8]
cuGetExportTable_params: TypeAlias = struct_cuGetExportTable_params_st
@c.record
class struct_cuGreenCtxCreate_params_st(c.Struct):
  SIZE = 24
  phCtx: Annotated[c.POINTER[CUgreenCtx], 0]
  desc: Annotated[CUdevResourceDesc, 8]
  dev: Annotated[CUdevice, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
class struct_CUdevResourceDesc_st(ctypes.Structure): pass
CUdevResourceDesc: TypeAlias = c.POINTER[struct_CUdevResourceDesc_st]
cuGreenCtxCreate_params: TypeAlias = struct_cuGreenCtxCreate_params_st
@c.record
class struct_cuGreenCtxDestroy_params_st(c.Struct):
  SIZE = 8
  hCtx: Annotated[CUgreenCtx, 0]
cuGreenCtxDestroy_params: TypeAlias = struct_cuGreenCtxDestroy_params_st
@c.record
class struct_cuCtxFromGreenCtx_params_st(c.Struct):
  SIZE = 16
  pContext: Annotated[c.POINTER[CUcontext], 0]
  hCtx: Annotated[CUgreenCtx, 8]
cuCtxFromGreenCtx_params: TypeAlias = struct_cuCtxFromGreenCtx_params_st
@c.record
class struct_cuDeviceGetDevResource_params_st(c.Struct):
  SIZE = 24
  device: Annotated[CUdevice, 0]
  resource: Annotated[c.POINTER[CUdevResource], 8]
  type: Annotated[CUdevResourceType, 16]
@c.record
class struct_CUdevResource_st(c.Struct):
  SIZE = 144
  type: Annotated[CUdevResourceType, 0]
  _internal_padding: Annotated[c.Array[Annotated[int, ctypes.c_ubyte], Literal[92]], 4]
  sm: Annotated[CUdevSmResource, 96]
  _oversize: Annotated[c.Array[Annotated[int, ctypes.c_ubyte], Literal[48]], 96]
CUdevResource: TypeAlias = struct_CUdevResource_st
class CUdevResourceType(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_DEV_RESOURCE_TYPE_INVALID = CUdevResourceType.define('CU_DEV_RESOURCE_TYPE_INVALID', 0)
CU_DEV_RESOURCE_TYPE_SM = CUdevResourceType.define('CU_DEV_RESOURCE_TYPE_SM', 1)
CU_DEV_RESOURCE_TYPE_MAX = CUdevResourceType.define('CU_DEV_RESOURCE_TYPE_MAX', 2)

@c.record
class struct_CUdevSmResource_st(c.Struct):
  SIZE = 4
  smCount: Annotated[Annotated[int, ctypes.c_uint32], 0]
CUdevSmResource: TypeAlias = struct_CUdevSmResource_st
cuDeviceGetDevResource_params: TypeAlias = struct_cuDeviceGetDevResource_params_st
@c.record
class struct_cuCtxGetDevResource_params_st(c.Struct):
  SIZE = 24
  hCtx: Annotated[CUcontext, 0]
  resource: Annotated[c.POINTER[CUdevResource], 8]
  type: Annotated[CUdevResourceType, 16]
cuCtxGetDevResource_params: TypeAlias = struct_cuCtxGetDevResource_params_st
@c.record
class struct_cuGreenCtxGetDevResource_params_st(c.Struct):
  SIZE = 24
  hCtx: Annotated[CUgreenCtx, 0]
  resource: Annotated[c.POINTER[CUdevResource], 8]
  type: Annotated[CUdevResourceType, 16]
cuGreenCtxGetDevResource_params: TypeAlias = struct_cuGreenCtxGetDevResource_params_st
@c.record
class struct_cuDevSmResourceSplitByCount_params_st(c.Struct):
  SIZE = 40
  result: Annotated[c.POINTER[CUdevResource], 0]
  nbGroups: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 8]
  input: Annotated[c.POINTER[CUdevResource], 16]
  remaining: Annotated[c.POINTER[CUdevResource], 24]
  useFlags: Annotated[Annotated[int, ctypes.c_uint32], 32]
  minCount: Annotated[Annotated[int, ctypes.c_uint32], 36]
cuDevSmResourceSplitByCount_params: TypeAlias = struct_cuDevSmResourceSplitByCount_params_st
@c.record
class struct_cuDevResourceGenerateDesc_params_st(c.Struct):
  SIZE = 24
  phDesc: Annotated[c.POINTER[CUdevResourceDesc], 0]
  resources: Annotated[c.POINTER[CUdevResource], 8]
  nbResources: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuDevResourceGenerateDesc_params: TypeAlias = struct_cuDevResourceGenerateDesc_params_st
@c.record
class struct_cuGreenCtxRecordEvent_params_st(c.Struct):
  SIZE = 16
  hCtx: Annotated[CUgreenCtx, 0]
  hEvent: Annotated[CUevent, 8]
cuGreenCtxRecordEvent_params: TypeAlias = struct_cuGreenCtxRecordEvent_params_st
@c.record
class struct_cuGreenCtxWaitEvent_params_st(c.Struct):
  SIZE = 16
  hCtx: Annotated[CUgreenCtx, 0]
  hEvent: Annotated[CUevent, 8]
cuGreenCtxWaitEvent_params: TypeAlias = struct_cuGreenCtxWaitEvent_params_st
@c.record
class struct_cuStreamGetGreenCtx_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  phCtx: Annotated[c.POINTER[CUgreenCtx], 8]
cuStreamGetGreenCtx_params: TypeAlias = struct_cuStreamGetGreenCtx_params_st
@c.record
class struct_cuGreenCtxStreamCreate_params_st(c.Struct):
  SIZE = 24
  phStream: Annotated[c.POINTER[CUstream], 0]
  greenCtx: Annotated[CUgreenCtx, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
  priority: Annotated[Annotated[int, ctypes.c_int32], 20]
cuGreenCtxStreamCreate_params: TypeAlias = struct_cuGreenCtxStreamCreate_params_st
@c.record
class struct_cuMemHostRegister_params_st(c.Struct):
  SIZE = 24
  p: Annotated[ctypes.c_void_p, 0]
  bytesize: Annotated[size_t, 8]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuMemHostRegister_params: TypeAlias = struct_cuMemHostRegister_params_st
@c.record
class struct_cuGraphicsResourceSetMapFlags_params_st(c.Struct):
  SIZE = 16
  resource: Annotated[CUgraphicsResource, 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuGraphicsResourceSetMapFlags_params: TypeAlias = struct_cuGraphicsResourceSetMapFlags_params_st
@c.record
class struct_cuLinkCreate_params_st(c.Struct):
  SIZE = 32
  numOptions: Annotated[Annotated[int, ctypes.c_uint32], 0]
  options: Annotated[c.POINTER[CUjit_option], 8]
  optionValues: Annotated[c.POINTER[ctypes.c_void_p], 16]
  stateOut: Annotated[c.POINTER[CUlinkState], 24]
cuLinkCreate_params: TypeAlias = struct_cuLinkCreate_params_st
@c.record
class struct_cuLinkAddData_params_st(c.Struct):
  SIZE = 64
  state: Annotated[CUlinkState, 0]
  type: Annotated[CUjitInputType, 8]
  data: Annotated[ctypes.c_void_p, 16]
  size: Annotated[size_t, 24]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 32]
  numOptions: Annotated[Annotated[int, ctypes.c_uint32], 40]
  options: Annotated[c.POINTER[CUjit_option], 48]
  optionValues: Annotated[c.POINTER[ctypes.c_void_p], 56]
cuLinkAddData_params: TypeAlias = struct_cuLinkAddData_params_st
@c.record
class struct_cuLinkAddFile_params_st(c.Struct):
  SIZE = 48
  state: Annotated[CUlinkState, 0]
  type: Annotated[CUjitInputType, 8]
  path: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 16]
  numOptions: Annotated[Annotated[int, ctypes.c_uint32], 24]
  options: Annotated[c.POINTER[CUjit_option], 32]
  optionValues: Annotated[c.POINTER[ctypes.c_void_p], 40]
cuLinkAddFile_params: TypeAlias = struct_cuLinkAddFile_params_st
@c.record
class struct_cuTexRefSetAddress2D_v2_params_st(c.Struct):
  SIZE = 32
  hTexRef: Annotated[CUtexref, 0]
  desc: Annotated[c.POINTER[CUDA_ARRAY_DESCRIPTOR], 8]
  dptr: Annotated[CUdeviceptr, 16]
  Pitch: Annotated[size_t, 24]
cuTexRefSetAddress2D_v2_params: TypeAlias = struct_cuTexRefSetAddress2D_v2_params_st
@c.record
class struct_cuDeviceTotalMem_params_st(c.Struct):
  SIZE = 16
  bytes: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 0]
  dev: Annotated[CUdevice, 8]
cuDeviceTotalMem_params: TypeAlias = struct_cuDeviceTotalMem_params_st
@c.record
class struct_cuCtxCreate_params_st(c.Struct):
  SIZE = 16
  pctx: Annotated[c.POINTER[CUcontext], 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
  dev: Annotated[CUdevice, 12]
cuCtxCreate_params: TypeAlias = struct_cuCtxCreate_params_st
@c.record
class struct_cuModuleGetGlobal_params_st(c.Struct):
  SIZE = 32
  dptr: Annotated[c.POINTER[CUdeviceptr_v1], 0]
  bytes: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 8]
  hmod: Annotated[CUmodule, 16]
  name: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 24]
CUdeviceptr_v1: TypeAlias = Annotated[int, ctypes.c_uint32]
cuModuleGetGlobal_params: TypeAlias = struct_cuModuleGetGlobal_params_st
@c.record
class struct_cuMemGetInfo_params_st(c.Struct):
  SIZE = 16
  free: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 0]
  total: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 8]
cuMemGetInfo_params: TypeAlias = struct_cuMemGetInfo_params_st
@c.record
class struct_cuMemAlloc_params_st(c.Struct):
  SIZE = 16
  dptr: Annotated[c.POINTER[CUdeviceptr_v1], 0]
  bytesize: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuMemAlloc_params: TypeAlias = struct_cuMemAlloc_params_st
@c.record
class struct_cuMemAllocPitch_params_st(c.Struct):
  SIZE = 32
  dptr: Annotated[c.POINTER[CUdeviceptr_v1], 0]
  pPitch: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 8]
  WidthInBytes: Annotated[Annotated[int, ctypes.c_uint32], 16]
  Height: Annotated[Annotated[int, ctypes.c_uint32], 20]
  ElementSizeBytes: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuMemAllocPitch_params: TypeAlias = struct_cuMemAllocPitch_params_st
@c.record
class struct_cuMemFree_params_st(c.Struct):
  SIZE = 4
  dptr: Annotated[CUdeviceptr_v1, 0]
cuMemFree_params: TypeAlias = struct_cuMemFree_params_st
@c.record
class struct_cuMemGetAddressRange_params_st(c.Struct):
  SIZE = 24
  pbase: Annotated[c.POINTER[CUdeviceptr_v1], 0]
  psize: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 8]
  dptr: Annotated[CUdeviceptr_v1, 16]
cuMemGetAddressRange_params: TypeAlias = struct_cuMemGetAddressRange_params_st
@c.record
class struct_cuMemAllocHost_params_st(c.Struct):
  SIZE = 16
  pp: Annotated[c.POINTER[ctypes.c_void_p], 0]
  bytesize: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuMemAllocHost_params: TypeAlias = struct_cuMemAllocHost_params_st
@c.record
class struct_cuMemHostGetDevicePointer_params_st(c.Struct):
  SIZE = 24
  pdptr: Annotated[c.POINTER[CUdeviceptr_v1], 0]
  p: Annotated[ctypes.c_void_p, 8]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuMemHostGetDevicePointer_params: TypeAlias = struct_cuMemHostGetDevicePointer_params_st
@c.record
class struct_cuMemcpyHtoD_params_st(c.Struct):
  SIZE = 24
  dstDevice: Annotated[CUdeviceptr_v1, 0]
  srcHost: Annotated[ctypes.c_void_p, 8]
  ByteCount: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuMemcpyHtoD_params: TypeAlias = struct_cuMemcpyHtoD_params_st
@c.record
class struct_cuMemcpyDtoH_params_st(c.Struct):
  SIZE = 16
  dstHost: Annotated[ctypes.c_void_p, 0]
  srcDevice: Annotated[CUdeviceptr_v1, 8]
  ByteCount: Annotated[Annotated[int, ctypes.c_uint32], 12]
cuMemcpyDtoH_params: TypeAlias = struct_cuMemcpyDtoH_params_st
@c.record
class struct_cuMemcpyDtoD_params_st(c.Struct):
  SIZE = 12
  dstDevice: Annotated[CUdeviceptr_v1, 0]
  srcDevice: Annotated[CUdeviceptr_v1, 4]
  ByteCount: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuMemcpyDtoD_params: TypeAlias = struct_cuMemcpyDtoD_params_st
@c.record
class struct_cuMemcpyDtoA_params_st(c.Struct):
  SIZE = 24
  dstArray: Annotated[CUarray, 0]
  dstOffset: Annotated[Annotated[int, ctypes.c_uint32], 8]
  srcDevice: Annotated[CUdeviceptr_v1, 12]
  ByteCount: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuMemcpyDtoA_params: TypeAlias = struct_cuMemcpyDtoA_params_st
@c.record
class struct_cuMemcpyAtoD_params_st(c.Struct):
  SIZE = 24
  dstDevice: Annotated[CUdeviceptr_v1, 0]
  srcArray: Annotated[CUarray, 8]
  srcOffset: Annotated[Annotated[int, ctypes.c_uint32], 16]
  ByteCount: Annotated[Annotated[int, ctypes.c_uint32], 20]
cuMemcpyAtoD_params: TypeAlias = struct_cuMemcpyAtoD_params_st
@c.record
class struct_cuMemcpyHtoA_params_st(c.Struct):
  SIZE = 32
  dstArray: Annotated[CUarray, 0]
  dstOffset: Annotated[Annotated[int, ctypes.c_uint32], 8]
  srcHost: Annotated[ctypes.c_void_p, 16]
  ByteCount: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuMemcpyHtoA_params: TypeAlias = struct_cuMemcpyHtoA_params_st
@c.record
class struct_cuMemcpyAtoH_params_st(c.Struct):
  SIZE = 24
  dstHost: Annotated[ctypes.c_void_p, 0]
  srcArray: Annotated[CUarray, 8]
  srcOffset: Annotated[Annotated[int, ctypes.c_uint32], 16]
  ByteCount: Annotated[Annotated[int, ctypes.c_uint32], 20]
cuMemcpyAtoH_params: TypeAlias = struct_cuMemcpyAtoH_params_st
@c.record
class struct_cuMemcpyAtoA_params_st(c.Struct):
  SIZE = 32
  dstArray: Annotated[CUarray, 0]
  dstOffset: Annotated[Annotated[int, ctypes.c_uint32], 8]
  srcArray: Annotated[CUarray, 16]
  srcOffset: Annotated[Annotated[int, ctypes.c_uint32], 24]
  ByteCount: Annotated[Annotated[int, ctypes.c_uint32], 28]
cuMemcpyAtoA_params: TypeAlias = struct_cuMemcpyAtoA_params_st
@c.record
class struct_cuMemcpyHtoAAsync_params_st(c.Struct):
  SIZE = 40
  dstArray: Annotated[CUarray, 0]
  dstOffset: Annotated[Annotated[int, ctypes.c_uint32], 8]
  srcHost: Annotated[ctypes.c_void_p, 16]
  ByteCount: Annotated[Annotated[int, ctypes.c_uint32], 24]
  hStream: Annotated[CUstream, 32]
cuMemcpyHtoAAsync_params: TypeAlias = struct_cuMemcpyHtoAAsync_params_st
@c.record
class struct_cuMemcpyAtoHAsync_params_st(c.Struct):
  SIZE = 32
  dstHost: Annotated[ctypes.c_void_p, 0]
  srcArray: Annotated[CUarray, 8]
  srcOffset: Annotated[Annotated[int, ctypes.c_uint32], 16]
  ByteCount: Annotated[Annotated[int, ctypes.c_uint32], 20]
  hStream: Annotated[CUstream, 24]
cuMemcpyAtoHAsync_params: TypeAlias = struct_cuMemcpyAtoHAsync_params_st
@c.record
class struct_cuMemcpy2D_params_st(c.Struct):
  SIZE = 8
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY2D_v1], 0]
@c.record
class struct_CUDA_MEMCPY2D_v1_st(c.Struct):
  SIZE = 96
  srcXInBytes: Annotated[Annotated[int, ctypes.c_uint32], 0]
  srcY: Annotated[Annotated[int, ctypes.c_uint32], 4]
  srcMemoryType: Annotated[CUmemorytype, 8]
  srcHost: Annotated[ctypes.c_void_p, 16]
  srcDevice: Annotated[CUdeviceptr_v1, 24]
  srcArray: Annotated[CUarray, 32]
  srcPitch: Annotated[Annotated[int, ctypes.c_uint32], 40]
  dstXInBytes: Annotated[Annotated[int, ctypes.c_uint32], 44]
  dstY: Annotated[Annotated[int, ctypes.c_uint32], 48]
  dstMemoryType: Annotated[CUmemorytype, 52]
  dstHost: Annotated[ctypes.c_void_p, 56]
  dstDevice: Annotated[CUdeviceptr_v1, 64]
  dstArray: Annotated[CUarray, 72]
  dstPitch: Annotated[Annotated[int, ctypes.c_uint32], 80]
  WidthInBytes: Annotated[Annotated[int, ctypes.c_uint32], 84]
  Height: Annotated[Annotated[int, ctypes.c_uint32], 88]
CUDA_MEMCPY2D_v1: TypeAlias = struct_CUDA_MEMCPY2D_v1_st
cuMemcpy2D_params: TypeAlias = struct_cuMemcpy2D_params_st
@c.record
class struct_cuMemcpy2DUnaligned_params_st(c.Struct):
  SIZE = 8
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY2D_v1], 0]
cuMemcpy2DUnaligned_params: TypeAlias = struct_cuMemcpy2DUnaligned_params_st
@c.record
class struct_cuMemcpy3D_params_st(c.Struct):
  SIZE = 8
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY3D_v1], 0]
@c.record
class struct_CUDA_MEMCPY3D_v1_st(c.Struct):
  SIZE = 144
  srcXInBytes: Annotated[Annotated[int, ctypes.c_uint32], 0]
  srcY: Annotated[Annotated[int, ctypes.c_uint32], 4]
  srcZ: Annotated[Annotated[int, ctypes.c_uint32], 8]
  srcLOD: Annotated[Annotated[int, ctypes.c_uint32], 12]
  srcMemoryType: Annotated[CUmemorytype, 16]
  srcHost: Annotated[ctypes.c_void_p, 24]
  srcDevice: Annotated[CUdeviceptr_v1, 32]
  srcArray: Annotated[CUarray, 40]
  reserved0: Annotated[ctypes.c_void_p, 48]
  srcPitch: Annotated[Annotated[int, ctypes.c_uint32], 56]
  srcHeight: Annotated[Annotated[int, ctypes.c_uint32], 60]
  dstXInBytes: Annotated[Annotated[int, ctypes.c_uint32], 64]
  dstY: Annotated[Annotated[int, ctypes.c_uint32], 68]
  dstZ: Annotated[Annotated[int, ctypes.c_uint32], 72]
  dstLOD: Annotated[Annotated[int, ctypes.c_uint32], 76]
  dstMemoryType: Annotated[CUmemorytype, 80]
  dstHost: Annotated[ctypes.c_void_p, 88]
  dstDevice: Annotated[CUdeviceptr_v1, 96]
  dstArray: Annotated[CUarray, 104]
  reserved1: Annotated[ctypes.c_void_p, 112]
  dstPitch: Annotated[Annotated[int, ctypes.c_uint32], 120]
  dstHeight: Annotated[Annotated[int, ctypes.c_uint32], 124]
  WidthInBytes: Annotated[Annotated[int, ctypes.c_uint32], 128]
  Height: Annotated[Annotated[int, ctypes.c_uint32], 132]
  Depth: Annotated[Annotated[int, ctypes.c_uint32], 136]
CUDA_MEMCPY3D_v1: TypeAlias = struct_CUDA_MEMCPY3D_v1_st
cuMemcpy3D_params: TypeAlias = struct_cuMemcpy3D_params_st
@c.record
class struct_cuMemcpyHtoDAsync_params_st(c.Struct):
  SIZE = 32
  dstDevice: Annotated[CUdeviceptr_v1, 0]
  srcHost: Annotated[ctypes.c_void_p, 8]
  ByteCount: Annotated[Annotated[int, ctypes.c_uint32], 16]
  hStream: Annotated[CUstream, 24]
cuMemcpyHtoDAsync_params: TypeAlias = struct_cuMemcpyHtoDAsync_params_st
@c.record
class struct_cuMemcpyDtoHAsync_params_st(c.Struct):
  SIZE = 24
  dstHost: Annotated[ctypes.c_void_p, 0]
  srcDevice: Annotated[CUdeviceptr_v1, 8]
  ByteCount: Annotated[Annotated[int, ctypes.c_uint32], 12]
  hStream: Annotated[CUstream, 16]
cuMemcpyDtoHAsync_params: TypeAlias = struct_cuMemcpyDtoHAsync_params_st
@c.record
class struct_cuMemcpyDtoDAsync_params_st(c.Struct):
  SIZE = 24
  dstDevice: Annotated[CUdeviceptr_v1, 0]
  srcDevice: Annotated[CUdeviceptr_v1, 4]
  ByteCount: Annotated[Annotated[int, ctypes.c_uint32], 8]
  hStream: Annotated[CUstream, 16]
cuMemcpyDtoDAsync_params: TypeAlias = struct_cuMemcpyDtoDAsync_params_st
@c.record
class struct_cuMemcpy2DAsync_params_st(c.Struct):
  SIZE = 16
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY2D_v1], 0]
  hStream: Annotated[CUstream, 8]
cuMemcpy2DAsync_params: TypeAlias = struct_cuMemcpy2DAsync_params_st
@c.record
class struct_cuMemcpy3DAsync_params_st(c.Struct):
  SIZE = 16
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY3D_v1], 0]
  hStream: Annotated[CUstream, 8]
cuMemcpy3DAsync_params: TypeAlias = struct_cuMemcpy3DAsync_params_st
@c.record
class struct_cuMemsetD8_params_st(c.Struct):
  SIZE = 12
  dstDevice: Annotated[CUdeviceptr_v1, 0]
  uc: Annotated[Annotated[int, ctypes.c_ubyte], 4]
  N: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuMemsetD8_params: TypeAlias = struct_cuMemsetD8_params_st
@c.record
class struct_cuMemsetD16_params_st(c.Struct):
  SIZE = 12
  dstDevice: Annotated[CUdeviceptr_v1, 0]
  us: Annotated[Annotated[int, ctypes.c_uint16], 4]
  N: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuMemsetD16_params: TypeAlias = struct_cuMemsetD16_params_st
@c.record
class struct_cuMemsetD32_params_st(c.Struct):
  SIZE = 12
  dstDevice: Annotated[CUdeviceptr_v1, 0]
  ui: Annotated[Annotated[int, ctypes.c_uint32], 4]
  N: Annotated[Annotated[int, ctypes.c_uint32], 8]
cuMemsetD32_params: TypeAlias = struct_cuMemsetD32_params_st
@c.record
class struct_cuMemsetD2D8_params_st(c.Struct):
  SIZE = 20
  dstDevice: Annotated[CUdeviceptr_v1, 0]
  dstPitch: Annotated[Annotated[int, ctypes.c_uint32], 4]
  uc: Annotated[Annotated[int, ctypes.c_ubyte], 8]
  Width: Annotated[Annotated[int, ctypes.c_uint32], 12]
  Height: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuMemsetD2D8_params: TypeAlias = struct_cuMemsetD2D8_params_st
@c.record
class struct_cuMemsetD2D16_params_st(c.Struct):
  SIZE = 20
  dstDevice: Annotated[CUdeviceptr_v1, 0]
  dstPitch: Annotated[Annotated[int, ctypes.c_uint32], 4]
  us: Annotated[Annotated[int, ctypes.c_uint16], 8]
  Width: Annotated[Annotated[int, ctypes.c_uint32], 12]
  Height: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuMemsetD2D16_params: TypeAlias = struct_cuMemsetD2D16_params_st
@c.record
class struct_cuMemsetD2D32_params_st(c.Struct):
  SIZE = 20
  dstDevice: Annotated[CUdeviceptr_v1, 0]
  dstPitch: Annotated[Annotated[int, ctypes.c_uint32], 4]
  ui: Annotated[Annotated[int, ctypes.c_uint32], 8]
  Width: Annotated[Annotated[int, ctypes.c_uint32], 12]
  Height: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuMemsetD2D32_params: TypeAlias = struct_cuMemsetD2D32_params_st
@c.record
class struct_cuArrayCreate_params_st(c.Struct):
  SIZE = 16
  pHandle: Annotated[c.POINTER[CUarray], 0]
  pAllocateArray: Annotated[c.POINTER[CUDA_ARRAY_DESCRIPTOR_v1], 8]
@c.record
class struct_CUDA_ARRAY_DESCRIPTOR_v1_st(c.Struct):
  SIZE = 16
  Width: Annotated[Annotated[int, ctypes.c_uint32], 0]
  Height: Annotated[Annotated[int, ctypes.c_uint32], 4]
  Format: Annotated[CUarray_format, 8]
  NumChannels: Annotated[Annotated[int, ctypes.c_uint32], 12]
CUDA_ARRAY_DESCRIPTOR_v1: TypeAlias = struct_CUDA_ARRAY_DESCRIPTOR_v1_st
cuArrayCreate_params: TypeAlias = struct_cuArrayCreate_params_st
@c.record
class struct_cuArrayGetDescriptor_params_st(c.Struct):
  SIZE = 16
  pArrayDescriptor: Annotated[c.POINTER[CUDA_ARRAY_DESCRIPTOR_v1], 0]
  hArray: Annotated[CUarray, 8]
cuArrayGetDescriptor_params: TypeAlias = struct_cuArrayGetDescriptor_params_st
@c.record
class struct_cuArray3DCreate_params_st(c.Struct):
  SIZE = 16
  pHandle: Annotated[c.POINTER[CUarray], 0]
  pAllocateArray: Annotated[c.POINTER[CUDA_ARRAY3D_DESCRIPTOR_v1], 8]
@c.record
class struct_CUDA_ARRAY3D_DESCRIPTOR_v1_st(c.Struct):
  SIZE = 24
  Width: Annotated[Annotated[int, ctypes.c_uint32], 0]
  Height: Annotated[Annotated[int, ctypes.c_uint32], 4]
  Depth: Annotated[Annotated[int, ctypes.c_uint32], 8]
  Format: Annotated[CUarray_format, 12]
  NumChannels: Annotated[Annotated[int, ctypes.c_uint32], 16]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
CUDA_ARRAY3D_DESCRIPTOR_v1: TypeAlias = struct_CUDA_ARRAY3D_DESCRIPTOR_v1_st
cuArray3DCreate_params: TypeAlias = struct_cuArray3DCreate_params_st
@c.record
class struct_cuArray3DGetDescriptor_params_st(c.Struct):
  SIZE = 16
  pArrayDescriptor: Annotated[c.POINTER[CUDA_ARRAY3D_DESCRIPTOR_v1], 0]
  hArray: Annotated[CUarray, 8]
cuArray3DGetDescriptor_params: TypeAlias = struct_cuArray3DGetDescriptor_params_st
@c.record
class struct_cuTexRefSetAddress_params_st(c.Struct):
  SIZE = 24
  ByteOffset: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 0]
  hTexRef: Annotated[CUtexref, 8]
  dptr: Annotated[CUdeviceptr_v1, 16]
  bytes: Annotated[Annotated[int, ctypes.c_uint32], 20]
cuTexRefSetAddress_params: TypeAlias = struct_cuTexRefSetAddress_params_st
@c.record
class struct_cuTexRefSetAddress2D_params_st(c.Struct):
  SIZE = 24
  hTexRef: Annotated[CUtexref, 0]
  desc: Annotated[c.POINTER[CUDA_ARRAY_DESCRIPTOR_v1], 8]
  dptr: Annotated[CUdeviceptr_v1, 16]
  Pitch: Annotated[Annotated[int, ctypes.c_uint32], 20]
cuTexRefSetAddress2D_params: TypeAlias = struct_cuTexRefSetAddress2D_params_st
@c.record
class struct_cuTexRefGetAddress_params_st(c.Struct):
  SIZE = 16
  pdptr: Annotated[c.POINTER[CUdeviceptr_v1], 0]
  hTexRef: Annotated[CUtexref, 8]
cuTexRefGetAddress_params: TypeAlias = struct_cuTexRefGetAddress_params_st
@c.record
class struct_cuGraphicsResourceGetMappedPointer_params_st(c.Struct):
  SIZE = 24
  pDevPtr: Annotated[c.POINTER[CUdeviceptr_v1], 0]
  pSize: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 8]
  resource: Annotated[CUgraphicsResource, 16]
cuGraphicsResourceGetMappedPointer_params: TypeAlias = struct_cuGraphicsResourceGetMappedPointer_params_st
@c.record
class struct_cuCtxDestroy_params_st(c.Struct):
  SIZE = 8
  ctx: Annotated[CUcontext, 0]
cuCtxDestroy_params: TypeAlias = struct_cuCtxDestroy_params_st
@c.record
class struct_cuCtxPopCurrent_params_st(c.Struct):
  SIZE = 8
  pctx: Annotated[c.POINTER[CUcontext], 0]
cuCtxPopCurrent_params: TypeAlias = struct_cuCtxPopCurrent_params_st
@c.record
class struct_cuCtxPushCurrent_params_st(c.Struct):
  SIZE = 8
  ctx: Annotated[CUcontext, 0]
cuCtxPushCurrent_params: TypeAlias = struct_cuCtxPushCurrent_params_st
@c.record
class struct_cuStreamDestroy_params_st(c.Struct):
  SIZE = 8
  hStream: Annotated[CUstream, 0]
cuStreamDestroy_params: TypeAlias = struct_cuStreamDestroy_params_st
@c.record
class struct_cuEventDestroy_params_st(c.Struct):
  SIZE = 8
  hEvent: Annotated[CUevent, 0]
cuEventDestroy_params: TypeAlias = struct_cuEventDestroy_params_st
@c.record
class struct_cuDevicePrimaryCtxRelease_params_st(c.Struct):
  SIZE = 4
  dev: Annotated[CUdevice, 0]
cuDevicePrimaryCtxRelease_params: TypeAlias = struct_cuDevicePrimaryCtxRelease_params_st
@c.record
class struct_cuDevicePrimaryCtxReset_params_st(c.Struct):
  SIZE = 4
  dev: Annotated[CUdevice, 0]
cuDevicePrimaryCtxReset_params: TypeAlias = struct_cuDevicePrimaryCtxReset_params_st
@c.record
class struct_cuDevicePrimaryCtxSetFlags_params_st(c.Struct):
  SIZE = 8
  dev: Annotated[CUdevice, 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 4]
cuDevicePrimaryCtxSetFlags_params: TypeAlias = struct_cuDevicePrimaryCtxSetFlags_params_st
@c.record
class struct_cuMemcpyHtoD_v2_params_st(c.Struct):
  SIZE = 24
  dstDevice: Annotated[CUdeviceptr, 0]
  srcHost: Annotated[ctypes.c_void_p, 8]
  ByteCount: Annotated[size_t, 16]
cuMemcpyHtoD_v2_params: TypeAlias = struct_cuMemcpyHtoD_v2_params_st
@c.record
class struct_cuMemcpyDtoH_v2_params_st(c.Struct):
  SIZE = 24
  dstHost: Annotated[ctypes.c_void_p, 0]
  srcDevice: Annotated[CUdeviceptr, 8]
  ByteCount: Annotated[size_t, 16]
cuMemcpyDtoH_v2_params: TypeAlias = struct_cuMemcpyDtoH_v2_params_st
@c.record
class struct_cuMemcpyDtoD_v2_params_st(c.Struct):
  SIZE = 24
  dstDevice: Annotated[CUdeviceptr, 0]
  srcDevice: Annotated[CUdeviceptr, 8]
  ByteCount: Annotated[size_t, 16]
cuMemcpyDtoD_v2_params: TypeAlias = struct_cuMemcpyDtoD_v2_params_st
@c.record
class struct_cuMemcpyDtoA_v2_params_st(c.Struct):
  SIZE = 32
  dstArray: Annotated[CUarray, 0]
  dstOffset: Annotated[size_t, 8]
  srcDevice: Annotated[CUdeviceptr, 16]
  ByteCount: Annotated[size_t, 24]
cuMemcpyDtoA_v2_params: TypeAlias = struct_cuMemcpyDtoA_v2_params_st
@c.record
class struct_cuMemcpyAtoD_v2_params_st(c.Struct):
  SIZE = 32
  dstDevice: Annotated[CUdeviceptr, 0]
  srcArray: Annotated[CUarray, 8]
  srcOffset: Annotated[size_t, 16]
  ByteCount: Annotated[size_t, 24]
cuMemcpyAtoD_v2_params: TypeAlias = struct_cuMemcpyAtoD_v2_params_st
@c.record
class struct_cuMemcpyHtoA_v2_params_st(c.Struct):
  SIZE = 32
  dstArray: Annotated[CUarray, 0]
  dstOffset: Annotated[size_t, 8]
  srcHost: Annotated[ctypes.c_void_p, 16]
  ByteCount: Annotated[size_t, 24]
cuMemcpyHtoA_v2_params: TypeAlias = struct_cuMemcpyHtoA_v2_params_st
@c.record
class struct_cuMemcpyAtoH_v2_params_st(c.Struct):
  SIZE = 32
  dstHost: Annotated[ctypes.c_void_p, 0]
  srcArray: Annotated[CUarray, 8]
  srcOffset: Annotated[size_t, 16]
  ByteCount: Annotated[size_t, 24]
cuMemcpyAtoH_v2_params: TypeAlias = struct_cuMemcpyAtoH_v2_params_st
@c.record
class struct_cuMemcpyAtoA_v2_params_st(c.Struct):
  SIZE = 40
  dstArray: Annotated[CUarray, 0]
  dstOffset: Annotated[size_t, 8]
  srcArray: Annotated[CUarray, 16]
  srcOffset: Annotated[size_t, 24]
  ByteCount: Annotated[size_t, 32]
cuMemcpyAtoA_v2_params: TypeAlias = struct_cuMemcpyAtoA_v2_params_st
@c.record
class struct_cuMemcpyHtoAAsync_v2_params_st(c.Struct):
  SIZE = 40
  dstArray: Annotated[CUarray, 0]
  dstOffset: Annotated[size_t, 8]
  srcHost: Annotated[ctypes.c_void_p, 16]
  ByteCount: Annotated[size_t, 24]
  hStream: Annotated[CUstream, 32]
cuMemcpyHtoAAsync_v2_params: TypeAlias = struct_cuMemcpyHtoAAsync_v2_params_st
@c.record
class struct_cuMemcpyAtoHAsync_v2_params_st(c.Struct):
  SIZE = 40
  dstHost: Annotated[ctypes.c_void_p, 0]
  srcArray: Annotated[CUarray, 8]
  srcOffset: Annotated[size_t, 16]
  ByteCount: Annotated[size_t, 24]
  hStream: Annotated[CUstream, 32]
cuMemcpyAtoHAsync_v2_params: TypeAlias = struct_cuMemcpyAtoHAsync_v2_params_st
@c.record
class struct_cuMemcpy2D_v2_params_st(c.Struct):
  SIZE = 8
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY2D], 0]
cuMemcpy2D_v2_params: TypeAlias = struct_cuMemcpy2D_v2_params_st
@c.record
class struct_cuMemcpy2DUnaligned_v2_params_st(c.Struct):
  SIZE = 8
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY2D], 0]
cuMemcpy2DUnaligned_v2_params: TypeAlias = struct_cuMemcpy2DUnaligned_v2_params_st
@c.record
class struct_cuMemcpy3D_v2_params_st(c.Struct):
  SIZE = 8
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY3D], 0]
cuMemcpy3D_v2_params: TypeAlias = struct_cuMemcpy3D_v2_params_st
@c.record
class struct_cuMemcpyHtoDAsync_v2_params_st(c.Struct):
  SIZE = 32
  dstDevice: Annotated[CUdeviceptr, 0]
  srcHost: Annotated[ctypes.c_void_p, 8]
  ByteCount: Annotated[size_t, 16]
  hStream: Annotated[CUstream, 24]
cuMemcpyHtoDAsync_v2_params: TypeAlias = struct_cuMemcpyHtoDAsync_v2_params_st
@c.record
class struct_cuMemcpyDtoHAsync_v2_params_st(c.Struct):
  SIZE = 32
  dstHost: Annotated[ctypes.c_void_p, 0]
  srcDevice: Annotated[CUdeviceptr, 8]
  ByteCount: Annotated[size_t, 16]
  hStream: Annotated[CUstream, 24]
cuMemcpyDtoHAsync_v2_params: TypeAlias = struct_cuMemcpyDtoHAsync_v2_params_st
@c.record
class struct_cuMemcpyDtoDAsync_v2_params_st(c.Struct):
  SIZE = 32
  dstDevice: Annotated[CUdeviceptr, 0]
  srcDevice: Annotated[CUdeviceptr, 8]
  ByteCount: Annotated[size_t, 16]
  hStream: Annotated[CUstream, 24]
cuMemcpyDtoDAsync_v2_params: TypeAlias = struct_cuMemcpyDtoDAsync_v2_params_st
@c.record
class struct_cuMemcpy2DAsync_v2_params_st(c.Struct):
  SIZE = 16
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY2D], 0]
  hStream: Annotated[CUstream, 8]
cuMemcpy2DAsync_v2_params: TypeAlias = struct_cuMemcpy2DAsync_v2_params_st
@c.record
class struct_cuMemcpy3DAsync_v2_params_st(c.Struct):
  SIZE = 16
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY3D], 0]
  hStream: Annotated[CUstream, 8]
cuMemcpy3DAsync_v2_params: TypeAlias = struct_cuMemcpy3DAsync_v2_params_st
@c.record
class struct_cuMemsetD8_v2_params_st(c.Struct):
  SIZE = 24
  dstDevice: Annotated[CUdeviceptr, 0]
  uc: Annotated[Annotated[int, ctypes.c_ubyte], 8]
  N: Annotated[size_t, 16]
cuMemsetD8_v2_params: TypeAlias = struct_cuMemsetD8_v2_params_st
@c.record
class struct_cuMemsetD16_v2_params_st(c.Struct):
  SIZE = 24
  dstDevice: Annotated[CUdeviceptr, 0]
  us: Annotated[Annotated[int, ctypes.c_uint16], 8]
  N: Annotated[size_t, 16]
cuMemsetD16_v2_params: TypeAlias = struct_cuMemsetD16_v2_params_st
@c.record
class struct_cuMemsetD32_v2_params_st(c.Struct):
  SIZE = 24
  dstDevice: Annotated[CUdeviceptr, 0]
  ui: Annotated[Annotated[int, ctypes.c_uint32], 8]
  N: Annotated[size_t, 16]
cuMemsetD32_v2_params: TypeAlias = struct_cuMemsetD32_v2_params_st
@c.record
class struct_cuMemsetD2D8_v2_params_st(c.Struct):
  SIZE = 40
  dstDevice: Annotated[CUdeviceptr, 0]
  dstPitch: Annotated[size_t, 8]
  uc: Annotated[Annotated[int, ctypes.c_ubyte], 16]
  Width: Annotated[size_t, 24]
  Height: Annotated[size_t, 32]
cuMemsetD2D8_v2_params: TypeAlias = struct_cuMemsetD2D8_v2_params_st
@c.record
class struct_cuMemsetD2D16_v2_params_st(c.Struct):
  SIZE = 40
  dstDevice: Annotated[CUdeviceptr, 0]
  dstPitch: Annotated[size_t, 8]
  us: Annotated[Annotated[int, ctypes.c_uint16], 16]
  Width: Annotated[size_t, 24]
  Height: Annotated[size_t, 32]
cuMemsetD2D16_v2_params: TypeAlias = struct_cuMemsetD2D16_v2_params_st
@c.record
class struct_cuMemsetD2D32_v2_params_st(c.Struct):
  SIZE = 40
  dstDevice: Annotated[CUdeviceptr, 0]
  dstPitch: Annotated[size_t, 8]
  ui: Annotated[Annotated[int, ctypes.c_uint32], 16]
  Width: Annotated[size_t, 24]
  Height: Annotated[size_t, 32]
cuMemsetD2D32_v2_params: TypeAlias = struct_cuMemsetD2D32_v2_params_st
@c.record
class struct_cuMemcpy_params_st(c.Struct):
  SIZE = 24
  dst: Annotated[CUdeviceptr, 0]
  src: Annotated[CUdeviceptr, 8]
  ByteCount: Annotated[size_t, 16]
cuMemcpy_params: TypeAlias = struct_cuMemcpy_params_st
@c.record
class struct_cuMemcpyAsync_params_st(c.Struct):
  SIZE = 32
  dst: Annotated[CUdeviceptr, 0]
  src: Annotated[CUdeviceptr, 8]
  ByteCount: Annotated[size_t, 16]
  hStream: Annotated[CUstream, 24]
cuMemcpyAsync_params: TypeAlias = struct_cuMemcpyAsync_params_st
@c.record
class struct_cuMemcpyPeer_params_st(c.Struct):
  SIZE = 40
  dstDevice: Annotated[CUdeviceptr, 0]
  dstContext: Annotated[CUcontext, 8]
  srcDevice: Annotated[CUdeviceptr, 16]
  srcContext: Annotated[CUcontext, 24]
  ByteCount: Annotated[size_t, 32]
cuMemcpyPeer_params: TypeAlias = struct_cuMemcpyPeer_params_st
@c.record
class struct_cuMemcpyPeerAsync_params_st(c.Struct):
  SIZE = 48
  dstDevice: Annotated[CUdeviceptr, 0]
  dstContext: Annotated[CUcontext, 8]
  srcDevice: Annotated[CUdeviceptr, 16]
  srcContext: Annotated[CUcontext, 24]
  ByteCount: Annotated[size_t, 32]
  hStream: Annotated[CUstream, 40]
cuMemcpyPeerAsync_params: TypeAlias = struct_cuMemcpyPeerAsync_params_st
@c.record
class struct_cuMemcpy3DPeer_params_st(c.Struct):
  SIZE = 8
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY3D_PEER], 0]
cuMemcpy3DPeer_params: TypeAlias = struct_cuMemcpy3DPeer_params_st
@c.record
class struct_cuMemcpy3DPeerAsync_params_st(c.Struct):
  SIZE = 16
  pCopy: Annotated[c.POINTER[CUDA_MEMCPY3D_PEER], 0]
  hStream: Annotated[CUstream, 8]
cuMemcpy3DPeerAsync_params: TypeAlias = struct_cuMemcpy3DPeerAsync_params_st
@c.record
class struct_cuMemcpyBatchAsync_params_st(c.Struct):
  SIZE = 72
  dsts: Annotated[c.POINTER[CUdeviceptr], 0]
  srcs: Annotated[c.POINTER[CUdeviceptr], 8]
  sizes: Annotated[c.POINTER[size_t], 16]
  count: Annotated[size_t, 24]
  attrs: Annotated[c.POINTER[CUmemcpyAttributes], 32]
  attrsIdxs: Annotated[c.POINTER[size_t], 40]
  numAttrs: Annotated[size_t, 48]
  failIdx: Annotated[c.POINTER[size_t], 56]
  hStream: Annotated[CUstream, 64]
cuMemcpyBatchAsync_params: TypeAlias = struct_cuMemcpyBatchAsync_params_st
@c.record
class struct_cuMemcpy3DBatchAsync_params_st(c.Struct):
  SIZE = 40
  numOps: Annotated[size_t, 0]
  opList: Annotated[c.POINTER[CUDA_MEMCPY3D_BATCH_OP], 8]
  failIdx: Annotated[c.POINTER[size_t], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 24]
  hStream: Annotated[CUstream, 32]
cuMemcpy3DBatchAsync_params: TypeAlias = struct_cuMemcpy3DBatchAsync_params_st
@c.record
class struct_cuMemsetD8Async_params_st(c.Struct):
  SIZE = 32
  dstDevice: Annotated[CUdeviceptr, 0]
  uc: Annotated[Annotated[int, ctypes.c_ubyte], 8]
  N: Annotated[size_t, 16]
  hStream: Annotated[CUstream, 24]
cuMemsetD8Async_params: TypeAlias = struct_cuMemsetD8Async_params_st
@c.record
class struct_cuMemsetD16Async_params_st(c.Struct):
  SIZE = 32
  dstDevice: Annotated[CUdeviceptr, 0]
  us: Annotated[Annotated[int, ctypes.c_uint16], 8]
  N: Annotated[size_t, 16]
  hStream: Annotated[CUstream, 24]
cuMemsetD16Async_params: TypeAlias = struct_cuMemsetD16Async_params_st
@c.record
class struct_cuMemsetD32Async_params_st(c.Struct):
  SIZE = 32
  dstDevice: Annotated[CUdeviceptr, 0]
  ui: Annotated[Annotated[int, ctypes.c_uint32], 8]
  N: Annotated[size_t, 16]
  hStream: Annotated[CUstream, 24]
cuMemsetD32Async_params: TypeAlias = struct_cuMemsetD32Async_params_st
@c.record
class struct_cuMemsetD2D8Async_params_st(c.Struct):
  SIZE = 48
  dstDevice: Annotated[CUdeviceptr, 0]
  dstPitch: Annotated[size_t, 8]
  uc: Annotated[Annotated[int, ctypes.c_ubyte], 16]
  Width: Annotated[size_t, 24]
  Height: Annotated[size_t, 32]
  hStream: Annotated[CUstream, 40]
cuMemsetD2D8Async_params: TypeAlias = struct_cuMemsetD2D8Async_params_st
@c.record
class struct_cuMemsetD2D16Async_params_st(c.Struct):
  SIZE = 48
  dstDevice: Annotated[CUdeviceptr, 0]
  dstPitch: Annotated[size_t, 8]
  us: Annotated[Annotated[int, ctypes.c_uint16], 16]
  Width: Annotated[size_t, 24]
  Height: Annotated[size_t, 32]
  hStream: Annotated[CUstream, 40]
cuMemsetD2D16Async_params: TypeAlias = struct_cuMemsetD2D16Async_params_st
@c.record
class struct_cuMemsetD2D32Async_params_st(c.Struct):
  SIZE = 48
  dstDevice: Annotated[CUdeviceptr, 0]
  dstPitch: Annotated[size_t, 8]
  ui: Annotated[Annotated[int, ctypes.c_uint32], 16]
  Width: Annotated[size_t, 24]
  Height: Annotated[size_t, 32]
  hStream: Annotated[CUstream, 40]
cuMemsetD2D32Async_params: TypeAlias = struct_cuMemsetD2D32Async_params_st
@c.record
class struct_cuStreamGetPriority_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  priority: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 8]
cuStreamGetPriority_params: TypeAlias = struct_cuStreamGetPriority_params_st
@c.record
class struct_cuStreamGetId_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  streamId: Annotated[c.POINTER[Annotated[int, ctypes.c_uint64]], 8]
cuStreamGetId_params: TypeAlias = struct_cuStreamGetId_params_st
@c.record
class struct_cuStreamGetFlags_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  flags: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 8]
cuStreamGetFlags_params: TypeAlias = struct_cuStreamGetFlags_params_st
@c.record
class struct_cuStreamGetDevice_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  device: Annotated[c.POINTER[CUdevice], 8]
cuStreamGetDevice_params: TypeAlias = struct_cuStreamGetDevice_params_st
@c.record
class struct_cuStreamGetCtx_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  pctx: Annotated[c.POINTER[CUcontext], 8]
cuStreamGetCtx_params: TypeAlias = struct_cuStreamGetCtx_params_st
@c.record
class struct_cuStreamGetCtx_v2_params_st(c.Struct):
  SIZE = 24
  hStream: Annotated[CUstream, 0]
  pCtx: Annotated[c.POINTER[CUcontext], 8]
  pGreenCtx: Annotated[c.POINTER[CUgreenCtx], 16]
cuStreamGetCtx_v2_params: TypeAlias = struct_cuStreamGetCtx_v2_params_st
@c.record
class struct_cuStreamWaitEvent_params_st(c.Struct):
  SIZE = 24
  hStream: Annotated[CUstream, 0]
  hEvent: Annotated[CUevent, 8]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuStreamWaitEvent_params: TypeAlias = struct_cuStreamWaitEvent_params_st
@c.record
class struct_cuStreamAddCallback_params_st(c.Struct):
  SIZE = 32
  hStream: Annotated[CUstream, 0]
  callback: Annotated[CUstreamCallback, 8]
  userData: Annotated[ctypes.c_void_p, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuStreamAddCallback_params: TypeAlias = struct_cuStreamAddCallback_params_st
@c.record
class struct_cuStreamAttachMemAsync_params_st(c.Struct):
  SIZE = 32
  hStream: Annotated[CUstream, 0]
  dptr: Annotated[CUdeviceptr, 8]
  length: Annotated[size_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuStreamAttachMemAsync_params: TypeAlias = struct_cuStreamAttachMemAsync_params_st
@c.record
class struct_cuStreamQuery_params_st(c.Struct):
  SIZE = 8
  hStream: Annotated[CUstream, 0]
cuStreamQuery_params: TypeAlias = struct_cuStreamQuery_params_st
@c.record
class struct_cuStreamSynchronize_params_st(c.Struct):
  SIZE = 8
  hStream: Annotated[CUstream, 0]
cuStreamSynchronize_params: TypeAlias = struct_cuStreamSynchronize_params_st
@c.record
class struct_cuEventRecord_params_st(c.Struct):
  SIZE = 16
  hEvent: Annotated[CUevent, 0]
  hStream: Annotated[CUstream, 8]
cuEventRecord_params: TypeAlias = struct_cuEventRecord_params_st
@c.record
class struct_cuEventRecordWithFlags_params_st(c.Struct):
  SIZE = 24
  hEvent: Annotated[CUevent, 0]
  hStream: Annotated[CUstream, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cuEventRecordWithFlags_params: TypeAlias = struct_cuEventRecordWithFlags_params_st
@c.record
class struct_cuLaunchKernel_params_st(c.Struct):
  SIZE = 64
  f: Annotated[CUfunction, 0]
  gridDimX: Annotated[Annotated[int, ctypes.c_uint32], 8]
  gridDimY: Annotated[Annotated[int, ctypes.c_uint32], 12]
  gridDimZ: Annotated[Annotated[int, ctypes.c_uint32], 16]
  blockDimX: Annotated[Annotated[int, ctypes.c_uint32], 20]
  blockDimY: Annotated[Annotated[int, ctypes.c_uint32], 24]
  blockDimZ: Annotated[Annotated[int, ctypes.c_uint32], 28]
  sharedMemBytes: Annotated[Annotated[int, ctypes.c_uint32], 32]
  hStream: Annotated[CUstream, 40]
  kernelParams: Annotated[c.POINTER[ctypes.c_void_p], 48]
  extra: Annotated[c.POINTER[ctypes.c_void_p], 56]
cuLaunchKernel_params: TypeAlias = struct_cuLaunchKernel_params_st
@c.record
class struct_cuLaunchKernelEx_params_st(c.Struct):
  SIZE = 32
  config: Annotated[c.POINTER[CUlaunchConfig], 0]
  f: Annotated[CUfunction, 8]
  kernelParams: Annotated[c.POINTER[ctypes.c_void_p], 16]
  extra: Annotated[c.POINTER[ctypes.c_void_p], 24]
cuLaunchKernelEx_params: TypeAlias = struct_cuLaunchKernelEx_params_st
@c.record
class struct_cuLaunchHostFunc_params_st(c.Struct):
  SIZE = 24
  hStream: Annotated[CUstream, 0]
  fn: Annotated[CUhostFn, 8]
  userData: Annotated[ctypes.c_void_p, 16]
cuLaunchHostFunc_params: TypeAlias = struct_cuLaunchHostFunc_params_st
@c.record
class struct_cuGraphicsMapResources_params_st(c.Struct):
  SIZE = 24
  count: Annotated[Annotated[int, ctypes.c_uint32], 0]
  resources: Annotated[c.POINTER[CUgraphicsResource], 8]
  hStream: Annotated[CUstream, 16]
cuGraphicsMapResources_params: TypeAlias = struct_cuGraphicsMapResources_params_st
@c.record
class struct_cuGraphicsUnmapResources_params_st(c.Struct):
  SIZE = 24
  count: Annotated[Annotated[int, ctypes.c_uint32], 0]
  resources: Annotated[c.POINTER[CUgraphicsResource], 8]
  hStream: Annotated[CUstream, 16]
cuGraphicsUnmapResources_params: TypeAlias = struct_cuGraphicsUnmapResources_params_st
@c.record
class struct_cuStreamWriteValue32_params_st(c.Struct):
  SIZE = 24
  stream: Annotated[CUstream, 0]
  addr: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint32_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
cuStreamWriteValue32_params: TypeAlias = struct_cuStreamWriteValue32_params_st
@c.record
class struct_cuStreamWaitValue32_params_st(c.Struct):
  SIZE = 24
  stream: Annotated[CUstream, 0]
  addr: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint32_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
cuStreamWaitValue32_params: TypeAlias = struct_cuStreamWaitValue32_params_st
@c.record
class struct_cuStreamWriteValue64_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[CUstream, 0]
  addr: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint64_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuStreamWriteValue64_params: TypeAlias = struct_cuStreamWriteValue64_params_st
@c.record
class struct_cuStreamWaitValue64_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[CUstream, 0]
  addr: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint64_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuStreamWaitValue64_params: TypeAlias = struct_cuStreamWaitValue64_params_st
@c.record
class struct_cuStreamBatchMemOp_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[CUstream, 0]
  count: Annotated[Annotated[int, ctypes.c_uint32], 8]
  paramArray: Annotated[c.POINTER[CUstreamBatchMemOpParams], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuStreamBatchMemOp_params: TypeAlias = struct_cuStreamBatchMemOp_params_st
@c.record
class struct_cuStreamWriteValue32_ptsz_params_st(c.Struct):
  SIZE = 24
  stream: Annotated[CUstream, 0]
  addr: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint32_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
cuStreamWriteValue32_ptsz_params: TypeAlias = struct_cuStreamWriteValue32_ptsz_params_st
@c.record
class struct_cuStreamWaitValue32_ptsz_params_st(c.Struct):
  SIZE = 24
  stream: Annotated[CUstream, 0]
  addr: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint32_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
cuStreamWaitValue32_ptsz_params: TypeAlias = struct_cuStreamWaitValue32_ptsz_params_st
@c.record
class struct_cuStreamWriteValue64_ptsz_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[CUstream, 0]
  addr: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint64_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuStreamWriteValue64_ptsz_params: TypeAlias = struct_cuStreamWriteValue64_ptsz_params_st
@c.record
class struct_cuStreamWaitValue64_ptsz_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[CUstream, 0]
  addr: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint64_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuStreamWaitValue64_ptsz_params: TypeAlias = struct_cuStreamWaitValue64_ptsz_params_st
@c.record
class struct_cuStreamBatchMemOp_ptsz_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[CUstream, 0]
  count: Annotated[Annotated[int, ctypes.c_uint32], 8]
  paramArray: Annotated[c.POINTER[CUstreamBatchMemOpParams], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuStreamBatchMemOp_ptsz_params: TypeAlias = struct_cuStreamBatchMemOp_ptsz_params_st
@c.record
class struct_cuStreamWriteValue32_v2_params_st(c.Struct):
  SIZE = 24
  stream: Annotated[CUstream, 0]
  addr: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint32_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
cuStreamWriteValue32_v2_params: TypeAlias = struct_cuStreamWriteValue32_v2_params_st
@c.record
class struct_cuStreamWaitValue32_v2_params_st(c.Struct):
  SIZE = 24
  stream: Annotated[CUstream, 0]
  addr: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint32_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
cuStreamWaitValue32_v2_params: TypeAlias = struct_cuStreamWaitValue32_v2_params_st
@c.record
class struct_cuStreamWriteValue64_v2_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[CUstream, 0]
  addr: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint64_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuStreamWriteValue64_v2_params: TypeAlias = struct_cuStreamWriteValue64_v2_params_st
@c.record
class struct_cuStreamWaitValue64_v2_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[CUstream, 0]
  addr: Annotated[CUdeviceptr, 8]
  value: Annotated[cuuint64_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuStreamWaitValue64_v2_params: TypeAlias = struct_cuStreamWaitValue64_v2_params_st
@c.record
class struct_cuStreamBatchMemOp_v2_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[CUstream, 0]
  count: Annotated[Annotated[int, ctypes.c_uint32], 8]
  paramArray: Annotated[c.POINTER[CUstreamBatchMemOpParams], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuStreamBatchMemOp_v2_params: TypeAlias = struct_cuStreamBatchMemOp_v2_params_st
@c.record
class struct_cuMemPrefetchAsync_params_st(c.Struct):
  SIZE = 32
  devPtr: Annotated[CUdeviceptr, 0]
  count: Annotated[size_t, 8]
  dstDevice: Annotated[CUdevice, 16]
  hStream: Annotated[CUstream, 24]
cuMemPrefetchAsync_params: TypeAlias = struct_cuMemPrefetchAsync_params_st
@c.record
class struct_cuMemPrefetchAsync_v2_params_st(c.Struct):
  SIZE = 40
  devPtr: Annotated[CUdeviceptr, 0]
  count: Annotated[size_t, 8]
  location: Annotated[CUmemLocation, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
  hStream: Annotated[CUstream, 32]
cuMemPrefetchAsync_v2_params: TypeAlias = struct_cuMemPrefetchAsync_v2_params_st
@c.record
class struct_cuLaunchCooperativeKernel_params_st(c.Struct):
  SIZE = 56
  f: Annotated[CUfunction, 0]
  gridDimX: Annotated[Annotated[int, ctypes.c_uint32], 8]
  gridDimY: Annotated[Annotated[int, ctypes.c_uint32], 12]
  gridDimZ: Annotated[Annotated[int, ctypes.c_uint32], 16]
  blockDimX: Annotated[Annotated[int, ctypes.c_uint32], 20]
  blockDimY: Annotated[Annotated[int, ctypes.c_uint32], 24]
  blockDimZ: Annotated[Annotated[int, ctypes.c_uint32], 28]
  sharedMemBytes: Annotated[Annotated[int, ctypes.c_uint32], 32]
  hStream: Annotated[CUstream, 40]
  kernelParams: Annotated[c.POINTER[ctypes.c_void_p], 48]
cuLaunchCooperativeKernel_params: TypeAlias = struct_cuLaunchCooperativeKernel_params_st
@c.record
class struct_cuSignalExternalSemaphoresAsync_params_st(c.Struct):
  SIZE = 32
  extSemArray: Annotated[c.POINTER[CUexternalSemaphore], 0]
  paramsArray: Annotated[c.POINTER[CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
  stream: Annotated[CUstream, 24]
cuSignalExternalSemaphoresAsync_params: TypeAlias = struct_cuSignalExternalSemaphoresAsync_params_st
@c.record
class struct_cuWaitExternalSemaphoresAsync_params_st(c.Struct):
  SIZE = 32
  extSemArray: Annotated[c.POINTER[CUexternalSemaphore], 0]
  paramsArray: Annotated[c.POINTER[CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
  stream: Annotated[CUstream, 24]
cuWaitExternalSemaphoresAsync_params: TypeAlias = struct_cuWaitExternalSemaphoresAsync_params_st
@c.record
class struct_cuStreamBeginCapture_params_st(c.Struct):
  SIZE = 8
  hStream: Annotated[CUstream, 0]
cuStreamBeginCapture_params: TypeAlias = struct_cuStreamBeginCapture_params_st
@c.record
class struct_cuStreamBeginCapture_ptsz_params_st(c.Struct):
  SIZE = 8
  hStream: Annotated[CUstream, 0]
cuStreamBeginCapture_ptsz_params: TypeAlias = struct_cuStreamBeginCapture_ptsz_params_st
@c.record
class struct_cuStreamBeginCapture_v2_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  mode: Annotated[CUstreamCaptureMode, 8]
cuStreamBeginCapture_v2_params: TypeAlias = struct_cuStreamBeginCapture_v2_params_st
@c.record
class struct_cuStreamBeginCaptureToGraph_params_st(c.Struct):
  SIZE = 48
  hStream: Annotated[CUstream, 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  dependencyData: Annotated[c.POINTER[CUgraphEdgeData], 24]
  numDependencies: Annotated[size_t, 32]
  mode: Annotated[CUstreamCaptureMode, 40]
cuStreamBeginCaptureToGraph_params: TypeAlias = struct_cuStreamBeginCaptureToGraph_params_st
@c.record
class struct_cuStreamEndCapture_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  phGraph: Annotated[c.POINTER[CUgraph], 8]
cuStreamEndCapture_params: TypeAlias = struct_cuStreamEndCapture_params_st
@c.record
class struct_cuStreamIsCapturing_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[CUstream, 0]
  captureStatus: Annotated[c.POINTER[CUstreamCaptureStatus], 8]
cuStreamIsCapturing_params: TypeAlias = struct_cuStreamIsCapturing_params_st
@c.record
class struct_cuStreamGetCaptureInfo_params_st(c.Struct):
  SIZE = 24
  hStream: Annotated[CUstream, 0]
  captureStatus_out: Annotated[c.POINTER[CUstreamCaptureStatus], 8]
  id_out: Annotated[c.POINTER[cuuint64_t], 16]
cuStreamGetCaptureInfo_params: TypeAlias = struct_cuStreamGetCaptureInfo_params_st
@c.record
class struct_cuStreamGetCaptureInfo_ptsz_params_st(c.Struct):
  SIZE = 24
  hStream: Annotated[CUstream, 0]
  captureStatus_out: Annotated[c.POINTER[CUstreamCaptureStatus], 8]
  id_out: Annotated[c.POINTER[cuuint64_t], 16]
cuStreamGetCaptureInfo_ptsz_params: TypeAlias = struct_cuStreamGetCaptureInfo_ptsz_params_st
@c.record
class struct_cuStreamGetCaptureInfo_v2_params_st(c.Struct):
  SIZE = 48
  hStream: Annotated[CUstream, 0]
  captureStatus_out: Annotated[c.POINTER[CUstreamCaptureStatus], 8]
  id_out: Annotated[c.POINTER[cuuint64_t], 16]
  graph_out: Annotated[c.POINTER[CUgraph], 24]
  dependencies_out: Annotated[c.POINTER[c.POINTER[CUgraphNode]], 32]
  numDependencies_out: Annotated[c.POINTER[size_t], 40]
cuStreamGetCaptureInfo_v2_params: TypeAlias = struct_cuStreamGetCaptureInfo_v2_params_st
@c.record
class struct_cuStreamGetCaptureInfo_v3_params_st(c.Struct):
  SIZE = 56
  hStream: Annotated[CUstream, 0]
  captureStatus_out: Annotated[c.POINTER[CUstreamCaptureStatus], 8]
  id_out: Annotated[c.POINTER[cuuint64_t], 16]
  graph_out: Annotated[c.POINTER[CUgraph], 24]
  dependencies_out: Annotated[c.POINTER[c.POINTER[CUgraphNode]], 32]
  edgeData_out: Annotated[c.POINTER[c.POINTER[CUgraphEdgeData]], 40]
  numDependencies_out: Annotated[c.POINTER[size_t], 48]
cuStreamGetCaptureInfo_v3_params: TypeAlias = struct_cuStreamGetCaptureInfo_v3_params_st
@c.record
class struct_cuGraphAddKernelNode_params_st(c.Struct):
  SIZE = 40
  phGraphNode: Annotated[c.POINTER[CUgraphNode], 0]
  hGraph: Annotated[CUgraph, 8]
  dependencies: Annotated[c.POINTER[CUgraphNode], 16]
  numDependencies: Annotated[size_t, 24]
  nodeParams: Annotated[c.POINTER[CUDA_KERNEL_NODE_PARAMS_v1], 32]
@c.record
class struct_CUDA_KERNEL_NODE_PARAMS_st(c.Struct):
  SIZE = 56
  func: Annotated[CUfunction, 0]
  gridDimX: Annotated[Annotated[int, ctypes.c_uint32], 8]
  gridDimY: Annotated[Annotated[int, ctypes.c_uint32], 12]
  gridDimZ: Annotated[Annotated[int, ctypes.c_uint32], 16]
  blockDimX: Annotated[Annotated[int, ctypes.c_uint32], 20]
  blockDimY: Annotated[Annotated[int, ctypes.c_uint32], 24]
  blockDimZ: Annotated[Annotated[int, ctypes.c_uint32], 28]
  sharedMemBytes: Annotated[Annotated[int, ctypes.c_uint32], 32]
  kernelParams: Annotated[c.POINTER[ctypes.c_void_p], 40]
  extra: Annotated[c.POINTER[ctypes.c_void_p], 48]
CUDA_KERNEL_NODE_PARAMS_v1: TypeAlias = struct_CUDA_KERNEL_NODE_PARAMS_st
cuGraphAddKernelNode_params: TypeAlias = struct_cuGraphAddKernelNode_params_st
@c.record
class struct_cuGraphKernelNodeGetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  nodeParams: Annotated[c.POINTER[CUDA_KERNEL_NODE_PARAMS_v1], 8]
cuGraphKernelNodeGetParams_params: TypeAlias = struct_cuGraphKernelNodeGetParams_params_st
@c.record
class struct_cuGraphKernelNodeSetParams_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[CUgraphNode, 0]
  nodeParams: Annotated[c.POINTER[CUDA_KERNEL_NODE_PARAMS_v1], 8]
cuGraphKernelNodeSetParams_params: TypeAlias = struct_cuGraphKernelNodeSetParams_params_st
@c.record
class struct_cuGraphExecKernelNodeSetParams_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[CUgraphExec, 0]
  hNode: Annotated[CUgraphNode, 8]
  nodeParams: Annotated[c.POINTER[CUDA_KERNEL_NODE_PARAMS_v1], 16]
cuGraphExecKernelNodeSetParams_params: TypeAlias = struct_cuGraphExecKernelNodeSetParams_params_st
@c.record
class struct_cuGraphInstantiateWithParams_params_st(c.Struct):
  SIZE = 24
  phGraphExec: Annotated[c.POINTER[CUgraphExec], 0]
  hGraph: Annotated[CUgraph, 8]
  instantiateParams: Annotated[c.POINTER[CUDA_GRAPH_INSTANTIATE_PARAMS], 16]
cuGraphInstantiateWithParams_params: TypeAlias = struct_cuGraphInstantiateWithParams_params_st
@c.record
class struct_cuGraphExecUpdate_params_st(c.Struct):
  SIZE = 32
  hGraphExec: Annotated[CUgraphExec, 0]
  hGraph: Annotated[CUgraph, 8]
  hErrorNode_out: Annotated[c.POINTER[CUgraphNode], 16]
  updateResult_out: Annotated[c.POINTER[CUgraphExecUpdateResult], 24]
cuGraphExecUpdate_params: TypeAlias = struct_cuGraphExecUpdate_params_st
@c.record
class struct_cuGraphUpload_params_st(c.Struct):
  SIZE = 16
  hGraph: Annotated[CUgraphExec, 0]
  hStream: Annotated[CUstream, 8]
cuGraphUpload_params: TypeAlias = struct_cuGraphUpload_params_st
@c.record
class struct_cuGraphLaunch_params_st(c.Struct):
  SIZE = 16
  hGraph: Annotated[CUgraphExec, 0]
  hStream: Annotated[CUstream, 8]
cuGraphLaunch_params: TypeAlias = struct_cuGraphLaunch_params_st
@c.record
class struct_cuStreamCopyAttributes_params_st(c.Struct):
  SIZE = 16
  dstStream: Annotated[CUstream, 0]
  srcStream: Annotated[CUstream, 8]
cuStreamCopyAttributes_params: TypeAlias = struct_cuStreamCopyAttributes_params_st
@c.record
class struct_cuStreamGetAttribute_params_st(c.Struct):
  SIZE = 24
  hStream: Annotated[CUstream, 0]
  attr: Annotated[CUstreamAttrID, 8]
  value: Annotated[c.POINTER[CUstreamAttrValue], 16]
cuStreamGetAttribute_params: TypeAlias = struct_cuStreamGetAttribute_params_st
@c.record
class struct_cuStreamSetAttribute_params_st(c.Struct):
  SIZE = 24
  hStream: Annotated[CUstream, 0]
  attr: Annotated[CUstreamAttrID, 8]
  param: Annotated[c.POINTER[CUstreamAttrValue], 16]
cuStreamSetAttribute_params: TypeAlias = struct_cuStreamSetAttribute_params_st
@c.record
class struct_cuIpcOpenMemHandle_params_st(c.Struct):
  SIZE = 80
  pdptr: Annotated[c.POINTER[CUdeviceptr], 0]
  handle: Annotated[CUipcMemHandle, 8]
  Flags: Annotated[Annotated[int, ctypes.c_uint32], 72]
cuIpcOpenMemHandle_params: TypeAlias = struct_cuIpcOpenMemHandle_params_st
@c.record
class struct_cuGraphInstantiate_params_st(c.Struct):
  SIZE = 40
  phGraphExec: Annotated[c.POINTER[CUgraphExec], 0]
  hGraph: Annotated[CUgraph, 8]
  phErrorNode: Annotated[c.POINTER[CUgraphNode], 16]
  logBuffer: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 24]
  bufferSize: Annotated[size_t, 32]
cuGraphInstantiate_params: TypeAlias = struct_cuGraphInstantiate_params_st
@c.record
class struct_cuGraphInstantiate_v2_params_st(c.Struct):
  SIZE = 40
  phGraphExec: Annotated[c.POINTER[CUgraphExec], 0]
  hGraph: Annotated[CUgraph, 8]
  phErrorNode: Annotated[c.POINTER[CUgraphNode], 16]
  logBuffer: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 24]
  bufferSize: Annotated[size_t, 32]
cuGraphInstantiate_v2_params: TypeAlias = struct_cuGraphInstantiate_v2_params_st
@c.record
class struct_cuMemMapArrayAsync_params_st(c.Struct):
  SIZE = 24
  mapInfoList: Annotated[c.POINTER[CUarrayMapInfo], 0]
  count: Annotated[Annotated[int, ctypes.c_uint32], 8]
  hStream: Annotated[CUstream, 16]
cuMemMapArrayAsync_params: TypeAlias = struct_cuMemMapArrayAsync_params_st
@c.record
class struct_cuMemFreeAsync_params_st(c.Struct):
  SIZE = 16
  dptr: Annotated[CUdeviceptr, 0]
  hStream: Annotated[CUstream, 8]
cuMemFreeAsync_params: TypeAlias = struct_cuMemFreeAsync_params_st
@c.record
class struct_cuMemAllocAsync_params_st(c.Struct):
  SIZE = 24
  dptr: Annotated[c.POINTER[CUdeviceptr], 0]
  bytesize: Annotated[size_t, 8]
  hStream: Annotated[CUstream, 16]
cuMemAllocAsync_params: TypeAlias = struct_cuMemAllocAsync_params_st
@c.record
class struct_cuMemAllocFromPoolAsync_params_st(c.Struct):
  SIZE = 32
  dptr: Annotated[c.POINTER[CUdeviceptr], 0]
  bytesize: Annotated[size_t, 8]
  pool: Annotated[CUmemoryPool, 16]
  hStream: Annotated[CUstream, 24]
cuMemAllocFromPoolAsync_params: TypeAlias = struct_cuMemAllocFromPoolAsync_params_st
@c.record
class struct_cuStreamUpdateCaptureDependencies_params_st(c.Struct):
  SIZE = 32
  hStream: Annotated[CUstream, 0]
  dependencies: Annotated[c.POINTER[CUgraphNode], 8]
  numDependencies: Annotated[size_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cuStreamUpdateCaptureDependencies_params: TypeAlias = struct_cuStreamUpdateCaptureDependencies_params_st
@c.record
class struct_cuStreamUpdateCaptureDependencies_v2_params_st(c.Struct):
  SIZE = 40
  hStream: Annotated[CUstream, 0]
  dependencies: Annotated[c.POINTER[CUgraphNode], 8]
  dependencyData: Annotated[c.POINTER[CUgraphEdgeData], 16]
  numDependencies: Annotated[size_t, 24]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 32]
cuStreamUpdateCaptureDependencies_v2_params: TypeAlias = struct_cuStreamUpdateCaptureDependencies_v2_params_st
@c.record
class struct_cuMemBatchDecompressAsync_params_st(c.Struct):
  SIZE = 40
  paramsArray: Annotated[c.POINTER[CUmemDecompressParams], 0]
  count: Annotated[size_t, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
  errorIndex: Annotated[c.POINTER[size_t], 24]
  stream: Annotated[CUstream, 32]
cuMemBatchDecompressAsync_params: TypeAlias = struct_cuMemBatchDecompressAsync_params_st
@c.record
class struct_cuGetProcAddress_params_st(c.Struct):
  SIZE = 32
  symbol: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 0]
  pfn: Annotated[c.POINTER[ctypes.c_void_p], 8]
  cudaVersion: Annotated[Annotated[int, ctypes.c_int32], 16]
  flags: Annotated[cuuint64_t, 24]
cuGetProcAddress_params: TypeAlias = struct_cuGetProcAddress_params_st
@c.record
class struct_cuCheckpointProcessGetRestoreThreadId_params_st(c.Struct):
  SIZE = 16
  pid: Annotated[Annotated[int, ctypes.c_int32], 0]
  tid: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 8]
cuCheckpointProcessGetRestoreThreadId_params: TypeAlias = struct_cuCheckpointProcessGetRestoreThreadId_params_st
@c.record
class struct_cuCheckpointProcessGetState_params_st(c.Struct):
  SIZE = 16
  pid: Annotated[Annotated[int, ctypes.c_int32], 0]
  state: Annotated[c.POINTER[CUprocessState], 8]
class enum_CUprocessState_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
CU_PROCESS_STATE_RUNNING = enum_CUprocessState_enum.define('CU_PROCESS_STATE_RUNNING', 0)
CU_PROCESS_STATE_LOCKED = enum_CUprocessState_enum.define('CU_PROCESS_STATE_LOCKED', 1)
CU_PROCESS_STATE_CHECKPOINTED = enum_CUprocessState_enum.define('CU_PROCESS_STATE_CHECKPOINTED', 2)
CU_PROCESS_STATE_FAILED = enum_CUprocessState_enum.define('CU_PROCESS_STATE_FAILED', 3)

CUprocessState: TypeAlias = enum_CUprocessState_enum
cuCheckpointProcessGetState_params: TypeAlias = struct_cuCheckpointProcessGetState_params_st
@c.record
class struct_cuCheckpointProcessLock_params_st(c.Struct):
  SIZE = 16
  pid: Annotated[Annotated[int, ctypes.c_int32], 0]
  args: Annotated[c.POINTER[CUcheckpointLockArgs], 8]
@c.record
class struct_CUcheckpointLockArgs_st(c.Struct):
  SIZE = 64
  timeoutMs: Annotated[Annotated[int, ctypes.c_uint32], 0]
  reserved0: Annotated[Annotated[int, ctypes.c_uint32], 4]
  reserved1: Annotated[c.Array[cuuint64_t, Literal[7]], 8]
CUcheckpointLockArgs: TypeAlias = struct_CUcheckpointLockArgs_st
cuCheckpointProcessLock_params: TypeAlias = struct_cuCheckpointProcessLock_params_st
@c.record
class struct_cuCheckpointProcessCheckpoint_params_st(c.Struct):
  SIZE = 16
  pid: Annotated[Annotated[int, ctypes.c_int32], 0]
  args: Annotated[c.POINTER[CUcheckpointCheckpointArgs], 8]
@c.record
class struct_CUcheckpointCheckpointArgs_st(c.Struct):
  SIZE = 64
  reserved: Annotated[c.Array[cuuint64_t, Literal[8]], 0]
CUcheckpointCheckpointArgs: TypeAlias = struct_CUcheckpointCheckpointArgs_st
cuCheckpointProcessCheckpoint_params: TypeAlias = struct_cuCheckpointProcessCheckpoint_params_st
@c.record
class struct_cuCheckpointProcessRestore_params_st(c.Struct):
  SIZE = 16
  pid: Annotated[Annotated[int, ctypes.c_int32], 0]
  args: Annotated[c.POINTER[CUcheckpointRestoreArgs], 8]
@c.record
class struct_CUcheckpointRestoreArgs_st(c.Struct):
  SIZE = 64
  reserved: Annotated[c.Array[cuuint64_t, Literal[8]], 0]
CUcheckpointRestoreArgs: TypeAlias = struct_CUcheckpointRestoreArgs_st
cuCheckpointProcessRestore_params: TypeAlias = struct_cuCheckpointProcessRestore_params_st
@c.record
class struct_cuCheckpointProcessUnlock_params_st(c.Struct):
  SIZE = 16
  pid: Annotated[Annotated[int, ctypes.c_int32], 0]
  args: Annotated[c.POINTER[CUcheckpointUnlockArgs], 8]
@c.record
class struct_CUcheckpointUnlockArgs_st(c.Struct):
  SIZE = 64
  reserved: Annotated[c.Array[cuuint64_t, Literal[8]], 0]
CUcheckpointUnlockArgs: TypeAlias = struct_CUcheckpointUnlockArgs_st
cuCheckpointProcessUnlock_params: TypeAlias = struct_cuCheckpointProcessUnlock_params_st
@c.record
class struct_cudaDeviceSetLimit_v3020_params_st(c.Struct):
  SIZE = 16
  limit: Annotated[enum_cudaLimit, 0]
  value: Annotated[size_t, 8]
class enum_cudaLimit(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaLimitStackSize = enum_cudaLimit.define('cudaLimitStackSize', 0)
cudaLimitPrintfFifoSize = enum_cudaLimit.define('cudaLimitPrintfFifoSize', 1)
cudaLimitMallocHeapSize = enum_cudaLimit.define('cudaLimitMallocHeapSize', 2)
cudaLimitDevRuntimeSyncDepth = enum_cudaLimit.define('cudaLimitDevRuntimeSyncDepth', 3)
cudaLimitDevRuntimePendingLaunchCount = enum_cudaLimit.define('cudaLimitDevRuntimePendingLaunchCount', 4)
cudaLimitMaxL2FetchGranularity = enum_cudaLimit.define('cudaLimitMaxL2FetchGranularity', 5)
cudaLimitPersistingL2CacheSize = enum_cudaLimit.define('cudaLimitPersistingL2CacheSize', 6)

cudaDeviceSetLimit_v3020_params: TypeAlias = struct_cudaDeviceSetLimit_v3020_params_st
@c.record
class struct_cudaDeviceGetLimit_v3020_params_st(c.Struct):
  SIZE = 16
  pValue: Annotated[c.POINTER[size_t], 0]
  limit: Annotated[enum_cudaLimit, 8]
cudaDeviceGetLimit_v3020_params: TypeAlias = struct_cudaDeviceGetLimit_v3020_params_st
@c.record
class struct_cudaDeviceGetTexture1DLinearMaxWidth_v11010_params_st(c.Struct):
  SIZE = 24
  maxWidthInElements: Annotated[c.POINTER[size_t], 0]
  fmtDesc: Annotated[c.POINTER[struct_cudaChannelFormatDesc], 8]
  device: Annotated[Annotated[int, ctypes.c_int32], 16]
@c.record
class struct_cudaChannelFormatDesc(c.Struct):
  SIZE = 20
  x: Annotated[Annotated[int, ctypes.c_int32], 0]
  y: Annotated[Annotated[int, ctypes.c_int32], 4]
  z: Annotated[Annotated[int, ctypes.c_int32], 8]
  w: Annotated[Annotated[int, ctypes.c_int32], 12]
  f: Annotated[enum_cudaChannelFormatKind, 16]
class enum_cudaChannelFormatKind(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaChannelFormatKindSigned = enum_cudaChannelFormatKind.define('cudaChannelFormatKindSigned', 0)
cudaChannelFormatKindUnsigned = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsigned', 1)
cudaChannelFormatKindFloat = enum_cudaChannelFormatKind.define('cudaChannelFormatKindFloat', 2)
cudaChannelFormatKindNone = enum_cudaChannelFormatKind.define('cudaChannelFormatKindNone', 3)
cudaChannelFormatKindNV12 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindNV12', 4)
cudaChannelFormatKindUnsignedNormalized8X1 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedNormalized8X1', 5)
cudaChannelFormatKindUnsignedNormalized8X2 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedNormalized8X2', 6)
cudaChannelFormatKindUnsignedNormalized8X4 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedNormalized8X4', 7)
cudaChannelFormatKindUnsignedNormalized16X1 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedNormalized16X1', 8)
cudaChannelFormatKindUnsignedNormalized16X2 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedNormalized16X2', 9)
cudaChannelFormatKindUnsignedNormalized16X4 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedNormalized16X4', 10)
cudaChannelFormatKindSignedNormalized8X1 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindSignedNormalized8X1', 11)
cudaChannelFormatKindSignedNormalized8X2 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindSignedNormalized8X2', 12)
cudaChannelFormatKindSignedNormalized8X4 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindSignedNormalized8X4', 13)
cudaChannelFormatKindSignedNormalized16X1 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindSignedNormalized16X1', 14)
cudaChannelFormatKindSignedNormalized16X2 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindSignedNormalized16X2', 15)
cudaChannelFormatKindSignedNormalized16X4 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindSignedNormalized16X4', 16)
cudaChannelFormatKindUnsignedBlockCompressed1 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedBlockCompressed1', 17)
cudaChannelFormatKindUnsignedBlockCompressed1SRGB = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedBlockCompressed1SRGB', 18)
cudaChannelFormatKindUnsignedBlockCompressed2 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedBlockCompressed2', 19)
cudaChannelFormatKindUnsignedBlockCompressed2SRGB = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedBlockCompressed2SRGB', 20)
cudaChannelFormatKindUnsignedBlockCompressed3 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedBlockCompressed3', 21)
cudaChannelFormatKindUnsignedBlockCompressed3SRGB = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedBlockCompressed3SRGB', 22)
cudaChannelFormatKindUnsignedBlockCompressed4 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedBlockCompressed4', 23)
cudaChannelFormatKindSignedBlockCompressed4 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindSignedBlockCompressed4', 24)
cudaChannelFormatKindUnsignedBlockCompressed5 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedBlockCompressed5', 25)
cudaChannelFormatKindSignedBlockCompressed5 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindSignedBlockCompressed5', 26)
cudaChannelFormatKindUnsignedBlockCompressed6H = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedBlockCompressed6H', 27)
cudaChannelFormatKindSignedBlockCompressed6H = enum_cudaChannelFormatKind.define('cudaChannelFormatKindSignedBlockCompressed6H', 28)
cudaChannelFormatKindUnsignedBlockCompressed7 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedBlockCompressed7', 29)
cudaChannelFormatKindUnsignedBlockCompressed7SRGB = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedBlockCompressed7SRGB', 30)
cudaChannelFormatKindUnsignedNormalized1010102 = enum_cudaChannelFormatKind.define('cudaChannelFormatKindUnsignedNormalized1010102', 31)

cudaDeviceGetTexture1DLinearMaxWidth_v11010_params: TypeAlias = struct_cudaDeviceGetTexture1DLinearMaxWidth_v11010_params_st
@c.record
class struct_cudaDeviceGetCacheConfig_v3020_params_st(c.Struct):
  SIZE = 8
  pCacheConfig: Annotated[c.POINTER[enum_cudaFuncCache], 0]
class enum_cudaFuncCache(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaFuncCachePreferNone = enum_cudaFuncCache.define('cudaFuncCachePreferNone', 0)
cudaFuncCachePreferShared = enum_cudaFuncCache.define('cudaFuncCachePreferShared', 1)
cudaFuncCachePreferL1 = enum_cudaFuncCache.define('cudaFuncCachePreferL1', 2)
cudaFuncCachePreferEqual = enum_cudaFuncCache.define('cudaFuncCachePreferEqual', 3)

cudaDeviceGetCacheConfig_v3020_params: TypeAlias = struct_cudaDeviceGetCacheConfig_v3020_params_st
@c.record
class struct_cudaDeviceGetStreamPriorityRange_v5050_params_st(c.Struct):
  SIZE = 16
  leastPriority: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  greatestPriority: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 8]
cudaDeviceGetStreamPriorityRange_v5050_params: TypeAlias = struct_cudaDeviceGetStreamPriorityRange_v5050_params_st
@c.record
class struct_cudaDeviceSetCacheConfig_v3020_params_st(c.Struct):
  SIZE = 4
  cacheConfig: Annotated[enum_cudaFuncCache, 0]
cudaDeviceSetCacheConfig_v3020_params: TypeAlias = struct_cudaDeviceSetCacheConfig_v3020_params_st
@c.record
class struct_cudaDeviceGetByPCIBusId_v4010_params_st(c.Struct):
  SIZE = 16
  device: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  pciBusId: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 8]
cudaDeviceGetByPCIBusId_v4010_params: TypeAlias = struct_cudaDeviceGetByPCIBusId_v4010_params_st
@c.record
class struct_cudaDeviceGetPCIBusId_v4010_params_st(c.Struct):
  SIZE = 16
  pciBusId: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 0]
  len: Annotated[Annotated[int, ctypes.c_int32], 8]
  device: Annotated[Annotated[int, ctypes.c_int32], 12]
cudaDeviceGetPCIBusId_v4010_params: TypeAlias = struct_cudaDeviceGetPCIBusId_v4010_params_st
@c.record
class struct_cudaIpcGetEventHandle_v4010_params_st(c.Struct):
  SIZE = 16
  handle: Annotated[c.POINTER[cudaIpcEventHandle_t], 0]
  event: Annotated[cudaEvent_t, 8]
@c.record
class struct_cudaIpcEventHandle_st(c.Struct):
  SIZE = 64
  reserved: Annotated[c.Array[Annotated[bytes, ctypes.c_char], Literal[64]], 0]
cudaIpcEventHandle_t: TypeAlias = struct_cudaIpcEventHandle_st
cudaEvent_t: TypeAlias = c.POINTER[struct_CUevent_st]
cudaIpcGetEventHandle_v4010_params: TypeAlias = struct_cudaIpcGetEventHandle_v4010_params_st
@c.record
class struct_cudaIpcOpenEventHandle_v4010_params_st(c.Struct):
  SIZE = 72
  event: Annotated[c.POINTER[cudaEvent_t], 0]
  handle: Annotated[cudaIpcEventHandle_t, 8]
cudaIpcOpenEventHandle_v4010_params: TypeAlias = struct_cudaIpcOpenEventHandle_v4010_params_st
@c.record
class struct_cudaIpcGetMemHandle_v4010_params_st(c.Struct):
  SIZE = 16
  handle: Annotated[c.POINTER[cudaIpcMemHandle_t], 0]
  devPtr: Annotated[ctypes.c_void_p, 8]
@c.record
class struct_cudaIpcMemHandle_st(c.Struct):
  SIZE = 64
  reserved: Annotated[c.Array[Annotated[bytes, ctypes.c_char], Literal[64]], 0]
cudaIpcMemHandle_t: TypeAlias = struct_cudaIpcMemHandle_st
cudaIpcGetMemHandle_v4010_params: TypeAlias = struct_cudaIpcGetMemHandle_v4010_params_st
@c.record
class struct_cudaIpcOpenMemHandle_v4010_params_st(c.Struct):
  SIZE = 80
  devPtr: Annotated[c.POINTER[ctypes.c_void_p], 0]
  handle: Annotated[cudaIpcMemHandle_t, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 72]
cudaIpcOpenMemHandle_v4010_params: TypeAlias = struct_cudaIpcOpenMemHandle_v4010_params_st
@c.record
class struct_cudaIpcCloseMemHandle_v4010_params_st(c.Struct):
  SIZE = 8
  devPtr: Annotated[ctypes.c_void_p, 0]
cudaIpcCloseMemHandle_v4010_params: TypeAlias = struct_cudaIpcCloseMemHandle_v4010_params_st
@c.record
class struct_cudaDeviceFlushGPUDirectRDMAWrites_v11030_params_st(c.Struct):
  SIZE = 8
  target: Annotated[enum_cudaFlushGPUDirectRDMAWritesTarget, 0]
  scope: Annotated[enum_cudaFlushGPUDirectRDMAWritesScope, 4]
class enum_cudaFlushGPUDirectRDMAWritesTarget(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaFlushGPUDirectRDMAWritesTargetCurrentDevice = enum_cudaFlushGPUDirectRDMAWritesTarget.define('cudaFlushGPUDirectRDMAWritesTargetCurrentDevice', 0)

class enum_cudaFlushGPUDirectRDMAWritesScope(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaFlushGPUDirectRDMAWritesToOwner = enum_cudaFlushGPUDirectRDMAWritesScope.define('cudaFlushGPUDirectRDMAWritesToOwner', 100)
cudaFlushGPUDirectRDMAWritesToAllDevices = enum_cudaFlushGPUDirectRDMAWritesScope.define('cudaFlushGPUDirectRDMAWritesToAllDevices', 200)

cudaDeviceFlushGPUDirectRDMAWrites_v11030_params: TypeAlias = struct_cudaDeviceFlushGPUDirectRDMAWrites_v11030_params_st
@c.record
class struct_cudaDeviceRegisterAsyncNotification_v12040_params_st(c.Struct):
  SIZE = 32
  device: Annotated[Annotated[int, ctypes.c_int32], 0]
  callbackFunc: Annotated[cudaAsyncCallback, 8]
  userData: Annotated[ctypes.c_void_p, 16]
  callback: Annotated[c.POINTER[cudaAsyncCallbackHandle_t], 24]
@c.record
class struct_cudaAsyncNotificationInfo(c.Struct):
  SIZE = 16
  type: Annotated[cudaAsyncNotificationType, 0]
  info: Annotated[struct_cudaAsyncNotificationInfo_info, 8]
class enum_cudaAsyncNotificationType_enum(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaAsyncNotificationTypeOverBudget = enum_cudaAsyncNotificationType_enum.define('cudaAsyncNotificationTypeOverBudget', 1)

cudaAsyncNotificationType: TypeAlias = enum_cudaAsyncNotificationType_enum
@c.record
class struct_cudaAsyncNotificationInfo_info(c.Struct):
  SIZE = 8
  overBudget: Annotated[struct_cudaAsyncNotificationInfo_info_overBudget, 0]
@c.record
class struct_cudaAsyncNotificationInfo_info_overBudget(c.Struct):
  SIZE = 8
  bytesOverBudget: Annotated[Annotated[int, ctypes.c_uint64], 0]
class struct_cudaAsyncCallbackEntry(ctypes.Structure): pass
cudaAsyncCallback: TypeAlias = c.CFUNCTYPE[None, [c.POINTER[struct_cudaAsyncNotificationInfo], ctypes.c_void_p, c.POINTER[struct_cudaAsyncCallbackEntry]]]
cudaAsyncCallbackHandle_t: TypeAlias = c.POINTER[struct_cudaAsyncCallbackEntry]
cudaDeviceRegisterAsyncNotification_v12040_params: TypeAlias = struct_cudaDeviceRegisterAsyncNotification_v12040_params_st
@c.record
class struct_cudaDeviceUnregisterAsyncNotification_v12040_params_st(c.Struct):
  SIZE = 16
  device: Annotated[Annotated[int, ctypes.c_int32], 0]
  callback: Annotated[cudaAsyncCallbackHandle_t, 8]
cudaDeviceUnregisterAsyncNotification_v12040_params: TypeAlias = struct_cudaDeviceUnregisterAsyncNotification_v12040_params_st
@c.record
class struct_cudaDeviceGetSharedMemConfig_v4020_params_st(c.Struct):
  SIZE = 8
  pConfig: Annotated[c.POINTER[enum_cudaSharedMemConfig], 0]
class enum_cudaSharedMemConfig(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaSharedMemBankSizeDefault = enum_cudaSharedMemConfig.define('cudaSharedMemBankSizeDefault', 0)
cudaSharedMemBankSizeFourByte = enum_cudaSharedMemConfig.define('cudaSharedMemBankSizeFourByte', 1)
cudaSharedMemBankSizeEightByte = enum_cudaSharedMemConfig.define('cudaSharedMemBankSizeEightByte', 2)

cudaDeviceGetSharedMemConfig_v4020_params: TypeAlias = struct_cudaDeviceGetSharedMemConfig_v4020_params_st
@c.record
class struct_cudaDeviceSetSharedMemConfig_v4020_params_st(c.Struct):
  SIZE = 4
  config: Annotated[enum_cudaSharedMemConfig, 0]
cudaDeviceSetSharedMemConfig_v4020_params: TypeAlias = struct_cudaDeviceSetSharedMemConfig_v4020_params_st
@c.record
class struct_cudaGetErrorName_v6050_params_st(c.Struct):
  SIZE = 4
  error: Annotated[cudaError_t, 0]
class enum_cudaError(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaSuccess = enum_cudaError.define('cudaSuccess', 0)
cudaErrorInvalidValue = enum_cudaError.define('cudaErrorInvalidValue', 1)
cudaErrorMemoryAllocation = enum_cudaError.define('cudaErrorMemoryAllocation', 2)
cudaErrorInitializationError = enum_cudaError.define('cudaErrorInitializationError', 3)
cudaErrorCudartUnloading = enum_cudaError.define('cudaErrorCudartUnloading', 4)
cudaErrorProfilerDisabled = enum_cudaError.define('cudaErrorProfilerDisabled', 5)
cudaErrorProfilerNotInitialized = enum_cudaError.define('cudaErrorProfilerNotInitialized', 6)
cudaErrorProfilerAlreadyStarted = enum_cudaError.define('cudaErrorProfilerAlreadyStarted', 7)
cudaErrorProfilerAlreadyStopped = enum_cudaError.define('cudaErrorProfilerAlreadyStopped', 8)
cudaErrorInvalidConfiguration = enum_cudaError.define('cudaErrorInvalidConfiguration', 9)
cudaErrorInvalidPitchValue = enum_cudaError.define('cudaErrorInvalidPitchValue', 12)
cudaErrorInvalidSymbol = enum_cudaError.define('cudaErrorInvalidSymbol', 13)
cudaErrorInvalidHostPointer = enum_cudaError.define('cudaErrorInvalidHostPointer', 16)
cudaErrorInvalidDevicePointer = enum_cudaError.define('cudaErrorInvalidDevicePointer', 17)
cudaErrorInvalidTexture = enum_cudaError.define('cudaErrorInvalidTexture', 18)
cudaErrorInvalidTextureBinding = enum_cudaError.define('cudaErrorInvalidTextureBinding', 19)
cudaErrorInvalidChannelDescriptor = enum_cudaError.define('cudaErrorInvalidChannelDescriptor', 20)
cudaErrorInvalidMemcpyDirection = enum_cudaError.define('cudaErrorInvalidMemcpyDirection', 21)
cudaErrorAddressOfConstant = enum_cudaError.define('cudaErrorAddressOfConstant', 22)
cudaErrorTextureFetchFailed = enum_cudaError.define('cudaErrorTextureFetchFailed', 23)
cudaErrorTextureNotBound = enum_cudaError.define('cudaErrorTextureNotBound', 24)
cudaErrorSynchronizationError = enum_cudaError.define('cudaErrorSynchronizationError', 25)
cudaErrorInvalidFilterSetting = enum_cudaError.define('cudaErrorInvalidFilterSetting', 26)
cudaErrorInvalidNormSetting = enum_cudaError.define('cudaErrorInvalidNormSetting', 27)
cudaErrorMixedDeviceExecution = enum_cudaError.define('cudaErrorMixedDeviceExecution', 28)
cudaErrorNotYetImplemented = enum_cudaError.define('cudaErrorNotYetImplemented', 31)
cudaErrorMemoryValueTooLarge = enum_cudaError.define('cudaErrorMemoryValueTooLarge', 32)
cudaErrorStubLibrary = enum_cudaError.define('cudaErrorStubLibrary', 34)
cudaErrorInsufficientDriver = enum_cudaError.define('cudaErrorInsufficientDriver', 35)
cudaErrorCallRequiresNewerDriver = enum_cudaError.define('cudaErrorCallRequiresNewerDriver', 36)
cudaErrorInvalidSurface = enum_cudaError.define('cudaErrorInvalidSurface', 37)
cudaErrorDuplicateVariableName = enum_cudaError.define('cudaErrorDuplicateVariableName', 43)
cudaErrorDuplicateTextureName = enum_cudaError.define('cudaErrorDuplicateTextureName', 44)
cudaErrorDuplicateSurfaceName = enum_cudaError.define('cudaErrorDuplicateSurfaceName', 45)
cudaErrorDevicesUnavailable = enum_cudaError.define('cudaErrorDevicesUnavailable', 46)
cudaErrorIncompatibleDriverContext = enum_cudaError.define('cudaErrorIncompatibleDriverContext', 49)
cudaErrorMissingConfiguration = enum_cudaError.define('cudaErrorMissingConfiguration', 52)
cudaErrorPriorLaunchFailure = enum_cudaError.define('cudaErrorPriorLaunchFailure', 53)
cudaErrorLaunchMaxDepthExceeded = enum_cudaError.define('cudaErrorLaunchMaxDepthExceeded', 65)
cudaErrorLaunchFileScopedTex = enum_cudaError.define('cudaErrorLaunchFileScopedTex', 66)
cudaErrorLaunchFileScopedSurf = enum_cudaError.define('cudaErrorLaunchFileScopedSurf', 67)
cudaErrorSyncDepthExceeded = enum_cudaError.define('cudaErrorSyncDepthExceeded', 68)
cudaErrorLaunchPendingCountExceeded = enum_cudaError.define('cudaErrorLaunchPendingCountExceeded', 69)
cudaErrorInvalidDeviceFunction = enum_cudaError.define('cudaErrorInvalidDeviceFunction', 98)
cudaErrorNoDevice = enum_cudaError.define('cudaErrorNoDevice', 100)
cudaErrorInvalidDevice = enum_cudaError.define('cudaErrorInvalidDevice', 101)
cudaErrorDeviceNotLicensed = enum_cudaError.define('cudaErrorDeviceNotLicensed', 102)
cudaErrorSoftwareValidityNotEstablished = enum_cudaError.define('cudaErrorSoftwareValidityNotEstablished', 103)
cudaErrorStartupFailure = enum_cudaError.define('cudaErrorStartupFailure', 127)
cudaErrorInvalidKernelImage = enum_cudaError.define('cudaErrorInvalidKernelImage', 200)
cudaErrorDeviceUninitialized = enum_cudaError.define('cudaErrorDeviceUninitialized', 201)
cudaErrorMapBufferObjectFailed = enum_cudaError.define('cudaErrorMapBufferObjectFailed', 205)
cudaErrorUnmapBufferObjectFailed = enum_cudaError.define('cudaErrorUnmapBufferObjectFailed', 206)
cudaErrorArrayIsMapped = enum_cudaError.define('cudaErrorArrayIsMapped', 207)
cudaErrorAlreadyMapped = enum_cudaError.define('cudaErrorAlreadyMapped', 208)
cudaErrorNoKernelImageForDevice = enum_cudaError.define('cudaErrorNoKernelImageForDevice', 209)
cudaErrorAlreadyAcquired = enum_cudaError.define('cudaErrorAlreadyAcquired', 210)
cudaErrorNotMapped = enum_cudaError.define('cudaErrorNotMapped', 211)
cudaErrorNotMappedAsArray = enum_cudaError.define('cudaErrorNotMappedAsArray', 212)
cudaErrorNotMappedAsPointer = enum_cudaError.define('cudaErrorNotMappedAsPointer', 213)
cudaErrorECCUncorrectable = enum_cudaError.define('cudaErrorECCUncorrectable', 214)
cudaErrorUnsupportedLimit = enum_cudaError.define('cudaErrorUnsupportedLimit', 215)
cudaErrorDeviceAlreadyInUse = enum_cudaError.define('cudaErrorDeviceAlreadyInUse', 216)
cudaErrorPeerAccessUnsupported = enum_cudaError.define('cudaErrorPeerAccessUnsupported', 217)
cudaErrorInvalidPtx = enum_cudaError.define('cudaErrorInvalidPtx', 218)
cudaErrorInvalidGraphicsContext = enum_cudaError.define('cudaErrorInvalidGraphicsContext', 219)
cudaErrorNvlinkUncorrectable = enum_cudaError.define('cudaErrorNvlinkUncorrectable', 220)
cudaErrorJitCompilerNotFound = enum_cudaError.define('cudaErrorJitCompilerNotFound', 221)
cudaErrorUnsupportedPtxVersion = enum_cudaError.define('cudaErrorUnsupportedPtxVersion', 222)
cudaErrorJitCompilationDisabled = enum_cudaError.define('cudaErrorJitCompilationDisabled', 223)
cudaErrorUnsupportedExecAffinity = enum_cudaError.define('cudaErrorUnsupportedExecAffinity', 224)
cudaErrorUnsupportedDevSideSync = enum_cudaError.define('cudaErrorUnsupportedDevSideSync', 225)
cudaErrorContained = enum_cudaError.define('cudaErrorContained', 226)
cudaErrorInvalidSource = enum_cudaError.define('cudaErrorInvalidSource', 300)
cudaErrorFileNotFound = enum_cudaError.define('cudaErrorFileNotFound', 301)
cudaErrorSharedObjectSymbolNotFound = enum_cudaError.define('cudaErrorSharedObjectSymbolNotFound', 302)
cudaErrorSharedObjectInitFailed = enum_cudaError.define('cudaErrorSharedObjectInitFailed', 303)
cudaErrorOperatingSystem = enum_cudaError.define('cudaErrorOperatingSystem', 304)
cudaErrorInvalidResourceHandle = enum_cudaError.define('cudaErrorInvalidResourceHandle', 400)
cudaErrorIllegalState = enum_cudaError.define('cudaErrorIllegalState', 401)
cudaErrorLossyQuery = enum_cudaError.define('cudaErrorLossyQuery', 402)
cudaErrorSymbolNotFound = enum_cudaError.define('cudaErrorSymbolNotFound', 500)
cudaErrorNotReady = enum_cudaError.define('cudaErrorNotReady', 600)
cudaErrorIllegalAddress = enum_cudaError.define('cudaErrorIllegalAddress', 700)
cudaErrorLaunchOutOfResources = enum_cudaError.define('cudaErrorLaunchOutOfResources', 701)
cudaErrorLaunchTimeout = enum_cudaError.define('cudaErrorLaunchTimeout', 702)
cudaErrorLaunchIncompatibleTexturing = enum_cudaError.define('cudaErrorLaunchIncompatibleTexturing', 703)
cudaErrorPeerAccessAlreadyEnabled = enum_cudaError.define('cudaErrorPeerAccessAlreadyEnabled', 704)
cudaErrorPeerAccessNotEnabled = enum_cudaError.define('cudaErrorPeerAccessNotEnabled', 705)
cudaErrorSetOnActiveProcess = enum_cudaError.define('cudaErrorSetOnActiveProcess', 708)
cudaErrorContextIsDestroyed = enum_cudaError.define('cudaErrorContextIsDestroyed', 709)
cudaErrorAssert = enum_cudaError.define('cudaErrorAssert', 710)
cudaErrorTooManyPeers = enum_cudaError.define('cudaErrorTooManyPeers', 711)
cudaErrorHostMemoryAlreadyRegistered = enum_cudaError.define('cudaErrorHostMemoryAlreadyRegistered', 712)
cudaErrorHostMemoryNotRegistered = enum_cudaError.define('cudaErrorHostMemoryNotRegistered', 713)
cudaErrorHardwareStackError = enum_cudaError.define('cudaErrorHardwareStackError', 714)
cudaErrorIllegalInstruction = enum_cudaError.define('cudaErrorIllegalInstruction', 715)
cudaErrorMisalignedAddress = enum_cudaError.define('cudaErrorMisalignedAddress', 716)
cudaErrorInvalidAddressSpace = enum_cudaError.define('cudaErrorInvalidAddressSpace', 717)
cudaErrorInvalidPc = enum_cudaError.define('cudaErrorInvalidPc', 718)
cudaErrorLaunchFailure = enum_cudaError.define('cudaErrorLaunchFailure', 719)
cudaErrorCooperativeLaunchTooLarge = enum_cudaError.define('cudaErrorCooperativeLaunchTooLarge', 720)
cudaErrorTensorMemoryLeak = enum_cudaError.define('cudaErrorTensorMemoryLeak', 721)
cudaErrorNotPermitted = enum_cudaError.define('cudaErrorNotPermitted', 800)
cudaErrorNotSupported = enum_cudaError.define('cudaErrorNotSupported', 801)
cudaErrorSystemNotReady = enum_cudaError.define('cudaErrorSystemNotReady', 802)
cudaErrorSystemDriverMismatch = enum_cudaError.define('cudaErrorSystemDriverMismatch', 803)
cudaErrorCompatNotSupportedOnDevice = enum_cudaError.define('cudaErrorCompatNotSupportedOnDevice', 804)
cudaErrorMpsConnectionFailed = enum_cudaError.define('cudaErrorMpsConnectionFailed', 805)
cudaErrorMpsRpcFailure = enum_cudaError.define('cudaErrorMpsRpcFailure', 806)
cudaErrorMpsServerNotReady = enum_cudaError.define('cudaErrorMpsServerNotReady', 807)
cudaErrorMpsMaxClientsReached = enum_cudaError.define('cudaErrorMpsMaxClientsReached', 808)
cudaErrorMpsMaxConnectionsReached = enum_cudaError.define('cudaErrorMpsMaxConnectionsReached', 809)
cudaErrorMpsClientTerminated = enum_cudaError.define('cudaErrorMpsClientTerminated', 810)
cudaErrorCdpNotSupported = enum_cudaError.define('cudaErrorCdpNotSupported', 811)
cudaErrorCdpVersionMismatch = enum_cudaError.define('cudaErrorCdpVersionMismatch', 812)
cudaErrorStreamCaptureUnsupported = enum_cudaError.define('cudaErrorStreamCaptureUnsupported', 900)
cudaErrorStreamCaptureInvalidated = enum_cudaError.define('cudaErrorStreamCaptureInvalidated', 901)
cudaErrorStreamCaptureMerge = enum_cudaError.define('cudaErrorStreamCaptureMerge', 902)
cudaErrorStreamCaptureUnmatched = enum_cudaError.define('cudaErrorStreamCaptureUnmatched', 903)
cudaErrorStreamCaptureUnjoined = enum_cudaError.define('cudaErrorStreamCaptureUnjoined', 904)
cudaErrorStreamCaptureIsolation = enum_cudaError.define('cudaErrorStreamCaptureIsolation', 905)
cudaErrorStreamCaptureImplicit = enum_cudaError.define('cudaErrorStreamCaptureImplicit', 906)
cudaErrorCapturedEvent = enum_cudaError.define('cudaErrorCapturedEvent', 907)
cudaErrorStreamCaptureWrongThread = enum_cudaError.define('cudaErrorStreamCaptureWrongThread', 908)
cudaErrorTimeout = enum_cudaError.define('cudaErrorTimeout', 909)
cudaErrorGraphExecUpdateFailure = enum_cudaError.define('cudaErrorGraphExecUpdateFailure', 910)
cudaErrorExternalDevice = enum_cudaError.define('cudaErrorExternalDevice', 911)
cudaErrorInvalidClusterSize = enum_cudaError.define('cudaErrorInvalidClusterSize', 912)
cudaErrorFunctionNotLoaded = enum_cudaError.define('cudaErrorFunctionNotLoaded', 913)
cudaErrorInvalidResourceType = enum_cudaError.define('cudaErrorInvalidResourceType', 914)
cudaErrorInvalidResourceConfiguration = enum_cudaError.define('cudaErrorInvalidResourceConfiguration', 915)
cudaErrorUnknown = enum_cudaError.define('cudaErrorUnknown', 999)
cudaErrorApiFailureBase = enum_cudaError.define('cudaErrorApiFailureBase', 10000)

cudaError_t: TypeAlias = enum_cudaError
cudaGetErrorName_v6050_params: TypeAlias = struct_cudaGetErrorName_v6050_params_st
@c.record
class struct_cudaGetErrorString_v3020_params_st(c.Struct):
  SIZE = 4
  error: Annotated[cudaError_t, 0]
cudaGetErrorString_v3020_params: TypeAlias = struct_cudaGetErrorString_v3020_params_st
@c.record
class struct_cudaGetDeviceCount_v3020_params_st(c.Struct):
  SIZE = 8
  count: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
cudaGetDeviceCount_v3020_params: TypeAlias = struct_cudaGetDeviceCount_v3020_params_st
@c.record
class struct_cudaGetDeviceProperties_v2_v12000_params_st(c.Struct):
  SIZE = 16
  prop: Annotated[c.POINTER[struct_cudaDeviceProp], 0]
  device: Annotated[Annotated[int, ctypes.c_int32], 8]
@c.record
class struct_cudaDeviceProp(c.Struct):
  SIZE = 1032
  name: Annotated[c.Array[Annotated[bytes, ctypes.c_char], Literal[256]], 0]
  uuid: Annotated[cudaUUID_t, 256]
  luid: Annotated[c.Array[Annotated[bytes, ctypes.c_char], Literal[8]], 272]
  luidDeviceNodeMask: Annotated[Annotated[int, ctypes.c_uint32], 280]
  totalGlobalMem: Annotated[size_t, 288]
  sharedMemPerBlock: Annotated[size_t, 296]
  regsPerBlock: Annotated[Annotated[int, ctypes.c_int32], 304]
  warpSize: Annotated[Annotated[int, ctypes.c_int32], 308]
  memPitch: Annotated[size_t, 312]
  maxThreadsPerBlock: Annotated[Annotated[int, ctypes.c_int32], 320]
  maxThreadsDim: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[3]], 324]
  maxGridSize: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[3]], 336]
  clockRate: Annotated[Annotated[int, ctypes.c_int32], 348]
  totalConstMem: Annotated[size_t, 352]
  major: Annotated[Annotated[int, ctypes.c_int32], 360]
  minor: Annotated[Annotated[int, ctypes.c_int32], 364]
  textureAlignment: Annotated[size_t, 368]
  texturePitchAlignment: Annotated[size_t, 376]
  deviceOverlap: Annotated[Annotated[int, ctypes.c_int32], 384]
  multiProcessorCount: Annotated[Annotated[int, ctypes.c_int32], 388]
  kernelExecTimeoutEnabled: Annotated[Annotated[int, ctypes.c_int32], 392]
  integrated: Annotated[Annotated[int, ctypes.c_int32], 396]
  canMapHostMemory: Annotated[Annotated[int, ctypes.c_int32], 400]
  computeMode: Annotated[Annotated[int, ctypes.c_int32], 404]
  maxTexture1D: Annotated[Annotated[int, ctypes.c_int32], 408]
  maxTexture1DMipmap: Annotated[Annotated[int, ctypes.c_int32], 412]
  maxTexture1DLinear: Annotated[Annotated[int, ctypes.c_int32], 416]
  maxTexture2D: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[2]], 420]
  maxTexture2DMipmap: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[2]], 428]
  maxTexture2DLinear: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[3]], 436]
  maxTexture2DGather: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[2]], 448]
  maxTexture3D: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[3]], 456]
  maxTexture3DAlt: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[3]], 468]
  maxTextureCubemap: Annotated[Annotated[int, ctypes.c_int32], 480]
  maxTexture1DLayered: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[2]], 484]
  maxTexture2DLayered: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[3]], 492]
  maxTextureCubemapLayered: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[2]], 504]
  maxSurface1D: Annotated[Annotated[int, ctypes.c_int32], 512]
  maxSurface2D: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[2]], 516]
  maxSurface3D: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[3]], 524]
  maxSurface1DLayered: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[2]], 536]
  maxSurface2DLayered: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[3]], 544]
  maxSurfaceCubemap: Annotated[Annotated[int, ctypes.c_int32], 556]
  maxSurfaceCubemapLayered: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[2]], 560]
  surfaceAlignment: Annotated[size_t, 568]
  concurrentKernels: Annotated[Annotated[int, ctypes.c_int32], 576]
  ECCEnabled: Annotated[Annotated[int, ctypes.c_int32], 580]
  pciBusID: Annotated[Annotated[int, ctypes.c_int32], 584]
  pciDeviceID: Annotated[Annotated[int, ctypes.c_int32], 588]
  pciDomainID: Annotated[Annotated[int, ctypes.c_int32], 592]
  tccDriver: Annotated[Annotated[int, ctypes.c_int32], 596]
  asyncEngineCount: Annotated[Annotated[int, ctypes.c_int32], 600]
  unifiedAddressing: Annotated[Annotated[int, ctypes.c_int32], 604]
  memoryClockRate: Annotated[Annotated[int, ctypes.c_int32], 608]
  memoryBusWidth: Annotated[Annotated[int, ctypes.c_int32], 612]
  l2CacheSize: Annotated[Annotated[int, ctypes.c_int32], 616]
  persistingL2CacheMaxSize: Annotated[Annotated[int, ctypes.c_int32], 620]
  maxThreadsPerMultiProcessor: Annotated[Annotated[int, ctypes.c_int32], 624]
  streamPrioritiesSupported: Annotated[Annotated[int, ctypes.c_int32], 628]
  globalL1CacheSupported: Annotated[Annotated[int, ctypes.c_int32], 632]
  localL1CacheSupported: Annotated[Annotated[int, ctypes.c_int32], 636]
  sharedMemPerMultiprocessor: Annotated[size_t, 640]
  regsPerMultiprocessor: Annotated[Annotated[int, ctypes.c_int32], 648]
  managedMemory: Annotated[Annotated[int, ctypes.c_int32], 652]
  isMultiGpuBoard: Annotated[Annotated[int, ctypes.c_int32], 656]
  multiGpuBoardGroupID: Annotated[Annotated[int, ctypes.c_int32], 660]
  hostNativeAtomicSupported: Annotated[Annotated[int, ctypes.c_int32], 664]
  singleToDoublePrecisionPerfRatio: Annotated[Annotated[int, ctypes.c_int32], 668]
  pageableMemoryAccess: Annotated[Annotated[int, ctypes.c_int32], 672]
  concurrentManagedAccess: Annotated[Annotated[int, ctypes.c_int32], 676]
  computePreemptionSupported: Annotated[Annotated[int, ctypes.c_int32], 680]
  canUseHostPointerForRegisteredMem: Annotated[Annotated[int, ctypes.c_int32], 684]
  cooperativeLaunch: Annotated[Annotated[int, ctypes.c_int32], 688]
  cooperativeMultiDeviceLaunch: Annotated[Annotated[int, ctypes.c_int32], 692]
  sharedMemPerBlockOptin: Annotated[size_t, 696]
  pageableMemoryAccessUsesHostPageTables: Annotated[Annotated[int, ctypes.c_int32], 704]
  directManagedMemAccessFromHost: Annotated[Annotated[int, ctypes.c_int32], 708]
  maxBlocksPerMultiProcessor: Annotated[Annotated[int, ctypes.c_int32], 712]
  accessPolicyMaxWindowSize: Annotated[Annotated[int, ctypes.c_int32], 716]
  reservedSharedMemPerBlock: Annotated[size_t, 720]
  hostRegisterSupported: Annotated[Annotated[int, ctypes.c_int32], 728]
  sparseCudaArraySupported: Annotated[Annotated[int, ctypes.c_int32], 732]
  hostRegisterReadOnlySupported: Annotated[Annotated[int, ctypes.c_int32], 736]
  timelineSemaphoreInteropSupported: Annotated[Annotated[int, ctypes.c_int32], 740]
  memoryPoolsSupported: Annotated[Annotated[int, ctypes.c_int32], 744]
  gpuDirectRDMASupported: Annotated[Annotated[int, ctypes.c_int32], 748]
  gpuDirectRDMAFlushWritesOptions: Annotated[Annotated[int, ctypes.c_uint32], 752]
  gpuDirectRDMAWritesOrdering: Annotated[Annotated[int, ctypes.c_int32], 756]
  memoryPoolSupportedHandleTypes: Annotated[Annotated[int, ctypes.c_uint32], 760]
  deferredMappingCudaArraySupported: Annotated[Annotated[int, ctypes.c_int32], 764]
  ipcEventSupported: Annotated[Annotated[int, ctypes.c_int32], 768]
  clusterLaunch: Annotated[Annotated[int, ctypes.c_int32], 772]
  unifiedFunctionPointers: Annotated[Annotated[int, ctypes.c_int32], 776]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[63]], 780]
cudaUUID_t: TypeAlias = struct_CUuuid_st
cudaGetDeviceProperties_v2_v12000_params: TypeAlias = struct_cudaGetDeviceProperties_v2_v12000_params_st
@c.record
class struct_cudaDeviceGetAttribute_v5000_params_st(c.Struct):
  SIZE = 16
  value: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  attr: Annotated[enum_cudaDeviceAttr, 8]
  device: Annotated[Annotated[int, ctypes.c_int32], 12]
class enum_cudaDeviceAttr(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaDevAttrMaxThreadsPerBlock = enum_cudaDeviceAttr.define('cudaDevAttrMaxThreadsPerBlock', 1)
cudaDevAttrMaxBlockDimX = enum_cudaDeviceAttr.define('cudaDevAttrMaxBlockDimX', 2)
cudaDevAttrMaxBlockDimY = enum_cudaDeviceAttr.define('cudaDevAttrMaxBlockDimY', 3)
cudaDevAttrMaxBlockDimZ = enum_cudaDeviceAttr.define('cudaDevAttrMaxBlockDimZ', 4)
cudaDevAttrMaxGridDimX = enum_cudaDeviceAttr.define('cudaDevAttrMaxGridDimX', 5)
cudaDevAttrMaxGridDimY = enum_cudaDeviceAttr.define('cudaDevAttrMaxGridDimY', 6)
cudaDevAttrMaxGridDimZ = enum_cudaDeviceAttr.define('cudaDevAttrMaxGridDimZ', 7)
cudaDevAttrMaxSharedMemoryPerBlock = enum_cudaDeviceAttr.define('cudaDevAttrMaxSharedMemoryPerBlock', 8)
cudaDevAttrTotalConstantMemory = enum_cudaDeviceAttr.define('cudaDevAttrTotalConstantMemory', 9)
cudaDevAttrWarpSize = enum_cudaDeviceAttr.define('cudaDevAttrWarpSize', 10)
cudaDevAttrMaxPitch = enum_cudaDeviceAttr.define('cudaDevAttrMaxPitch', 11)
cudaDevAttrMaxRegistersPerBlock = enum_cudaDeviceAttr.define('cudaDevAttrMaxRegistersPerBlock', 12)
cudaDevAttrClockRate = enum_cudaDeviceAttr.define('cudaDevAttrClockRate', 13)
cudaDevAttrTextureAlignment = enum_cudaDeviceAttr.define('cudaDevAttrTextureAlignment', 14)
cudaDevAttrGpuOverlap = enum_cudaDeviceAttr.define('cudaDevAttrGpuOverlap', 15)
cudaDevAttrMultiProcessorCount = enum_cudaDeviceAttr.define('cudaDevAttrMultiProcessorCount', 16)
cudaDevAttrKernelExecTimeout = enum_cudaDeviceAttr.define('cudaDevAttrKernelExecTimeout', 17)
cudaDevAttrIntegrated = enum_cudaDeviceAttr.define('cudaDevAttrIntegrated', 18)
cudaDevAttrCanMapHostMemory = enum_cudaDeviceAttr.define('cudaDevAttrCanMapHostMemory', 19)
cudaDevAttrComputeMode = enum_cudaDeviceAttr.define('cudaDevAttrComputeMode', 20)
cudaDevAttrMaxTexture1DWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture1DWidth', 21)
cudaDevAttrMaxTexture2DWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture2DWidth', 22)
cudaDevAttrMaxTexture2DHeight = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture2DHeight', 23)
cudaDevAttrMaxTexture3DWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture3DWidth', 24)
cudaDevAttrMaxTexture3DHeight = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture3DHeight', 25)
cudaDevAttrMaxTexture3DDepth = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture3DDepth', 26)
cudaDevAttrMaxTexture2DLayeredWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture2DLayeredWidth', 27)
cudaDevAttrMaxTexture2DLayeredHeight = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture2DLayeredHeight', 28)
cudaDevAttrMaxTexture2DLayeredLayers = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture2DLayeredLayers', 29)
cudaDevAttrSurfaceAlignment = enum_cudaDeviceAttr.define('cudaDevAttrSurfaceAlignment', 30)
cudaDevAttrConcurrentKernels = enum_cudaDeviceAttr.define('cudaDevAttrConcurrentKernels', 31)
cudaDevAttrEccEnabled = enum_cudaDeviceAttr.define('cudaDevAttrEccEnabled', 32)
cudaDevAttrPciBusId = enum_cudaDeviceAttr.define('cudaDevAttrPciBusId', 33)
cudaDevAttrPciDeviceId = enum_cudaDeviceAttr.define('cudaDevAttrPciDeviceId', 34)
cudaDevAttrTccDriver = enum_cudaDeviceAttr.define('cudaDevAttrTccDriver', 35)
cudaDevAttrMemoryClockRate = enum_cudaDeviceAttr.define('cudaDevAttrMemoryClockRate', 36)
cudaDevAttrGlobalMemoryBusWidth = enum_cudaDeviceAttr.define('cudaDevAttrGlobalMemoryBusWidth', 37)
cudaDevAttrL2CacheSize = enum_cudaDeviceAttr.define('cudaDevAttrL2CacheSize', 38)
cudaDevAttrMaxThreadsPerMultiProcessor = enum_cudaDeviceAttr.define('cudaDevAttrMaxThreadsPerMultiProcessor', 39)
cudaDevAttrAsyncEngineCount = enum_cudaDeviceAttr.define('cudaDevAttrAsyncEngineCount', 40)
cudaDevAttrUnifiedAddressing = enum_cudaDeviceAttr.define('cudaDevAttrUnifiedAddressing', 41)
cudaDevAttrMaxTexture1DLayeredWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture1DLayeredWidth', 42)
cudaDevAttrMaxTexture1DLayeredLayers = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture1DLayeredLayers', 43)
cudaDevAttrMaxTexture2DGatherWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture2DGatherWidth', 45)
cudaDevAttrMaxTexture2DGatherHeight = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture2DGatherHeight', 46)
cudaDevAttrMaxTexture3DWidthAlt = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture3DWidthAlt', 47)
cudaDevAttrMaxTexture3DHeightAlt = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture3DHeightAlt', 48)
cudaDevAttrMaxTexture3DDepthAlt = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture3DDepthAlt', 49)
cudaDevAttrPciDomainId = enum_cudaDeviceAttr.define('cudaDevAttrPciDomainId', 50)
cudaDevAttrTexturePitchAlignment = enum_cudaDeviceAttr.define('cudaDevAttrTexturePitchAlignment', 51)
cudaDevAttrMaxTextureCubemapWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxTextureCubemapWidth', 52)
cudaDevAttrMaxTextureCubemapLayeredWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxTextureCubemapLayeredWidth', 53)
cudaDevAttrMaxTextureCubemapLayeredLayers = enum_cudaDeviceAttr.define('cudaDevAttrMaxTextureCubemapLayeredLayers', 54)
cudaDevAttrMaxSurface1DWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxSurface1DWidth', 55)
cudaDevAttrMaxSurface2DWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxSurface2DWidth', 56)
cudaDevAttrMaxSurface2DHeight = enum_cudaDeviceAttr.define('cudaDevAttrMaxSurface2DHeight', 57)
cudaDevAttrMaxSurface3DWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxSurface3DWidth', 58)
cudaDevAttrMaxSurface3DHeight = enum_cudaDeviceAttr.define('cudaDevAttrMaxSurface3DHeight', 59)
cudaDevAttrMaxSurface3DDepth = enum_cudaDeviceAttr.define('cudaDevAttrMaxSurface3DDepth', 60)
cudaDevAttrMaxSurface1DLayeredWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxSurface1DLayeredWidth', 61)
cudaDevAttrMaxSurface1DLayeredLayers = enum_cudaDeviceAttr.define('cudaDevAttrMaxSurface1DLayeredLayers', 62)
cudaDevAttrMaxSurface2DLayeredWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxSurface2DLayeredWidth', 63)
cudaDevAttrMaxSurface2DLayeredHeight = enum_cudaDeviceAttr.define('cudaDevAttrMaxSurface2DLayeredHeight', 64)
cudaDevAttrMaxSurface2DLayeredLayers = enum_cudaDeviceAttr.define('cudaDevAttrMaxSurface2DLayeredLayers', 65)
cudaDevAttrMaxSurfaceCubemapWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxSurfaceCubemapWidth', 66)
cudaDevAttrMaxSurfaceCubemapLayeredWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxSurfaceCubemapLayeredWidth', 67)
cudaDevAttrMaxSurfaceCubemapLayeredLayers = enum_cudaDeviceAttr.define('cudaDevAttrMaxSurfaceCubemapLayeredLayers', 68)
cudaDevAttrMaxTexture1DLinearWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture1DLinearWidth', 69)
cudaDevAttrMaxTexture2DLinearWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture2DLinearWidth', 70)
cudaDevAttrMaxTexture2DLinearHeight = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture2DLinearHeight', 71)
cudaDevAttrMaxTexture2DLinearPitch = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture2DLinearPitch', 72)
cudaDevAttrMaxTexture2DMipmappedWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture2DMipmappedWidth', 73)
cudaDevAttrMaxTexture2DMipmappedHeight = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture2DMipmappedHeight', 74)
cudaDevAttrComputeCapabilityMajor = enum_cudaDeviceAttr.define('cudaDevAttrComputeCapabilityMajor', 75)
cudaDevAttrComputeCapabilityMinor = enum_cudaDeviceAttr.define('cudaDevAttrComputeCapabilityMinor', 76)
cudaDevAttrMaxTexture1DMipmappedWidth = enum_cudaDeviceAttr.define('cudaDevAttrMaxTexture1DMipmappedWidth', 77)
cudaDevAttrStreamPrioritiesSupported = enum_cudaDeviceAttr.define('cudaDevAttrStreamPrioritiesSupported', 78)
cudaDevAttrGlobalL1CacheSupported = enum_cudaDeviceAttr.define('cudaDevAttrGlobalL1CacheSupported', 79)
cudaDevAttrLocalL1CacheSupported = enum_cudaDeviceAttr.define('cudaDevAttrLocalL1CacheSupported', 80)
cudaDevAttrMaxSharedMemoryPerMultiprocessor = enum_cudaDeviceAttr.define('cudaDevAttrMaxSharedMemoryPerMultiprocessor', 81)
cudaDevAttrMaxRegistersPerMultiprocessor = enum_cudaDeviceAttr.define('cudaDevAttrMaxRegistersPerMultiprocessor', 82)
cudaDevAttrManagedMemory = enum_cudaDeviceAttr.define('cudaDevAttrManagedMemory', 83)
cudaDevAttrIsMultiGpuBoard = enum_cudaDeviceAttr.define('cudaDevAttrIsMultiGpuBoard', 84)
cudaDevAttrMultiGpuBoardGroupID = enum_cudaDeviceAttr.define('cudaDevAttrMultiGpuBoardGroupID', 85)
cudaDevAttrHostNativeAtomicSupported = enum_cudaDeviceAttr.define('cudaDevAttrHostNativeAtomicSupported', 86)
cudaDevAttrSingleToDoublePrecisionPerfRatio = enum_cudaDeviceAttr.define('cudaDevAttrSingleToDoublePrecisionPerfRatio', 87)
cudaDevAttrPageableMemoryAccess = enum_cudaDeviceAttr.define('cudaDevAttrPageableMemoryAccess', 88)
cudaDevAttrConcurrentManagedAccess = enum_cudaDeviceAttr.define('cudaDevAttrConcurrentManagedAccess', 89)
cudaDevAttrComputePreemptionSupported = enum_cudaDeviceAttr.define('cudaDevAttrComputePreemptionSupported', 90)
cudaDevAttrCanUseHostPointerForRegisteredMem = enum_cudaDeviceAttr.define('cudaDevAttrCanUseHostPointerForRegisteredMem', 91)
cudaDevAttrReserved92 = enum_cudaDeviceAttr.define('cudaDevAttrReserved92', 92)
cudaDevAttrReserved93 = enum_cudaDeviceAttr.define('cudaDevAttrReserved93', 93)
cudaDevAttrReserved94 = enum_cudaDeviceAttr.define('cudaDevAttrReserved94', 94)
cudaDevAttrCooperativeLaunch = enum_cudaDeviceAttr.define('cudaDevAttrCooperativeLaunch', 95)
cudaDevAttrCooperativeMultiDeviceLaunch = enum_cudaDeviceAttr.define('cudaDevAttrCooperativeMultiDeviceLaunch', 96)
cudaDevAttrMaxSharedMemoryPerBlockOptin = enum_cudaDeviceAttr.define('cudaDevAttrMaxSharedMemoryPerBlockOptin', 97)
cudaDevAttrCanFlushRemoteWrites = enum_cudaDeviceAttr.define('cudaDevAttrCanFlushRemoteWrites', 98)
cudaDevAttrHostRegisterSupported = enum_cudaDeviceAttr.define('cudaDevAttrHostRegisterSupported', 99)
cudaDevAttrPageableMemoryAccessUsesHostPageTables = enum_cudaDeviceAttr.define('cudaDevAttrPageableMemoryAccessUsesHostPageTables', 100)
cudaDevAttrDirectManagedMemAccessFromHost = enum_cudaDeviceAttr.define('cudaDevAttrDirectManagedMemAccessFromHost', 101)
cudaDevAttrMaxBlocksPerMultiprocessor = enum_cudaDeviceAttr.define('cudaDevAttrMaxBlocksPerMultiprocessor', 106)
cudaDevAttrMaxPersistingL2CacheSize = enum_cudaDeviceAttr.define('cudaDevAttrMaxPersistingL2CacheSize', 108)
cudaDevAttrMaxAccessPolicyWindowSize = enum_cudaDeviceAttr.define('cudaDevAttrMaxAccessPolicyWindowSize', 109)
cudaDevAttrReservedSharedMemoryPerBlock = enum_cudaDeviceAttr.define('cudaDevAttrReservedSharedMemoryPerBlock', 111)
cudaDevAttrSparseCudaArraySupported = enum_cudaDeviceAttr.define('cudaDevAttrSparseCudaArraySupported', 112)
cudaDevAttrHostRegisterReadOnlySupported = enum_cudaDeviceAttr.define('cudaDevAttrHostRegisterReadOnlySupported', 113)
cudaDevAttrTimelineSemaphoreInteropSupported = enum_cudaDeviceAttr.define('cudaDevAttrTimelineSemaphoreInteropSupported', 114)
cudaDevAttrMaxTimelineSemaphoreInteropSupported = enum_cudaDeviceAttr.define('cudaDevAttrMaxTimelineSemaphoreInteropSupported', 114)
cudaDevAttrMemoryPoolsSupported = enum_cudaDeviceAttr.define('cudaDevAttrMemoryPoolsSupported', 115)
cudaDevAttrGPUDirectRDMASupported = enum_cudaDeviceAttr.define('cudaDevAttrGPUDirectRDMASupported', 116)
cudaDevAttrGPUDirectRDMAFlushWritesOptions = enum_cudaDeviceAttr.define('cudaDevAttrGPUDirectRDMAFlushWritesOptions', 117)
cudaDevAttrGPUDirectRDMAWritesOrdering = enum_cudaDeviceAttr.define('cudaDevAttrGPUDirectRDMAWritesOrdering', 118)
cudaDevAttrMemoryPoolSupportedHandleTypes = enum_cudaDeviceAttr.define('cudaDevAttrMemoryPoolSupportedHandleTypes', 119)
cudaDevAttrClusterLaunch = enum_cudaDeviceAttr.define('cudaDevAttrClusterLaunch', 120)
cudaDevAttrDeferredMappingCudaArraySupported = enum_cudaDeviceAttr.define('cudaDevAttrDeferredMappingCudaArraySupported', 121)
cudaDevAttrReserved122 = enum_cudaDeviceAttr.define('cudaDevAttrReserved122', 122)
cudaDevAttrReserved123 = enum_cudaDeviceAttr.define('cudaDevAttrReserved123', 123)
cudaDevAttrReserved124 = enum_cudaDeviceAttr.define('cudaDevAttrReserved124', 124)
cudaDevAttrIpcEventSupport = enum_cudaDeviceAttr.define('cudaDevAttrIpcEventSupport', 125)
cudaDevAttrMemSyncDomainCount = enum_cudaDeviceAttr.define('cudaDevAttrMemSyncDomainCount', 126)
cudaDevAttrReserved127 = enum_cudaDeviceAttr.define('cudaDevAttrReserved127', 127)
cudaDevAttrReserved128 = enum_cudaDeviceAttr.define('cudaDevAttrReserved128', 128)
cudaDevAttrReserved129 = enum_cudaDeviceAttr.define('cudaDevAttrReserved129', 129)
cudaDevAttrNumaConfig = enum_cudaDeviceAttr.define('cudaDevAttrNumaConfig', 130)
cudaDevAttrNumaId = enum_cudaDeviceAttr.define('cudaDevAttrNumaId', 131)
cudaDevAttrReserved132 = enum_cudaDeviceAttr.define('cudaDevAttrReserved132', 132)
cudaDevAttrMpsEnabled = enum_cudaDeviceAttr.define('cudaDevAttrMpsEnabled', 133)
cudaDevAttrHostNumaId = enum_cudaDeviceAttr.define('cudaDevAttrHostNumaId', 134)
cudaDevAttrD3D12CigSupported = enum_cudaDeviceAttr.define('cudaDevAttrD3D12CigSupported', 135)
cudaDevAttrGpuPciDeviceId = enum_cudaDeviceAttr.define('cudaDevAttrGpuPciDeviceId', 139)
cudaDevAttrGpuPciSubsystemId = enum_cudaDeviceAttr.define('cudaDevAttrGpuPciSubsystemId', 140)
cudaDevAttrHostNumaMultinodeIpcSupported = enum_cudaDeviceAttr.define('cudaDevAttrHostNumaMultinodeIpcSupported', 143)
cudaDevAttrMax = enum_cudaDeviceAttr.define('cudaDevAttrMax', 144)

cudaDeviceGetAttribute_v5000_params: TypeAlias = struct_cudaDeviceGetAttribute_v5000_params_st
@c.record
class struct_cudaDeviceGetDefaultMemPool_v11020_params_st(c.Struct):
  SIZE = 16
  memPool: Annotated[c.POINTER[cudaMemPool_t], 0]
  device: Annotated[Annotated[int, ctypes.c_int32], 8]
cudaMemPool_t: TypeAlias = c.POINTER[struct_CUmemPoolHandle_st]
cudaDeviceGetDefaultMemPool_v11020_params: TypeAlias = struct_cudaDeviceGetDefaultMemPool_v11020_params_st
@c.record
class struct_cudaDeviceSetMemPool_v11020_params_st(c.Struct):
  SIZE = 16
  device: Annotated[Annotated[int, ctypes.c_int32], 0]
  memPool: Annotated[cudaMemPool_t, 8]
cudaDeviceSetMemPool_v11020_params: TypeAlias = struct_cudaDeviceSetMemPool_v11020_params_st
@c.record
class struct_cudaDeviceGetMemPool_v11020_params_st(c.Struct):
  SIZE = 16
  memPool: Annotated[c.POINTER[cudaMemPool_t], 0]
  device: Annotated[Annotated[int, ctypes.c_int32], 8]
cudaDeviceGetMemPool_v11020_params: TypeAlias = struct_cudaDeviceGetMemPool_v11020_params_st
@c.record
class struct_cudaDeviceGetNvSciSyncAttributes_v10020_params_st(c.Struct):
  SIZE = 16
  nvSciSyncAttrList: Annotated[ctypes.c_void_p, 0]
  device: Annotated[Annotated[int, ctypes.c_int32], 8]
  flags: Annotated[Annotated[int, ctypes.c_int32], 12]
cudaDeviceGetNvSciSyncAttributes_v10020_params: TypeAlias = struct_cudaDeviceGetNvSciSyncAttributes_v10020_params_st
@c.record
class struct_cudaDeviceGetP2PAttribute_v8000_params_st(c.Struct):
  SIZE = 24
  value: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  attr: Annotated[enum_cudaDeviceP2PAttr, 8]
  srcDevice: Annotated[Annotated[int, ctypes.c_int32], 12]
  dstDevice: Annotated[Annotated[int, ctypes.c_int32], 16]
class enum_cudaDeviceP2PAttr(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaDevP2PAttrPerformanceRank = enum_cudaDeviceP2PAttr.define('cudaDevP2PAttrPerformanceRank', 1)
cudaDevP2PAttrAccessSupported = enum_cudaDeviceP2PAttr.define('cudaDevP2PAttrAccessSupported', 2)
cudaDevP2PAttrNativeAtomicSupported = enum_cudaDeviceP2PAttr.define('cudaDevP2PAttrNativeAtomicSupported', 3)
cudaDevP2PAttrCudaArrayAccessSupported = enum_cudaDeviceP2PAttr.define('cudaDevP2PAttrCudaArrayAccessSupported', 4)

cudaDeviceGetP2PAttribute_v8000_params: TypeAlias = struct_cudaDeviceGetP2PAttribute_v8000_params_st
@c.record
class struct_cudaChooseDevice_v3020_params_st(c.Struct):
  SIZE = 16
  device: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  prop: Annotated[c.POINTER[struct_cudaDeviceProp], 8]
cudaChooseDevice_v3020_params: TypeAlias = struct_cudaChooseDevice_v3020_params_st
@c.record
class struct_cudaInitDevice_v12000_params_st(c.Struct):
  SIZE = 12
  device: Annotated[Annotated[int, ctypes.c_int32], 0]
  deviceFlags: Annotated[Annotated[int, ctypes.c_uint32], 4]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
cudaInitDevice_v12000_params: TypeAlias = struct_cudaInitDevice_v12000_params_st
@c.record
class struct_cudaSetDevice_v3020_params_st(c.Struct):
  SIZE = 4
  device: Annotated[Annotated[int, ctypes.c_int32], 0]
cudaSetDevice_v3020_params: TypeAlias = struct_cudaSetDevice_v3020_params_st
@c.record
class struct_cudaGetDevice_v3020_params_st(c.Struct):
  SIZE = 8
  device: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
cudaGetDevice_v3020_params: TypeAlias = struct_cudaGetDevice_v3020_params_st
@c.record
class struct_cudaSetValidDevices_v3020_params_st(c.Struct):
  SIZE = 16
  device_arr: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  len: Annotated[Annotated[int, ctypes.c_int32], 8]
cudaSetValidDevices_v3020_params: TypeAlias = struct_cudaSetValidDevices_v3020_params_st
@c.record
class struct_cudaSetDeviceFlags_v3020_params_st(c.Struct):
  SIZE = 4
  flags: Annotated[Annotated[int, ctypes.c_uint32], 0]
cudaSetDeviceFlags_v3020_params: TypeAlias = struct_cudaSetDeviceFlags_v3020_params_st
@c.record
class struct_cudaGetDeviceFlags_v7000_params_st(c.Struct):
  SIZE = 8
  flags: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 0]
cudaGetDeviceFlags_v7000_params: TypeAlias = struct_cudaGetDeviceFlags_v7000_params_st
@c.record
class struct_cudaStreamCreate_v3020_params_st(c.Struct):
  SIZE = 8
  pStream: Annotated[c.POINTER[cudaStream_t], 0]
cudaStream_t: TypeAlias = c.POINTER[struct_CUstream_st]
cudaStreamCreate_v3020_params: TypeAlias = struct_cudaStreamCreate_v3020_params_st
@c.record
class struct_cudaStreamCreateWithFlags_v5000_params_st(c.Struct):
  SIZE = 16
  pStream: Annotated[c.POINTER[cudaStream_t], 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
cudaStreamCreateWithFlags_v5000_params: TypeAlias = struct_cudaStreamCreateWithFlags_v5000_params_st
@c.record
class struct_cudaStreamCreateWithPriority_v5050_params_st(c.Struct):
  SIZE = 16
  pStream: Annotated[c.POINTER[cudaStream_t], 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
  priority: Annotated[Annotated[int, ctypes.c_int32], 12]
cudaStreamCreateWithPriority_v5050_params: TypeAlias = struct_cudaStreamCreateWithPriority_v5050_params_st
@c.record
class struct_cudaStreamGetPriority_ptsz_v7000_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[cudaStream_t, 0]
  priority: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 8]
cudaStreamGetPriority_ptsz_v7000_params: TypeAlias = struct_cudaStreamGetPriority_ptsz_v7000_params_st
@c.record
class struct_cudaStreamGetFlags_ptsz_v7000_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[cudaStream_t, 0]
  flags: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 8]
cudaStreamGetFlags_ptsz_v7000_params: TypeAlias = struct_cudaStreamGetFlags_ptsz_v7000_params_st
@c.record
class struct_cudaStreamGetId_ptsz_v12000_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[cudaStream_t, 0]
  streamId: Annotated[c.POINTER[Annotated[int, ctypes.c_uint64]], 8]
cudaStreamGetId_ptsz_v12000_params: TypeAlias = struct_cudaStreamGetId_ptsz_v12000_params_st
@c.record
class struct_cudaStreamGetDevice_ptsz_v12080_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[cudaStream_t, 0]
  device: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 8]
cudaStreamGetDevice_ptsz_v12080_params: TypeAlias = struct_cudaStreamGetDevice_ptsz_v12080_params_st
@c.record
class struct_cudaStreamCopyAttributes_ptsz_v11000_params_st(c.Struct):
  SIZE = 16
  dst: Annotated[cudaStream_t, 0]
  src: Annotated[cudaStream_t, 8]
cudaStreamCopyAttributes_ptsz_v11000_params: TypeAlias = struct_cudaStreamCopyAttributes_ptsz_v11000_params_st
@c.record
class struct_cudaStreamGetAttribute_ptsz_v11000_params_st(c.Struct):
  SIZE = 24
  hStream: Annotated[cudaStream_t, 0]
  attr: Annotated[cudaLaunchAttributeID, 8]
  value_out: Annotated[c.POINTER[cudaLaunchAttributeValue], 16]
class enum_cudaLaunchAttributeID(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaLaunchAttributeIgnore = enum_cudaLaunchAttributeID.define('cudaLaunchAttributeIgnore', 0)
cudaLaunchAttributeAccessPolicyWindow = enum_cudaLaunchAttributeID.define('cudaLaunchAttributeAccessPolicyWindow', 1)
cudaLaunchAttributeCooperative = enum_cudaLaunchAttributeID.define('cudaLaunchAttributeCooperative', 2)
cudaLaunchAttributeSynchronizationPolicy = enum_cudaLaunchAttributeID.define('cudaLaunchAttributeSynchronizationPolicy', 3)
cudaLaunchAttributeClusterDimension = enum_cudaLaunchAttributeID.define('cudaLaunchAttributeClusterDimension', 4)
cudaLaunchAttributeClusterSchedulingPolicyPreference = enum_cudaLaunchAttributeID.define('cudaLaunchAttributeClusterSchedulingPolicyPreference', 5)
cudaLaunchAttributeProgrammaticStreamSerialization = enum_cudaLaunchAttributeID.define('cudaLaunchAttributeProgrammaticStreamSerialization', 6)
cudaLaunchAttributeProgrammaticEvent = enum_cudaLaunchAttributeID.define('cudaLaunchAttributeProgrammaticEvent', 7)
cudaLaunchAttributePriority = enum_cudaLaunchAttributeID.define('cudaLaunchAttributePriority', 8)
cudaLaunchAttributeMemSyncDomainMap = enum_cudaLaunchAttributeID.define('cudaLaunchAttributeMemSyncDomainMap', 9)
cudaLaunchAttributeMemSyncDomain = enum_cudaLaunchAttributeID.define('cudaLaunchAttributeMemSyncDomain', 10)
cudaLaunchAttributePreferredClusterDimension = enum_cudaLaunchAttributeID.define('cudaLaunchAttributePreferredClusterDimension', 11)
cudaLaunchAttributeLaunchCompletionEvent = enum_cudaLaunchAttributeID.define('cudaLaunchAttributeLaunchCompletionEvent', 12)
cudaLaunchAttributeDeviceUpdatableKernelNode = enum_cudaLaunchAttributeID.define('cudaLaunchAttributeDeviceUpdatableKernelNode', 13)
cudaLaunchAttributePreferredSharedMemoryCarveout = enum_cudaLaunchAttributeID.define('cudaLaunchAttributePreferredSharedMemoryCarveout', 14)

cudaLaunchAttributeID: TypeAlias = enum_cudaLaunchAttributeID
@c.record
class union_cudaLaunchAttributeValue(c.Struct):
  SIZE = 64
  pad: Annotated[c.Array[Annotated[bytes, ctypes.c_char], Literal[64]], 0]
  accessPolicyWindow: Annotated[struct_cudaAccessPolicyWindow, 0]
  cooperative: Annotated[Annotated[int, ctypes.c_int32], 0]
  syncPolicy: Annotated[enum_cudaSynchronizationPolicy, 0]
  clusterDim: Annotated[union_cudaLaunchAttributeValue_clusterDim, 0]
  clusterSchedulingPolicyPreference: Annotated[enum_cudaClusterSchedulingPolicy, 0]
  programmaticStreamSerializationAllowed: Annotated[Annotated[int, ctypes.c_int32], 0]
  programmaticEvent: Annotated[union_cudaLaunchAttributeValue_programmaticEvent, 0]
  priority: Annotated[Annotated[int, ctypes.c_int32], 0]
  memSyncDomainMap: Annotated[cudaLaunchMemSyncDomainMap, 0]
  memSyncDomain: Annotated[cudaLaunchMemSyncDomain, 0]
  preferredClusterDim: Annotated[union_cudaLaunchAttributeValue_preferredClusterDim, 0]
  launchCompletionEvent: Annotated[union_cudaLaunchAttributeValue_launchCompletionEvent, 0]
  deviceUpdatableKernelNode: Annotated[union_cudaLaunchAttributeValue_deviceUpdatableKernelNode, 0]
  sharedMemCarveout: Annotated[Annotated[int, ctypes.c_uint32], 0]
cudaLaunchAttributeValue: TypeAlias = union_cudaLaunchAttributeValue
@c.record
class struct_cudaAccessPolicyWindow(c.Struct):
  SIZE = 32
  base_ptr: Annotated[ctypes.c_void_p, 0]
  num_bytes: Annotated[size_t, 8]
  hitRatio: Annotated[Annotated[float, ctypes.c_float], 16]
  hitProp: Annotated[enum_cudaAccessProperty, 20]
  missProp: Annotated[enum_cudaAccessProperty, 24]
class enum_cudaAccessProperty(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaAccessPropertyNormal = enum_cudaAccessProperty.define('cudaAccessPropertyNormal', 0)
cudaAccessPropertyStreaming = enum_cudaAccessProperty.define('cudaAccessPropertyStreaming', 1)
cudaAccessPropertyPersisting = enum_cudaAccessProperty.define('cudaAccessPropertyPersisting', 2)

class enum_cudaSynchronizationPolicy(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaSyncPolicyAuto = enum_cudaSynchronizationPolicy.define('cudaSyncPolicyAuto', 1)
cudaSyncPolicySpin = enum_cudaSynchronizationPolicy.define('cudaSyncPolicySpin', 2)
cudaSyncPolicyYield = enum_cudaSynchronizationPolicy.define('cudaSyncPolicyYield', 3)
cudaSyncPolicyBlockingSync = enum_cudaSynchronizationPolicy.define('cudaSyncPolicyBlockingSync', 4)

@c.record
class union_cudaLaunchAttributeValue_clusterDim(c.Struct):
  SIZE = 12
  x: Annotated[Annotated[int, ctypes.c_uint32], 0]
  y: Annotated[Annotated[int, ctypes.c_uint32], 4]
  z: Annotated[Annotated[int, ctypes.c_uint32], 8]
class enum_cudaClusterSchedulingPolicy(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaClusterSchedulingPolicyDefault = enum_cudaClusterSchedulingPolicy.define('cudaClusterSchedulingPolicyDefault', 0)
cudaClusterSchedulingPolicySpread = enum_cudaClusterSchedulingPolicy.define('cudaClusterSchedulingPolicySpread', 1)
cudaClusterSchedulingPolicyLoadBalancing = enum_cudaClusterSchedulingPolicy.define('cudaClusterSchedulingPolicyLoadBalancing', 2)

@c.record
class union_cudaLaunchAttributeValue_programmaticEvent(c.Struct):
  SIZE = 16
  event: Annotated[cudaEvent_t, 0]
  flags: Annotated[Annotated[int, ctypes.c_int32], 8]
  triggerAtBlockStart: Annotated[Annotated[int, ctypes.c_int32], 12]
@c.record
class struct_cudaLaunchMemSyncDomainMap_st(c.Struct):
  SIZE = 2
  default_: Annotated[Annotated[int, ctypes.c_ubyte], 0]
  remote: Annotated[Annotated[int, ctypes.c_ubyte], 1]
cudaLaunchMemSyncDomainMap: TypeAlias = struct_cudaLaunchMemSyncDomainMap_st
class enum_cudaLaunchMemSyncDomain(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaLaunchMemSyncDomainDefault = enum_cudaLaunchMemSyncDomain.define('cudaLaunchMemSyncDomainDefault', 0)
cudaLaunchMemSyncDomainRemote = enum_cudaLaunchMemSyncDomain.define('cudaLaunchMemSyncDomainRemote', 1)

cudaLaunchMemSyncDomain: TypeAlias = enum_cudaLaunchMemSyncDomain
@c.record
class union_cudaLaunchAttributeValue_preferredClusterDim(c.Struct):
  SIZE = 12
  x: Annotated[Annotated[int, ctypes.c_uint32], 0]
  y: Annotated[Annotated[int, ctypes.c_uint32], 4]
  z: Annotated[Annotated[int, ctypes.c_uint32], 8]
@c.record
class union_cudaLaunchAttributeValue_launchCompletionEvent(c.Struct):
  SIZE = 16
  event: Annotated[cudaEvent_t, 0]
  flags: Annotated[Annotated[int, ctypes.c_int32], 8]
@c.record
class union_cudaLaunchAttributeValue_deviceUpdatableKernelNode(c.Struct):
  SIZE = 16
  deviceUpdatable: Annotated[Annotated[int, ctypes.c_int32], 0]
  devNode: Annotated[cudaGraphDeviceNode_t, 8]
cudaGraphDeviceNode_t: TypeAlias = c.POINTER[struct_CUgraphDeviceUpdatableNode_st]
cudaStreamGetAttribute_ptsz_v11000_params: TypeAlias = struct_cudaStreamGetAttribute_ptsz_v11000_params_st
@c.record
class struct_cudaStreamSetAttribute_ptsz_v11000_params_st(c.Struct):
  SIZE = 24
  hStream: Annotated[cudaStream_t, 0]
  attr: Annotated[cudaLaunchAttributeID, 8]
  value: Annotated[c.POINTER[cudaLaunchAttributeValue], 16]
cudaStreamSetAttribute_ptsz_v11000_params: TypeAlias = struct_cudaStreamSetAttribute_ptsz_v11000_params_st
@c.record
class struct_cudaStreamDestroy_v5050_params_st(c.Struct):
  SIZE = 8
  stream: Annotated[cudaStream_t, 0]
cudaStreamDestroy_v5050_params: TypeAlias = struct_cudaStreamDestroy_v5050_params_st
@c.record
class struct_cudaStreamWaitEvent_ptsz_v7000_params_st(c.Struct):
  SIZE = 24
  stream: Annotated[cudaStream_t, 0]
  event: Annotated[cudaEvent_t, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cudaStreamWaitEvent_ptsz_v7000_params: TypeAlias = struct_cudaStreamWaitEvent_ptsz_v7000_params_st
@c.record
class struct_cudaStreamAddCallback_ptsz_v7000_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[cudaStream_t, 0]
  callback: Annotated[cudaStreamCallback_t, 8]
  userData: Annotated[ctypes.c_void_p, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cudaStreamCallback_t: TypeAlias = c.CFUNCTYPE[None, [c.POINTER[struct_CUstream_st], enum_cudaError, ctypes.c_void_p]]
cudaStreamAddCallback_ptsz_v7000_params: TypeAlias = struct_cudaStreamAddCallback_ptsz_v7000_params_st
@c.record
class struct_cudaStreamSynchronize_ptsz_v7000_params_st(c.Struct):
  SIZE = 8
  stream: Annotated[cudaStream_t, 0]
cudaStreamSynchronize_ptsz_v7000_params: TypeAlias = struct_cudaStreamSynchronize_ptsz_v7000_params_st
@c.record
class struct_cudaStreamQuery_ptsz_v7000_params_st(c.Struct):
  SIZE = 8
  stream: Annotated[cudaStream_t, 0]
cudaStreamQuery_ptsz_v7000_params: TypeAlias = struct_cudaStreamQuery_ptsz_v7000_params_st
@c.record
class struct_cudaStreamAttachMemAsync_ptsz_v7000_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[cudaStream_t, 0]
  devPtr: Annotated[ctypes.c_void_p, 8]
  length: Annotated[size_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cudaStreamAttachMemAsync_ptsz_v7000_params: TypeAlias = struct_cudaStreamAttachMemAsync_ptsz_v7000_params_st
@c.record
class struct_cudaStreamBeginCapture_ptsz_v10000_params_st(c.Struct):
  SIZE = 16
  stream: Annotated[cudaStream_t, 0]
  mode: Annotated[enum_cudaStreamCaptureMode, 8]
class enum_cudaStreamCaptureMode(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaStreamCaptureModeGlobal = enum_cudaStreamCaptureMode.define('cudaStreamCaptureModeGlobal', 0)
cudaStreamCaptureModeThreadLocal = enum_cudaStreamCaptureMode.define('cudaStreamCaptureModeThreadLocal', 1)
cudaStreamCaptureModeRelaxed = enum_cudaStreamCaptureMode.define('cudaStreamCaptureModeRelaxed', 2)

cudaStreamBeginCapture_ptsz_v10000_params: TypeAlias = struct_cudaStreamBeginCapture_ptsz_v10000_params_st
@c.record
class struct_cudaStreamBeginCaptureToGraph_ptsz_v12030_params_st(c.Struct):
  SIZE = 48
  stream: Annotated[cudaStream_t, 0]
  graph: Annotated[cudaGraph_t, 8]
  dependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  dependencyData: Annotated[c.POINTER[cudaGraphEdgeData], 24]
  numDependencies: Annotated[size_t, 32]
  mode: Annotated[enum_cudaStreamCaptureMode, 40]
cudaGraph_t: TypeAlias = c.POINTER[struct_CUgraph_st]
cudaGraphNode_t: TypeAlias = c.POINTER[struct_CUgraphNode_st]
@c.record
class struct_cudaGraphEdgeData_st(c.Struct):
  SIZE = 8
  from_port: Annotated[Annotated[int, ctypes.c_ubyte], 0]
  to_port: Annotated[Annotated[int, ctypes.c_ubyte], 1]
  type: Annotated[Annotated[int, ctypes.c_ubyte], 2]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_ubyte], Literal[5]], 3]
cudaGraphEdgeData: TypeAlias = struct_cudaGraphEdgeData_st
cudaStreamBeginCaptureToGraph_ptsz_v12030_params: TypeAlias = struct_cudaStreamBeginCaptureToGraph_ptsz_v12030_params_st
@c.record
class struct_cudaThreadExchangeStreamCaptureMode_v10010_params_st(c.Struct):
  SIZE = 8
  mode: Annotated[c.POINTER[enum_cudaStreamCaptureMode], 0]
cudaThreadExchangeStreamCaptureMode_v10010_params: TypeAlias = struct_cudaThreadExchangeStreamCaptureMode_v10010_params_st
@c.record
class struct_cudaStreamEndCapture_ptsz_v10000_params_st(c.Struct):
  SIZE = 16
  stream: Annotated[cudaStream_t, 0]
  pGraph: Annotated[c.POINTER[cudaGraph_t], 8]
cudaStreamEndCapture_ptsz_v10000_params: TypeAlias = struct_cudaStreamEndCapture_ptsz_v10000_params_st
@c.record
class struct_cudaStreamIsCapturing_ptsz_v10000_params_st(c.Struct):
  SIZE = 16
  stream: Annotated[cudaStream_t, 0]
  pCaptureStatus: Annotated[c.POINTER[enum_cudaStreamCaptureStatus], 8]
class enum_cudaStreamCaptureStatus(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaStreamCaptureStatusNone = enum_cudaStreamCaptureStatus.define('cudaStreamCaptureStatusNone', 0)
cudaStreamCaptureStatusActive = enum_cudaStreamCaptureStatus.define('cudaStreamCaptureStatusActive', 1)
cudaStreamCaptureStatusInvalidated = enum_cudaStreamCaptureStatus.define('cudaStreamCaptureStatusInvalidated', 2)

cudaStreamIsCapturing_ptsz_v10000_params: TypeAlias = struct_cudaStreamIsCapturing_ptsz_v10000_params_st
@c.record
class struct_cudaStreamGetCaptureInfo_v2_ptsz_v11030_params_st(c.Struct):
  SIZE = 48
  stream: Annotated[cudaStream_t, 0]
  captureStatus_out: Annotated[c.POINTER[enum_cudaStreamCaptureStatus], 8]
  id_out: Annotated[c.POINTER[Annotated[int, ctypes.c_uint64]], 16]
  graph_out: Annotated[c.POINTER[cudaGraph_t], 24]
  dependencies_out: Annotated[c.POINTER[c.POINTER[cudaGraphNode_t]], 32]
  numDependencies_out: Annotated[c.POINTER[size_t], 40]
cudaStreamGetCaptureInfo_v2_ptsz_v11030_params: TypeAlias = struct_cudaStreamGetCaptureInfo_v2_ptsz_v11030_params_st
@c.record
class struct_cudaStreamGetCaptureInfo_v3_ptsz_v12030_params_st(c.Struct):
  SIZE = 56
  stream: Annotated[cudaStream_t, 0]
  captureStatus_out: Annotated[c.POINTER[enum_cudaStreamCaptureStatus], 8]
  id_out: Annotated[c.POINTER[Annotated[int, ctypes.c_uint64]], 16]
  graph_out: Annotated[c.POINTER[cudaGraph_t], 24]
  dependencies_out: Annotated[c.POINTER[c.POINTER[cudaGraphNode_t]], 32]
  edgeData_out: Annotated[c.POINTER[c.POINTER[cudaGraphEdgeData]], 40]
  numDependencies_out: Annotated[c.POINTER[size_t], 48]
cudaStreamGetCaptureInfo_v3_ptsz_v12030_params: TypeAlias = struct_cudaStreamGetCaptureInfo_v3_ptsz_v12030_params_st
@c.record
class struct_cudaStreamUpdateCaptureDependencies_ptsz_v11030_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[cudaStream_t, 0]
  dependencies: Annotated[c.POINTER[cudaGraphNode_t], 8]
  numDependencies: Annotated[size_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cudaStreamUpdateCaptureDependencies_ptsz_v11030_params: TypeAlias = struct_cudaStreamUpdateCaptureDependencies_ptsz_v11030_params_st
@c.record
class struct_cudaStreamUpdateCaptureDependencies_v2_ptsz_v12030_params_st(c.Struct):
  SIZE = 40
  stream: Annotated[cudaStream_t, 0]
  dependencies: Annotated[c.POINTER[cudaGraphNode_t], 8]
  dependencyData: Annotated[c.POINTER[cudaGraphEdgeData], 16]
  numDependencies: Annotated[size_t, 24]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 32]
cudaStreamUpdateCaptureDependencies_v2_ptsz_v12030_params: TypeAlias = struct_cudaStreamUpdateCaptureDependencies_v2_ptsz_v12030_params_st
@c.record
class struct_cudaEventCreate_v3020_params_st(c.Struct):
  SIZE = 8
  event: Annotated[c.POINTER[cudaEvent_t], 0]
cudaEventCreate_v3020_params: TypeAlias = struct_cudaEventCreate_v3020_params_st
@c.record
class struct_cudaEventCreateWithFlags_v3020_params_st(c.Struct):
  SIZE = 16
  event: Annotated[c.POINTER[cudaEvent_t], 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
cudaEventCreateWithFlags_v3020_params: TypeAlias = struct_cudaEventCreateWithFlags_v3020_params_st
@c.record
class struct_cudaEventRecord_ptsz_v7000_params_st(c.Struct):
  SIZE = 16
  event: Annotated[cudaEvent_t, 0]
  stream: Annotated[cudaStream_t, 8]
cudaEventRecord_ptsz_v7000_params: TypeAlias = struct_cudaEventRecord_ptsz_v7000_params_st
@c.record
class struct_cudaEventRecordWithFlags_ptsz_v11010_params_st(c.Struct):
  SIZE = 24
  event: Annotated[cudaEvent_t, 0]
  stream: Annotated[cudaStream_t, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cudaEventRecordWithFlags_ptsz_v11010_params: TypeAlias = struct_cudaEventRecordWithFlags_ptsz_v11010_params_st
@c.record
class struct_cudaEventQuery_v3020_params_st(c.Struct):
  SIZE = 8
  event: Annotated[cudaEvent_t, 0]
cudaEventQuery_v3020_params: TypeAlias = struct_cudaEventQuery_v3020_params_st
@c.record
class struct_cudaEventSynchronize_v3020_params_st(c.Struct):
  SIZE = 8
  event: Annotated[cudaEvent_t, 0]
cudaEventSynchronize_v3020_params: TypeAlias = struct_cudaEventSynchronize_v3020_params_st
@c.record
class struct_cudaEventDestroy_v3020_params_st(c.Struct):
  SIZE = 8
  event: Annotated[cudaEvent_t, 0]
cudaEventDestroy_v3020_params: TypeAlias = struct_cudaEventDestroy_v3020_params_st
@c.record
class struct_cudaEventElapsedTime_v3020_params_st(c.Struct):
  SIZE = 24
  ms: Annotated[c.POINTER[Annotated[float, ctypes.c_float]], 0]
  start: Annotated[cudaEvent_t, 8]
  end: Annotated[cudaEvent_t, 16]
cudaEventElapsedTime_v3020_params: TypeAlias = struct_cudaEventElapsedTime_v3020_params_st
@c.record
class struct_cudaEventElapsedTime_v2_v12080_params_st(c.Struct):
  SIZE = 24
  ms: Annotated[c.POINTER[Annotated[float, ctypes.c_float]], 0]
  start: Annotated[cudaEvent_t, 8]
  end: Annotated[cudaEvent_t, 16]
cudaEventElapsedTime_v2_v12080_params: TypeAlias = struct_cudaEventElapsedTime_v2_v12080_params_st
@c.record
class struct_cudaImportExternalMemory_v10000_params_st(c.Struct):
  SIZE = 16
  extMem_out: Annotated[c.POINTER[cudaExternalMemory_t], 0]
  memHandleDesc: Annotated[c.POINTER[struct_cudaExternalMemoryHandleDesc], 8]
class struct_CUexternalMemory_st(ctypes.Structure): pass
cudaExternalMemory_t: TypeAlias = c.POINTER[struct_CUexternalMemory_st]
@c.record
class struct_cudaExternalMemoryHandleDesc(c.Struct):
  SIZE = 40
  type: Annotated[enum_cudaExternalMemoryHandleType, 0]
  handle: Annotated[struct_cudaExternalMemoryHandleDesc_handle, 8]
  size: Annotated[Annotated[int, ctypes.c_uint64], 24]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 32]
class enum_cudaExternalMemoryHandleType(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaExternalMemoryHandleTypeOpaqueFd = enum_cudaExternalMemoryHandleType.define('cudaExternalMemoryHandleTypeOpaqueFd', 1)
cudaExternalMemoryHandleTypeOpaqueWin32 = enum_cudaExternalMemoryHandleType.define('cudaExternalMemoryHandleTypeOpaqueWin32', 2)
cudaExternalMemoryHandleTypeOpaqueWin32Kmt = enum_cudaExternalMemoryHandleType.define('cudaExternalMemoryHandleTypeOpaqueWin32Kmt', 3)
cudaExternalMemoryHandleTypeD3D12Heap = enum_cudaExternalMemoryHandleType.define('cudaExternalMemoryHandleTypeD3D12Heap', 4)
cudaExternalMemoryHandleTypeD3D12Resource = enum_cudaExternalMemoryHandleType.define('cudaExternalMemoryHandleTypeD3D12Resource', 5)
cudaExternalMemoryHandleTypeD3D11Resource = enum_cudaExternalMemoryHandleType.define('cudaExternalMemoryHandleTypeD3D11Resource', 6)
cudaExternalMemoryHandleTypeD3D11ResourceKmt = enum_cudaExternalMemoryHandleType.define('cudaExternalMemoryHandleTypeD3D11ResourceKmt', 7)
cudaExternalMemoryHandleTypeNvSciBuf = enum_cudaExternalMemoryHandleType.define('cudaExternalMemoryHandleTypeNvSciBuf', 8)

@c.record
class struct_cudaExternalMemoryHandleDesc_handle(c.Struct):
  SIZE = 16
  fd: Annotated[Annotated[int, ctypes.c_int32], 0]
  win32: Annotated[struct_cudaExternalMemoryHandleDesc_handle_win32, 0]
  nvSciBufObject: Annotated[ctypes.c_void_p, 0]
@c.record
class struct_cudaExternalMemoryHandleDesc_handle_win32(c.Struct):
  SIZE = 16
  handle: Annotated[ctypes.c_void_p, 0]
  name: Annotated[ctypes.c_void_p, 8]
cudaImportExternalMemory_v10000_params: TypeAlias = struct_cudaImportExternalMemory_v10000_params_st
@c.record
class struct_cudaExternalMemoryGetMappedBuffer_v10000_params_st(c.Struct):
  SIZE = 24
  devPtr: Annotated[c.POINTER[ctypes.c_void_p], 0]
  extMem: Annotated[cudaExternalMemory_t, 8]
  bufferDesc: Annotated[c.POINTER[struct_cudaExternalMemoryBufferDesc], 16]
@c.record
class struct_cudaExternalMemoryBufferDesc(c.Struct):
  SIZE = 24
  offset: Annotated[Annotated[int, ctypes.c_uint64], 0]
  size: Annotated[Annotated[int, ctypes.c_uint64], 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cudaExternalMemoryGetMappedBuffer_v10000_params: TypeAlias = struct_cudaExternalMemoryGetMappedBuffer_v10000_params_st
@c.record
class struct_cudaExternalMemoryGetMappedMipmappedArray_v10000_params_st(c.Struct):
  SIZE = 24
  mipmap: Annotated[c.POINTER[cudaMipmappedArray_t], 0]
  extMem: Annotated[cudaExternalMemory_t, 8]
  mipmapDesc: Annotated[c.POINTER[struct_cudaExternalMemoryMipmappedArrayDesc], 16]
class struct_cudaMipmappedArray(ctypes.Structure): pass
cudaMipmappedArray_t: TypeAlias = c.POINTER[struct_cudaMipmappedArray]
@c.record
class struct_cudaExternalMemoryMipmappedArrayDesc(c.Struct):
  SIZE = 64
  offset: Annotated[Annotated[int, ctypes.c_uint64], 0]
  formatDesc: Annotated[struct_cudaChannelFormatDesc, 8]
  extent: Annotated[struct_cudaExtent, 32]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 56]
  numLevels: Annotated[Annotated[int, ctypes.c_uint32], 60]
@c.record
class struct_cudaExtent(c.Struct):
  SIZE = 24
  width: Annotated[size_t, 0]
  height: Annotated[size_t, 8]
  depth: Annotated[size_t, 16]
cudaExternalMemoryGetMappedMipmappedArray_v10000_params: TypeAlias = struct_cudaExternalMemoryGetMappedMipmappedArray_v10000_params_st
@c.record
class struct_cudaDestroyExternalMemory_v10000_params_st(c.Struct):
  SIZE = 8
  extMem: Annotated[cudaExternalMemory_t, 0]
cudaDestroyExternalMemory_v10000_params: TypeAlias = struct_cudaDestroyExternalMemory_v10000_params_st
@c.record
class struct_cudaImportExternalSemaphore_v10000_params_st(c.Struct):
  SIZE = 16
  extSem_out: Annotated[c.POINTER[cudaExternalSemaphore_t], 0]
  semHandleDesc: Annotated[c.POINTER[struct_cudaExternalSemaphoreHandleDesc], 8]
class struct_CUexternalSemaphore_st(ctypes.Structure): pass
cudaExternalSemaphore_t: TypeAlias = c.POINTER[struct_CUexternalSemaphore_st]
@c.record
class struct_cudaExternalSemaphoreHandleDesc(c.Struct):
  SIZE = 32
  type: Annotated[enum_cudaExternalSemaphoreHandleType, 0]
  handle: Annotated[struct_cudaExternalSemaphoreHandleDesc_handle, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
class enum_cudaExternalSemaphoreHandleType(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaExternalSemaphoreHandleTypeOpaqueFd = enum_cudaExternalSemaphoreHandleType.define('cudaExternalSemaphoreHandleTypeOpaqueFd', 1)
cudaExternalSemaphoreHandleTypeOpaqueWin32 = enum_cudaExternalSemaphoreHandleType.define('cudaExternalSemaphoreHandleTypeOpaqueWin32', 2)
cudaExternalSemaphoreHandleTypeOpaqueWin32Kmt = enum_cudaExternalSemaphoreHandleType.define('cudaExternalSemaphoreHandleTypeOpaqueWin32Kmt', 3)
cudaExternalSemaphoreHandleTypeD3D12Fence = enum_cudaExternalSemaphoreHandleType.define('cudaExternalSemaphoreHandleTypeD3D12Fence', 4)
cudaExternalSemaphoreHandleTypeD3D11Fence = enum_cudaExternalSemaphoreHandleType.define('cudaExternalSemaphoreHandleTypeD3D11Fence', 5)
cudaExternalSemaphoreHandleTypeNvSciSync = enum_cudaExternalSemaphoreHandleType.define('cudaExternalSemaphoreHandleTypeNvSciSync', 6)
cudaExternalSemaphoreHandleTypeKeyedMutex = enum_cudaExternalSemaphoreHandleType.define('cudaExternalSemaphoreHandleTypeKeyedMutex', 7)
cudaExternalSemaphoreHandleTypeKeyedMutexKmt = enum_cudaExternalSemaphoreHandleType.define('cudaExternalSemaphoreHandleTypeKeyedMutexKmt', 8)
cudaExternalSemaphoreHandleTypeTimelineSemaphoreFd = enum_cudaExternalSemaphoreHandleType.define('cudaExternalSemaphoreHandleTypeTimelineSemaphoreFd', 9)
cudaExternalSemaphoreHandleTypeTimelineSemaphoreWin32 = enum_cudaExternalSemaphoreHandleType.define('cudaExternalSemaphoreHandleTypeTimelineSemaphoreWin32', 10)

@c.record
class struct_cudaExternalSemaphoreHandleDesc_handle(c.Struct):
  SIZE = 16
  fd: Annotated[Annotated[int, ctypes.c_int32], 0]
  win32: Annotated[struct_cudaExternalSemaphoreHandleDesc_handle_win32, 0]
  nvSciSyncObj: Annotated[ctypes.c_void_p, 0]
@c.record
class struct_cudaExternalSemaphoreHandleDesc_handle_win32(c.Struct):
  SIZE = 16
  handle: Annotated[ctypes.c_void_p, 0]
  name: Annotated[ctypes.c_void_p, 8]
cudaImportExternalSemaphore_v10000_params: TypeAlias = struct_cudaImportExternalSemaphore_v10000_params_st
@c.record
class struct_cudaSignalExternalSemaphoresAsync_v2_ptsz_v11020_params_st(c.Struct):
  SIZE = 32
  extSemArray: Annotated[c.POINTER[cudaExternalSemaphore_t], 0]
  paramsArray: Annotated[c.POINTER[struct_cudaExternalSemaphoreSignalParams], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
  stream: Annotated[cudaStream_t, 24]
@c.record
class struct_cudaExternalSemaphoreSignalParams(c.Struct):
  SIZE = 144
  params: Annotated[struct_cudaExternalSemaphoreSignalParams_params, 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 72]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[16]], 76]
@c.record
class struct_cudaExternalSemaphoreSignalParams_params(c.Struct):
  SIZE = 72
  fence: Annotated[struct_cudaExternalSemaphoreSignalParams_params_fence, 0]
  nvSciSync: Annotated[struct_cudaExternalSemaphoreSignalParams_params_nvSciSync, 8]
  keyedMutex: Annotated[struct_cudaExternalSemaphoreSignalParams_params_keyedMutex, 16]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[12]], 24]
@c.record
class struct_cudaExternalSemaphoreSignalParams_params_fence(c.Struct):
  SIZE = 8
  value: Annotated[Annotated[int, ctypes.c_uint64], 0]
@c.record
class struct_cudaExternalSemaphoreSignalParams_params_nvSciSync(c.Struct):
  SIZE = 8
  fence: Annotated[ctypes.c_void_p, 0]
  reserved: Annotated[Annotated[int, ctypes.c_uint64], 0]
@c.record
class struct_cudaExternalSemaphoreSignalParams_params_keyedMutex(c.Struct):
  SIZE = 8
  key: Annotated[Annotated[int, ctypes.c_uint64], 0]
cudaSignalExternalSemaphoresAsync_v2_ptsz_v11020_params: TypeAlias = struct_cudaSignalExternalSemaphoresAsync_v2_ptsz_v11020_params_st
@c.record
class struct_cudaWaitExternalSemaphoresAsync_v2_ptsz_v11020_params_st(c.Struct):
  SIZE = 32
  extSemArray: Annotated[c.POINTER[cudaExternalSemaphore_t], 0]
  paramsArray: Annotated[c.POINTER[struct_cudaExternalSemaphoreWaitParams], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
  stream: Annotated[cudaStream_t, 24]
@c.record
class struct_cudaExternalSemaphoreWaitParams(c.Struct):
  SIZE = 144
  params: Annotated[struct_cudaExternalSemaphoreWaitParams_params, 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 72]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[16]], 76]
@c.record
class struct_cudaExternalSemaphoreWaitParams_params(c.Struct):
  SIZE = 72
  fence: Annotated[struct_cudaExternalSemaphoreWaitParams_params_fence, 0]
  nvSciSync: Annotated[struct_cudaExternalSemaphoreWaitParams_params_nvSciSync, 8]
  keyedMutex: Annotated[struct_cudaExternalSemaphoreWaitParams_params_keyedMutex, 16]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[10]], 32]
@c.record
class struct_cudaExternalSemaphoreWaitParams_params_fence(c.Struct):
  SIZE = 8
  value: Annotated[Annotated[int, ctypes.c_uint64], 0]
@c.record
class struct_cudaExternalSemaphoreWaitParams_params_nvSciSync(c.Struct):
  SIZE = 8
  fence: Annotated[ctypes.c_void_p, 0]
  reserved: Annotated[Annotated[int, ctypes.c_uint64], 0]
@c.record
class struct_cudaExternalSemaphoreWaitParams_params_keyedMutex(c.Struct):
  SIZE = 16
  key: Annotated[Annotated[int, ctypes.c_uint64], 0]
  timeoutMs: Annotated[Annotated[int, ctypes.c_uint32], 8]
cudaWaitExternalSemaphoresAsync_v2_ptsz_v11020_params: TypeAlias = struct_cudaWaitExternalSemaphoresAsync_v2_ptsz_v11020_params_st
@c.record
class struct_cudaDestroyExternalSemaphore_v10000_params_st(c.Struct):
  SIZE = 8
  extSem: Annotated[cudaExternalSemaphore_t, 0]
cudaDestroyExternalSemaphore_v10000_params: TypeAlias = struct_cudaDestroyExternalSemaphore_v10000_params_st
@c.record
class struct_cudaLaunchKernel_ptsz_v7000_params_st(c.Struct):
  SIZE = 56
  func: Annotated[ctypes.c_void_p, 0]
  gridDim: Annotated[dim3, 8]
  blockDim: Annotated[dim3, 20]
  args: Annotated[c.POINTER[ctypes.c_void_p], 32]
  sharedMem: Annotated[size_t, 40]
  stream: Annotated[cudaStream_t, 48]
@c.record
class struct_dim3(c.Struct):
  SIZE = 12
  x: Annotated[Annotated[int, ctypes.c_uint32], 0]
  y: Annotated[Annotated[int, ctypes.c_uint32], 4]
  z: Annotated[Annotated[int, ctypes.c_uint32], 8]
dim3: TypeAlias = struct_dim3
cudaLaunchKernel_ptsz_v7000_params: TypeAlias = struct_cudaLaunchKernel_ptsz_v7000_params_st
@c.record
class struct_cudaLaunchKernelExC_ptsz_v11060_params_st(c.Struct):
  SIZE = 24
  config: Annotated[c.POINTER[cudaLaunchConfig_t], 0]
  func: Annotated[ctypes.c_void_p, 8]
  args: Annotated[c.POINTER[ctypes.c_void_p], 16]
@c.record
class struct_cudaLaunchConfig_st(c.Struct):
  SIZE = 56
  gridDim: Annotated[dim3, 0]
  blockDim: Annotated[dim3, 12]
  dynamicSmemBytes: Annotated[size_t, 24]
  stream: Annotated[cudaStream_t, 32]
  attrs: Annotated[c.POINTER[cudaLaunchAttribute], 40]
  numAttrs: Annotated[Annotated[int, ctypes.c_uint32], 48]
cudaLaunchConfig_t: TypeAlias = struct_cudaLaunchConfig_st
@c.record
class struct_cudaLaunchAttribute_st(c.Struct):
  SIZE = 72
  id: Annotated[cudaLaunchAttributeID, 0]
  pad: Annotated[c.Array[Annotated[bytes, ctypes.c_char], Literal[4]], 4]
  val: Annotated[cudaLaunchAttributeValue, 8]
cudaLaunchAttribute: TypeAlias = struct_cudaLaunchAttribute_st
cudaLaunchKernelExC_ptsz_v11060_params: TypeAlias = struct_cudaLaunchKernelExC_ptsz_v11060_params_st
@c.record
class struct_cudaLaunchCooperativeKernel_ptsz_v9000_params_st(c.Struct):
  SIZE = 56
  func: Annotated[ctypes.c_void_p, 0]
  gridDim: Annotated[dim3, 8]
  blockDim: Annotated[dim3, 20]
  args: Annotated[c.POINTER[ctypes.c_void_p], 32]
  sharedMem: Annotated[size_t, 40]
  stream: Annotated[cudaStream_t, 48]
cudaLaunchCooperativeKernel_ptsz_v9000_params: TypeAlias = struct_cudaLaunchCooperativeKernel_ptsz_v9000_params_st
@c.record
class struct_cudaLaunchCooperativeKernelMultiDevice_v9000_params_st(c.Struct):
  SIZE = 16
  launchParamsList: Annotated[c.POINTER[struct_cudaLaunchParams], 0]
  numDevices: Annotated[Annotated[int, ctypes.c_uint32], 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 12]
@c.record
class struct_cudaLaunchParams(c.Struct):
  SIZE = 56
  func: Annotated[ctypes.c_void_p, 0]
  gridDim: Annotated[dim3, 8]
  blockDim: Annotated[dim3, 20]
  args: Annotated[c.POINTER[ctypes.c_void_p], 32]
  sharedMem: Annotated[size_t, 40]
  stream: Annotated[cudaStream_t, 48]
cudaLaunchCooperativeKernelMultiDevice_v9000_params: TypeAlias = struct_cudaLaunchCooperativeKernelMultiDevice_v9000_params_st
@c.record
class struct_cudaFuncSetCacheConfig_v3020_params_st(c.Struct):
  SIZE = 16
  func: Annotated[ctypes.c_void_p, 0]
  cacheConfig: Annotated[enum_cudaFuncCache, 8]
cudaFuncSetCacheConfig_v3020_params: TypeAlias = struct_cudaFuncSetCacheConfig_v3020_params_st
@c.record
class struct_cudaFuncGetAttributes_v3020_params_st(c.Struct):
  SIZE = 16
  attr: Annotated[c.POINTER[struct_cudaFuncAttributes], 0]
  func: Annotated[ctypes.c_void_p, 8]
@c.record
class struct_cudaFuncAttributes(c.Struct):
  SIZE = 144
  sharedSizeBytes: Annotated[size_t, 0]
  constSizeBytes: Annotated[size_t, 8]
  localSizeBytes: Annotated[size_t, 16]
  maxThreadsPerBlock: Annotated[Annotated[int, ctypes.c_int32], 24]
  numRegs: Annotated[Annotated[int, ctypes.c_int32], 28]
  ptxVersion: Annotated[Annotated[int, ctypes.c_int32], 32]
  binaryVersion: Annotated[Annotated[int, ctypes.c_int32], 36]
  cacheModeCA: Annotated[Annotated[int, ctypes.c_int32], 40]
  maxDynamicSharedSizeBytes: Annotated[Annotated[int, ctypes.c_int32], 44]
  preferredShmemCarveout: Annotated[Annotated[int, ctypes.c_int32], 48]
  clusterDimMustBeSet: Annotated[Annotated[int, ctypes.c_int32], 52]
  requiredClusterWidth: Annotated[Annotated[int, ctypes.c_int32], 56]
  requiredClusterHeight: Annotated[Annotated[int, ctypes.c_int32], 60]
  requiredClusterDepth: Annotated[Annotated[int, ctypes.c_int32], 64]
  clusterSchedulingPolicyPreference: Annotated[Annotated[int, ctypes.c_int32], 68]
  nonPortableClusterSizeAllowed: Annotated[Annotated[int, ctypes.c_int32], 72]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[16]], 76]
cudaFuncGetAttributes_v3020_params: TypeAlias = struct_cudaFuncGetAttributes_v3020_params_st
@c.record
class struct_cudaFuncSetAttribute_v9000_params_st(c.Struct):
  SIZE = 16
  func: Annotated[ctypes.c_void_p, 0]
  attr: Annotated[enum_cudaFuncAttribute, 8]
  value: Annotated[Annotated[int, ctypes.c_int32], 12]
class enum_cudaFuncAttribute(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaFuncAttributeMaxDynamicSharedMemorySize = enum_cudaFuncAttribute.define('cudaFuncAttributeMaxDynamicSharedMemorySize', 8)
cudaFuncAttributePreferredSharedMemoryCarveout = enum_cudaFuncAttribute.define('cudaFuncAttributePreferredSharedMemoryCarveout', 9)
cudaFuncAttributeClusterDimMustBeSet = enum_cudaFuncAttribute.define('cudaFuncAttributeClusterDimMustBeSet', 10)
cudaFuncAttributeRequiredClusterWidth = enum_cudaFuncAttribute.define('cudaFuncAttributeRequiredClusterWidth', 11)
cudaFuncAttributeRequiredClusterHeight = enum_cudaFuncAttribute.define('cudaFuncAttributeRequiredClusterHeight', 12)
cudaFuncAttributeRequiredClusterDepth = enum_cudaFuncAttribute.define('cudaFuncAttributeRequiredClusterDepth', 13)
cudaFuncAttributeNonPortableClusterSizeAllowed = enum_cudaFuncAttribute.define('cudaFuncAttributeNonPortableClusterSizeAllowed', 14)
cudaFuncAttributeClusterSchedulingPolicyPreference = enum_cudaFuncAttribute.define('cudaFuncAttributeClusterSchedulingPolicyPreference', 15)
cudaFuncAttributeMax = enum_cudaFuncAttribute.define('cudaFuncAttributeMax', 16)

cudaFuncSetAttribute_v9000_params: TypeAlias = struct_cudaFuncSetAttribute_v9000_params_st
@c.record
class struct_cudaFuncGetName_v12030_params_st(c.Struct):
  SIZE = 16
  name: Annotated[c.POINTER[c.POINTER[Annotated[bytes, ctypes.c_char]]], 0]
  func: Annotated[ctypes.c_void_p, 8]
cudaFuncGetName_v12030_params: TypeAlias = struct_cudaFuncGetName_v12030_params_st
@c.record
class struct_cudaFuncGetParamInfo_v12040_params_st(c.Struct):
  SIZE = 32
  func: Annotated[ctypes.c_void_p, 0]
  paramIndex: Annotated[size_t, 8]
  paramOffset: Annotated[c.POINTER[size_t], 16]
  paramSize: Annotated[c.POINTER[size_t], 24]
cudaFuncGetParamInfo_v12040_params: TypeAlias = struct_cudaFuncGetParamInfo_v12040_params_st
@c.record
class struct_cudaLaunchHostFunc_ptsz_v10000_params_st(c.Struct):
  SIZE = 24
  stream: Annotated[cudaStream_t, 0]
  fn: Annotated[cudaHostFn_t, 8]
  userData: Annotated[ctypes.c_void_p, 16]
cudaHostFn_t: TypeAlias = c.CFUNCTYPE[None, [ctypes.c_void_p]]
cudaLaunchHostFunc_ptsz_v10000_params: TypeAlias = struct_cudaLaunchHostFunc_ptsz_v10000_params_st
@c.record
class struct_cudaFuncSetSharedMemConfig_v4020_params_st(c.Struct):
  SIZE = 16
  func: Annotated[ctypes.c_void_p, 0]
  config: Annotated[enum_cudaSharedMemConfig, 8]
cudaFuncSetSharedMemConfig_v4020_params: TypeAlias = struct_cudaFuncSetSharedMemConfig_v4020_params_st
@c.record
class struct_cudaOccupancyMaxActiveBlocksPerMultiprocessor_v6050_params_st(c.Struct):
  SIZE = 32
  numBlocks: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  func: Annotated[ctypes.c_void_p, 8]
  blockSize: Annotated[Annotated[int, ctypes.c_int32], 16]
  dynamicSMemSize: Annotated[size_t, 24]
cudaOccupancyMaxActiveBlocksPerMultiprocessor_v6050_params: TypeAlias = struct_cudaOccupancyMaxActiveBlocksPerMultiprocessor_v6050_params_st
@c.record
class struct_cudaOccupancyAvailableDynamicSMemPerBlock_v10200_params_st(c.Struct):
  SIZE = 24
  dynamicSmemSize: Annotated[c.POINTER[size_t], 0]
  func: Annotated[ctypes.c_void_p, 8]
  numBlocks: Annotated[Annotated[int, ctypes.c_int32], 16]
  blockSize: Annotated[Annotated[int, ctypes.c_int32], 20]
cudaOccupancyAvailableDynamicSMemPerBlock_v10200_params: TypeAlias = struct_cudaOccupancyAvailableDynamicSMemPerBlock_v10200_params_st
@c.record
class struct_cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_v7000_params_st(c.Struct):
  SIZE = 40
  numBlocks: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  func: Annotated[ctypes.c_void_p, 8]
  blockSize: Annotated[Annotated[int, ctypes.c_int32], 16]
  dynamicSMemSize: Annotated[size_t, 24]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 32]
cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_v7000_params: TypeAlias = struct_cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags_v7000_params_st
@c.record
class struct_cudaOccupancyMaxPotentialClusterSize_v11070_params_st(c.Struct):
  SIZE = 24
  clusterSize: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  func: Annotated[ctypes.c_void_p, 8]
  launchConfig: Annotated[c.POINTER[cudaLaunchConfig_t], 16]
cudaOccupancyMaxPotentialClusterSize_v11070_params: TypeAlias = struct_cudaOccupancyMaxPotentialClusterSize_v11070_params_st
@c.record
class struct_cudaOccupancyMaxActiveClusters_v11070_params_st(c.Struct):
  SIZE = 24
  numClusters: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  func: Annotated[ctypes.c_void_p, 8]
  launchConfig: Annotated[c.POINTER[cudaLaunchConfig_t], 16]
cudaOccupancyMaxActiveClusters_v11070_params: TypeAlias = struct_cudaOccupancyMaxActiveClusters_v11070_params_st
@c.record
class struct_cudaMallocManaged_v6000_params_st(c.Struct):
  SIZE = 24
  devPtr: Annotated[c.POINTER[ctypes.c_void_p], 0]
  size: Annotated[size_t, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cudaMallocManaged_v6000_params: TypeAlias = struct_cudaMallocManaged_v6000_params_st
@c.record
class struct_cudaMalloc_v3020_params_st(c.Struct):
  SIZE = 16
  devPtr: Annotated[c.POINTER[ctypes.c_void_p], 0]
  size: Annotated[size_t, 8]
cudaMalloc_v3020_params: TypeAlias = struct_cudaMalloc_v3020_params_st
@c.record
class struct_cudaMallocHost_v3020_params_st(c.Struct):
  SIZE = 16
  ptr: Annotated[c.POINTER[ctypes.c_void_p], 0]
  size: Annotated[size_t, 8]
cudaMallocHost_v3020_params: TypeAlias = struct_cudaMallocHost_v3020_params_st
@c.record
class struct_cudaMallocPitch_v3020_params_st(c.Struct):
  SIZE = 32
  devPtr: Annotated[c.POINTER[ctypes.c_void_p], 0]
  pitch: Annotated[c.POINTER[size_t], 8]
  width: Annotated[size_t, 16]
  height: Annotated[size_t, 24]
cudaMallocPitch_v3020_params: TypeAlias = struct_cudaMallocPitch_v3020_params_st
@c.record
class struct_cudaMallocArray_v3020_params_st(c.Struct):
  SIZE = 40
  array: Annotated[c.POINTER[cudaArray_t], 0]
  desc: Annotated[c.POINTER[struct_cudaChannelFormatDesc], 8]
  width: Annotated[size_t, 16]
  height: Annotated[size_t, 24]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 32]
class struct_cudaArray(ctypes.Structure): pass
cudaArray_t: TypeAlias = c.POINTER[struct_cudaArray]
cudaMallocArray_v3020_params: TypeAlias = struct_cudaMallocArray_v3020_params_st
@c.record
class struct_cudaFree_v3020_params_st(c.Struct):
  SIZE = 8
  devPtr: Annotated[ctypes.c_void_p, 0]
cudaFree_v3020_params: TypeAlias = struct_cudaFree_v3020_params_st
@c.record
class struct_cudaFreeHost_v3020_params_st(c.Struct):
  SIZE = 8
  ptr: Annotated[ctypes.c_void_p, 0]
cudaFreeHost_v3020_params: TypeAlias = struct_cudaFreeHost_v3020_params_st
@c.record
class struct_cudaFreeArray_v3020_params_st(c.Struct):
  SIZE = 8
  array: Annotated[cudaArray_t, 0]
cudaFreeArray_v3020_params: TypeAlias = struct_cudaFreeArray_v3020_params_st
@c.record
class struct_cudaFreeMipmappedArray_v5000_params_st(c.Struct):
  SIZE = 8
  mipmappedArray: Annotated[cudaMipmappedArray_t, 0]
cudaFreeMipmappedArray_v5000_params: TypeAlias = struct_cudaFreeMipmappedArray_v5000_params_st
@c.record
class struct_cudaHostAlloc_v3020_params_st(c.Struct):
  SIZE = 24
  pHost: Annotated[c.POINTER[ctypes.c_void_p], 0]
  size: Annotated[size_t, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cudaHostAlloc_v3020_params: TypeAlias = struct_cudaHostAlloc_v3020_params_st
@c.record
class struct_cudaHostRegister_v4000_params_st(c.Struct):
  SIZE = 24
  ptr: Annotated[ctypes.c_void_p, 0]
  size: Annotated[size_t, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cudaHostRegister_v4000_params: TypeAlias = struct_cudaHostRegister_v4000_params_st
@c.record
class struct_cudaHostUnregister_v4000_params_st(c.Struct):
  SIZE = 8
  ptr: Annotated[ctypes.c_void_p, 0]
cudaHostUnregister_v4000_params: TypeAlias = struct_cudaHostUnregister_v4000_params_st
@c.record
class struct_cudaHostGetDevicePointer_v3020_params_st(c.Struct):
  SIZE = 24
  pDevice: Annotated[c.POINTER[ctypes.c_void_p], 0]
  pHost: Annotated[ctypes.c_void_p, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cudaHostGetDevicePointer_v3020_params: TypeAlias = struct_cudaHostGetDevicePointer_v3020_params_st
@c.record
class struct_cudaHostGetFlags_v3020_params_st(c.Struct):
  SIZE = 16
  pFlags: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 0]
  pHost: Annotated[ctypes.c_void_p, 8]
cudaHostGetFlags_v3020_params: TypeAlias = struct_cudaHostGetFlags_v3020_params_st
@c.record
class struct_cudaMalloc3D_v3020_params_st(c.Struct):
  SIZE = 32
  pitchedDevPtr: Annotated[c.POINTER[struct_cudaPitchedPtr], 0]
  extent: Annotated[struct_cudaExtent, 8]
@c.record
class struct_cudaPitchedPtr(c.Struct):
  SIZE = 32
  ptr: Annotated[ctypes.c_void_p, 0]
  pitch: Annotated[size_t, 8]
  xsize: Annotated[size_t, 16]
  ysize: Annotated[size_t, 24]
cudaMalloc3D_v3020_params: TypeAlias = struct_cudaMalloc3D_v3020_params_st
@c.record
class struct_cudaMalloc3DArray_v3020_params_st(c.Struct):
  SIZE = 48
  array: Annotated[c.POINTER[cudaArray_t], 0]
  desc: Annotated[c.POINTER[struct_cudaChannelFormatDesc], 8]
  extent: Annotated[struct_cudaExtent, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 40]
cudaMalloc3DArray_v3020_params: TypeAlias = struct_cudaMalloc3DArray_v3020_params_st
@c.record
class struct_cudaMallocMipmappedArray_v5000_params_st(c.Struct):
  SIZE = 48
  mipmappedArray: Annotated[c.POINTER[cudaMipmappedArray_t], 0]
  desc: Annotated[c.POINTER[struct_cudaChannelFormatDesc], 8]
  extent: Annotated[struct_cudaExtent, 16]
  numLevels: Annotated[Annotated[int, ctypes.c_uint32], 40]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 44]
cudaMallocMipmappedArray_v5000_params: TypeAlias = struct_cudaMallocMipmappedArray_v5000_params_st
@c.record
class struct_cudaGetMipmappedArrayLevel_v5000_params_st(c.Struct):
  SIZE = 24
  levelArray: Annotated[c.POINTER[cudaArray_t], 0]
  mipmappedArray: Annotated[cudaMipmappedArray_const_t, 8]
  level: Annotated[Annotated[int, ctypes.c_uint32], 16]
cudaMipmappedArray_const_t: TypeAlias = c.POINTER[struct_cudaMipmappedArray]
cudaGetMipmappedArrayLevel_v5000_params: TypeAlias = struct_cudaGetMipmappedArrayLevel_v5000_params_st
@c.record
class struct_cudaMemcpy3D_ptds_v7000_params_st(c.Struct):
  SIZE = 8
  p: Annotated[c.POINTER[struct_cudaMemcpy3DParms], 0]
@c.record
class struct_cudaMemcpy3DParms(c.Struct):
  SIZE = 160
  srcArray: Annotated[cudaArray_t, 0]
  srcPos: Annotated[struct_cudaPos, 8]
  srcPtr: Annotated[struct_cudaPitchedPtr, 32]
  dstArray: Annotated[cudaArray_t, 64]
  dstPos: Annotated[struct_cudaPos, 72]
  dstPtr: Annotated[struct_cudaPitchedPtr, 96]
  extent: Annotated[struct_cudaExtent, 128]
  kind: Annotated[enum_cudaMemcpyKind, 152]
@c.record
class struct_cudaPos(c.Struct):
  SIZE = 24
  x: Annotated[size_t, 0]
  y: Annotated[size_t, 8]
  z: Annotated[size_t, 16]
class enum_cudaMemcpyKind(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaMemcpyHostToHost = enum_cudaMemcpyKind.define('cudaMemcpyHostToHost', 0)
cudaMemcpyHostToDevice = enum_cudaMemcpyKind.define('cudaMemcpyHostToDevice', 1)
cudaMemcpyDeviceToHost = enum_cudaMemcpyKind.define('cudaMemcpyDeviceToHost', 2)
cudaMemcpyDeviceToDevice = enum_cudaMemcpyKind.define('cudaMemcpyDeviceToDevice', 3)
cudaMemcpyDefault = enum_cudaMemcpyKind.define('cudaMemcpyDefault', 4)

cudaMemcpy3D_ptds_v7000_params: TypeAlias = struct_cudaMemcpy3D_ptds_v7000_params_st
@c.record
class struct_cudaMemcpy3DPeer_ptds_v7000_params_st(c.Struct):
  SIZE = 8
  p: Annotated[c.POINTER[struct_cudaMemcpy3DPeerParms], 0]
@c.record
class struct_cudaMemcpy3DPeerParms(c.Struct):
  SIZE = 168
  srcArray: Annotated[cudaArray_t, 0]
  srcPos: Annotated[struct_cudaPos, 8]
  srcPtr: Annotated[struct_cudaPitchedPtr, 32]
  srcDevice: Annotated[Annotated[int, ctypes.c_int32], 64]
  dstArray: Annotated[cudaArray_t, 72]
  dstPos: Annotated[struct_cudaPos, 80]
  dstPtr: Annotated[struct_cudaPitchedPtr, 104]
  dstDevice: Annotated[Annotated[int, ctypes.c_int32], 136]
  extent: Annotated[struct_cudaExtent, 144]
cudaMemcpy3DPeer_ptds_v7000_params: TypeAlias = struct_cudaMemcpy3DPeer_ptds_v7000_params_st
@c.record
class struct_cudaMemcpy3DAsync_ptsz_v7000_params_st(c.Struct):
  SIZE = 16
  p: Annotated[c.POINTER[struct_cudaMemcpy3DParms], 0]
  stream: Annotated[cudaStream_t, 8]
cudaMemcpy3DAsync_ptsz_v7000_params: TypeAlias = struct_cudaMemcpy3DAsync_ptsz_v7000_params_st
@c.record
class struct_cudaMemcpy3DPeerAsync_ptsz_v7000_params_st(c.Struct):
  SIZE = 16
  p: Annotated[c.POINTER[struct_cudaMemcpy3DPeerParms], 0]
  stream: Annotated[cudaStream_t, 8]
cudaMemcpy3DPeerAsync_ptsz_v7000_params: TypeAlias = struct_cudaMemcpy3DPeerAsync_ptsz_v7000_params_st
@c.record
class struct_cudaMemGetInfo_v3020_params_st(c.Struct):
  SIZE = 16
  free: Annotated[c.POINTER[size_t], 0]
  total: Annotated[c.POINTER[size_t], 8]
cudaMemGetInfo_v3020_params: TypeAlias = struct_cudaMemGetInfo_v3020_params_st
@c.record
class struct_cudaArrayGetInfo_v4010_params_st(c.Struct):
  SIZE = 32
  desc: Annotated[c.POINTER[struct_cudaChannelFormatDesc], 0]
  extent: Annotated[c.POINTER[struct_cudaExtent], 8]
  flags: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 16]
  array: Annotated[cudaArray_t, 24]
cudaArrayGetInfo_v4010_params: TypeAlias = struct_cudaArrayGetInfo_v4010_params_st
@c.record
class struct_cudaArrayGetPlane_v11020_params_st(c.Struct):
  SIZE = 24
  pPlaneArray: Annotated[c.POINTER[cudaArray_t], 0]
  hArray: Annotated[cudaArray_t, 8]
  planeIdx: Annotated[Annotated[int, ctypes.c_uint32], 16]
cudaArrayGetPlane_v11020_params: TypeAlias = struct_cudaArrayGetPlane_v11020_params_st
@c.record
class struct_cudaArrayGetMemoryRequirements_v11060_params_st(c.Struct):
  SIZE = 24
  memoryRequirements: Annotated[c.POINTER[struct_cudaArrayMemoryRequirements], 0]
  array: Annotated[cudaArray_t, 8]
  device: Annotated[Annotated[int, ctypes.c_int32], 16]
@c.record
class struct_cudaArrayMemoryRequirements(c.Struct):
  SIZE = 32
  size: Annotated[size_t, 0]
  alignment: Annotated[size_t, 8]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[4]], 16]
cudaArrayGetMemoryRequirements_v11060_params: TypeAlias = struct_cudaArrayGetMemoryRequirements_v11060_params_st
@c.record
class struct_cudaMipmappedArrayGetMemoryRequirements_v11060_params_st(c.Struct):
  SIZE = 24
  memoryRequirements: Annotated[c.POINTER[struct_cudaArrayMemoryRequirements], 0]
  mipmap: Annotated[cudaMipmappedArray_t, 8]
  device: Annotated[Annotated[int, ctypes.c_int32], 16]
cudaMipmappedArrayGetMemoryRequirements_v11060_params: TypeAlias = struct_cudaMipmappedArrayGetMemoryRequirements_v11060_params_st
@c.record
class struct_cudaArrayGetSparseProperties_v11010_params_st(c.Struct):
  SIZE = 16
  sparseProperties: Annotated[c.POINTER[struct_cudaArraySparseProperties], 0]
  array: Annotated[cudaArray_t, 8]
@c.record
class struct_cudaArraySparseProperties(c.Struct):
  SIZE = 48
  tileExtent: Annotated[struct_cudaArraySparseProperties_tileExtent, 0]
  miptailFirstLevel: Annotated[Annotated[int, ctypes.c_uint32], 12]
  miptailSize: Annotated[Annotated[int, ctypes.c_uint64], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_uint32], Literal[4]], 28]
@c.record
class struct_cudaArraySparseProperties_tileExtent(c.Struct):
  SIZE = 12
  width: Annotated[Annotated[int, ctypes.c_uint32], 0]
  height: Annotated[Annotated[int, ctypes.c_uint32], 4]
  depth: Annotated[Annotated[int, ctypes.c_uint32], 8]
cudaArrayGetSparseProperties_v11010_params: TypeAlias = struct_cudaArrayGetSparseProperties_v11010_params_st
@c.record
class struct_cudaMipmappedArrayGetSparseProperties_v11010_params_st(c.Struct):
  SIZE = 16
  sparseProperties: Annotated[c.POINTER[struct_cudaArraySparseProperties], 0]
  mipmap: Annotated[cudaMipmappedArray_t, 8]
cudaMipmappedArrayGetSparseProperties_v11010_params: TypeAlias = struct_cudaMipmappedArrayGetSparseProperties_v11010_params_st
@c.record
class struct_cudaMemcpy_ptds_v7000_params_st(c.Struct):
  SIZE = 32
  dst: Annotated[ctypes.c_void_p, 0]
  src: Annotated[ctypes.c_void_p, 8]
  count: Annotated[size_t, 16]
  kind: Annotated[enum_cudaMemcpyKind, 24]
cudaMemcpy_ptds_v7000_params: TypeAlias = struct_cudaMemcpy_ptds_v7000_params_st
@c.record
class struct_cudaMemcpyPeer_v4000_params_st(c.Struct):
  SIZE = 40
  dst: Annotated[ctypes.c_void_p, 0]
  dstDevice: Annotated[Annotated[int, ctypes.c_int32], 8]
  src: Annotated[ctypes.c_void_p, 16]
  srcDevice: Annotated[Annotated[int, ctypes.c_int32], 24]
  count: Annotated[size_t, 32]
cudaMemcpyPeer_v4000_params: TypeAlias = struct_cudaMemcpyPeer_v4000_params_st
@c.record
class struct_cudaMemcpy2D_ptds_v7000_params_st(c.Struct):
  SIZE = 56
  dst: Annotated[ctypes.c_void_p, 0]
  dpitch: Annotated[size_t, 8]
  src: Annotated[ctypes.c_void_p, 16]
  spitch: Annotated[size_t, 24]
  width: Annotated[size_t, 32]
  height: Annotated[size_t, 40]
  kind: Annotated[enum_cudaMemcpyKind, 48]
cudaMemcpy2D_ptds_v7000_params: TypeAlias = struct_cudaMemcpy2D_ptds_v7000_params_st
@c.record
class struct_cudaMemcpy2DToArray_ptds_v7000_params_st(c.Struct):
  SIZE = 64
  dst: Annotated[cudaArray_t, 0]
  wOffset: Annotated[size_t, 8]
  hOffset: Annotated[size_t, 16]
  src: Annotated[ctypes.c_void_p, 24]
  spitch: Annotated[size_t, 32]
  width: Annotated[size_t, 40]
  height: Annotated[size_t, 48]
  kind: Annotated[enum_cudaMemcpyKind, 56]
cudaMemcpy2DToArray_ptds_v7000_params: TypeAlias = struct_cudaMemcpy2DToArray_ptds_v7000_params_st
@c.record
class struct_cudaMemcpy2DFromArray_ptds_v7000_params_st(c.Struct):
  SIZE = 64
  dst: Annotated[ctypes.c_void_p, 0]
  dpitch: Annotated[size_t, 8]
  src: Annotated[cudaArray_const_t, 16]
  wOffset: Annotated[size_t, 24]
  hOffset: Annotated[size_t, 32]
  width: Annotated[size_t, 40]
  height: Annotated[size_t, 48]
  kind: Annotated[enum_cudaMemcpyKind, 56]
cudaArray_const_t: TypeAlias = c.POINTER[struct_cudaArray]
cudaMemcpy2DFromArray_ptds_v7000_params: TypeAlias = struct_cudaMemcpy2DFromArray_ptds_v7000_params_st
@c.record
class struct_cudaMemcpy2DArrayToArray_ptds_v7000_params_st(c.Struct):
  SIZE = 72
  dst: Annotated[cudaArray_t, 0]
  wOffsetDst: Annotated[size_t, 8]
  hOffsetDst: Annotated[size_t, 16]
  src: Annotated[cudaArray_const_t, 24]
  wOffsetSrc: Annotated[size_t, 32]
  hOffsetSrc: Annotated[size_t, 40]
  width: Annotated[size_t, 48]
  height: Annotated[size_t, 56]
  kind: Annotated[enum_cudaMemcpyKind, 64]
cudaMemcpy2DArrayToArray_ptds_v7000_params: TypeAlias = struct_cudaMemcpy2DArrayToArray_ptds_v7000_params_st
@c.record
class struct_cudaMemcpyToSymbol_ptds_v7000_params_st(c.Struct):
  SIZE = 40
  symbol: Annotated[ctypes.c_void_p, 0]
  src: Annotated[ctypes.c_void_p, 8]
  count: Annotated[size_t, 16]
  offset: Annotated[size_t, 24]
  kind: Annotated[enum_cudaMemcpyKind, 32]
cudaMemcpyToSymbol_ptds_v7000_params: TypeAlias = struct_cudaMemcpyToSymbol_ptds_v7000_params_st
@c.record
class struct_cudaMemcpyFromSymbol_ptds_v7000_params_st(c.Struct):
  SIZE = 40
  dst: Annotated[ctypes.c_void_p, 0]
  symbol: Annotated[ctypes.c_void_p, 8]
  count: Annotated[size_t, 16]
  offset: Annotated[size_t, 24]
  kind: Annotated[enum_cudaMemcpyKind, 32]
cudaMemcpyFromSymbol_ptds_v7000_params: TypeAlias = struct_cudaMemcpyFromSymbol_ptds_v7000_params_st
@c.record
class struct_cudaMemcpyAsync_ptsz_v7000_params_st(c.Struct):
  SIZE = 40
  dst: Annotated[ctypes.c_void_p, 0]
  src: Annotated[ctypes.c_void_p, 8]
  count: Annotated[size_t, 16]
  kind: Annotated[enum_cudaMemcpyKind, 24]
  stream: Annotated[cudaStream_t, 32]
cudaMemcpyAsync_ptsz_v7000_params: TypeAlias = struct_cudaMemcpyAsync_ptsz_v7000_params_st
@c.record
class struct_cudaMemcpyPeerAsync_v4000_params_st(c.Struct):
  SIZE = 48
  dst: Annotated[ctypes.c_void_p, 0]
  dstDevice: Annotated[Annotated[int, ctypes.c_int32], 8]
  src: Annotated[ctypes.c_void_p, 16]
  srcDevice: Annotated[Annotated[int, ctypes.c_int32], 24]
  count: Annotated[size_t, 32]
  stream: Annotated[cudaStream_t, 40]
cudaMemcpyPeerAsync_v4000_params: TypeAlias = struct_cudaMemcpyPeerAsync_v4000_params_st
@c.record
class struct_cudaMemcpyBatchAsync_ptsz_v12080_params_st(c.Struct):
  SIZE = 72
  dsts: Annotated[c.POINTER[ctypes.c_void_p], 0]
  srcs: Annotated[c.POINTER[ctypes.c_void_p], 8]
  sizes: Annotated[c.POINTER[size_t], 16]
  count: Annotated[size_t, 24]
  attrs: Annotated[c.POINTER[struct_cudaMemcpyAttributes], 32]
  attrsIdxs: Annotated[c.POINTER[size_t], 40]
  numAttrs: Annotated[size_t, 48]
  failIdx: Annotated[c.POINTER[size_t], 56]
  stream: Annotated[cudaStream_t, 64]
@c.record
class struct_cudaMemcpyAttributes(c.Struct):
  SIZE = 24
  srcAccessOrder: Annotated[enum_cudaMemcpySrcAccessOrder, 0]
  srcLocHint: Annotated[struct_cudaMemLocation, 4]
  dstLocHint: Annotated[struct_cudaMemLocation, 12]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
class enum_cudaMemcpySrcAccessOrder(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaMemcpySrcAccessOrderInvalid = enum_cudaMemcpySrcAccessOrder.define('cudaMemcpySrcAccessOrderInvalid', 0)
cudaMemcpySrcAccessOrderStream = enum_cudaMemcpySrcAccessOrder.define('cudaMemcpySrcAccessOrderStream', 1)
cudaMemcpySrcAccessOrderDuringApiCall = enum_cudaMemcpySrcAccessOrder.define('cudaMemcpySrcAccessOrderDuringApiCall', 2)
cudaMemcpySrcAccessOrderAny = enum_cudaMemcpySrcAccessOrder.define('cudaMemcpySrcAccessOrderAny', 3)
cudaMemcpySrcAccessOrderMax = enum_cudaMemcpySrcAccessOrder.define('cudaMemcpySrcAccessOrderMax', 2147483647)

@c.record
class struct_cudaMemLocation(c.Struct):
  SIZE = 8
  type: Annotated[enum_cudaMemLocationType, 0]
  id: Annotated[Annotated[int, ctypes.c_int32], 4]
class enum_cudaMemLocationType(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaMemLocationTypeInvalid = enum_cudaMemLocationType.define('cudaMemLocationTypeInvalid', 0)
cudaMemLocationTypeDevice = enum_cudaMemLocationType.define('cudaMemLocationTypeDevice', 1)
cudaMemLocationTypeHost = enum_cudaMemLocationType.define('cudaMemLocationTypeHost', 2)
cudaMemLocationTypeHostNuma = enum_cudaMemLocationType.define('cudaMemLocationTypeHostNuma', 3)
cudaMemLocationTypeHostNumaCurrent = enum_cudaMemLocationType.define('cudaMemLocationTypeHostNumaCurrent', 4)

cudaMemcpyBatchAsync_ptsz_v12080_params: TypeAlias = struct_cudaMemcpyBatchAsync_ptsz_v12080_params_st
@c.record
class struct_cudaMemcpy3DBatchAsync_ptsz_v12080_params_st(c.Struct):
  SIZE = 40
  numOps: Annotated[size_t, 0]
  opList: Annotated[c.POINTER[struct_cudaMemcpy3DBatchOp], 8]
  failIdx: Annotated[c.POINTER[size_t], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 24]
  stream: Annotated[cudaStream_t, 32]
@c.record
class struct_cudaMemcpy3DBatchOp(c.Struct):
  SIZE = 112
  src: Annotated[struct_cudaMemcpy3DOperand, 0]
  dst: Annotated[struct_cudaMemcpy3DOperand, 40]
  extent: Annotated[struct_cudaExtent, 80]
  srcAccessOrder: Annotated[enum_cudaMemcpySrcAccessOrder, 104]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 108]
@c.record
class struct_cudaMemcpy3DOperand(c.Struct):
  SIZE = 40
  type: Annotated[enum_cudaMemcpy3DOperandType, 0]
  op: Annotated[struct_cudaMemcpy3DOperand_op, 8]
class enum_cudaMemcpy3DOperandType(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaMemcpyOperandTypePointer = enum_cudaMemcpy3DOperandType.define('cudaMemcpyOperandTypePointer', 1)
cudaMemcpyOperandTypeArray = enum_cudaMemcpy3DOperandType.define('cudaMemcpyOperandTypeArray', 2)
cudaMemcpyOperandTypeMax = enum_cudaMemcpy3DOperandType.define('cudaMemcpyOperandTypeMax', 2147483647)

@c.record
class struct_cudaMemcpy3DOperand_op(c.Struct):
  SIZE = 32
  ptr: Annotated[struct_cudaMemcpy3DOperand_op_ptr, 0]
  array: Annotated[struct_cudaMemcpy3DOperand_op_array, 0]
@c.record
class struct_cudaMemcpy3DOperand_op_ptr(c.Struct):
  SIZE = 32
  ptr: Annotated[ctypes.c_void_p, 0]
  rowLength: Annotated[size_t, 8]
  layerHeight: Annotated[size_t, 16]
  locHint: Annotated[struct_cudaMemLocation, 24]
@c.record
class struct_cudaMemcpy3DOperand_op_array(c.Struct):
  SIZE = 32
  array: Annotated[cudaArray_t, 0]
  offset: Annotated[struct_cudaOffset3D, 8]
@c.record
class struct_cudaOffset3D(c.Struct):
  SIZE = 24
  x: Annotated[size_t, 0]
  y: Annotated[size_t, 8]
  z: Annotated[size_t, 16]
cudaMemcpy3DBatchAsync_ptsz_v12080_params: TypeAlias = struct_cudaMemcpy3DBatchAsync_ptsz_v12080_params_st
@c.record
class struct_cudaMemcpy2DAsync_ptsz_v7000_params_st(c.Struct):
  SIZE = 64
  dst: Annotated[ctypes.c_void_p, 0]
  dpitch: Annotated[size_t, 8]
  src: Annotated[ctypes.c_void_p, 16]
  spitch: Annotated[size_t, 24]
  width: Annotated[size_t, 32]
  height: Annotated[size_t, 40]
  kind: Annotated[enum_cudaMemcpyKind, 48]
  stream: Annotated[cudaStream_t, 56]
cudaMemcpy2DAsync_ptsz_v7000_params: TypeAlias = struct_cudaMemcpy2DAsync_ptsz_v7000_params_st
@c.record
class struct_cudaMemcpy2DToArrayAsync_ptsz_v7000_params_st(c.Struct):
  SIZE = 72
  dst: Annotated[cudaArray_t, 0]
  wOffset: Annotated[size_t, 8]
  hOffset: Annotated[size_t, 16]
  src: Annotated[ctypes.c_void_p, 24]
  spitch: Annotated[size_t, 32]
  width: Annotated[size_t, 40]
  height: Annotated[size_t, 48]
  kind: Annotated[enum_cudaMemcpyKind, 56]
  stream: Annotated[cudaStream_t, 64]
cudaMemcpy2DToArrayAsync_ptsz_v7000_params: TypeAlias = struct_cudaMemcpy2DToArrayAsync_ptsz_v7000_params_st
@c.record
class struct_cudaMemcpy2DFromArrayAsync_ptsz_v7000_params_st(c.Struct):
  SIZE = 72
  dst: Annotated[ctypes.c_void_p, 0]
  dpitch: Annotated[size_t, 8]
  src: Annotated[cudaArray_const_t, 16]
  wOffset: Annotated[size_t, 24]
  hOffset: Annotated[size_t, 32]
  width: Annotated[size_t, 40]
  height: Annotated[size_t, 48]
  kind: Annotated[enum_cudaMemcpyKind, 56]
  stream: Annotated[cudaStream_t, 64]
cudaMemcpy2DFromArrayAsync_ptsz_v7000_params: TypeAlias = struct_cudaMemcpy2DFromArrayAsync_ptsz_v7000_params_st
@c.record
class struct_cudaMemcpyToSymbolAsync_ptsz_v7000_params_st(c.Struct):
  SIZE = 48
  symbol: Annotated[ctypes.c_void_p, 0]
  src: Annotated[ctypes.c_void_p, 8]
  count: Annotated[size_t, 16]
  offset: Annotated[size_t, 24]
  kind: Annotated[enum_cudaMemcpyKind, 32]
  stream: Annotated[cudaStream_t, 40]
cudaMemcpyToSymbolAsync_ptsz_v7000_params: TypeAlias = struct_cudaMemcpyToSymbolAsync_ptsz_v7000_params_st
@c.record
class struct_cudaMemcpyFromSymbolAsync_ptsz_v7000_params_st(c.Struct):
  SIZE = 48
  dst: Annotated[ctypes.c_void_p, 0]
  symbol: Annotated[ctypes.c_void_p, 8]
  count: Annotated[size_t, 16]
  offset: Annotated[size_t, 24]
  kind: Annotated[enum_cudaMemcpyKind, 32]
  stream: Annotated[cudaStream_t, 40]
cudaMemcpyFromSymbolAsync_ptsz_v7000_params: TypeAlias = struct_cudaMemcpyFromSymbolAsync_ptsz_v7000_params_st
@c.record
class struct_cudaMemset_ptds_v7000_params_st(c.Struct):
  SIZE = 24
  devPtr: Annotated[ctypes.c_void_p, 0]
  value: Annotated[Annotated[int, ctypes.c_int32], 8]
  count: Annotated[size_t, 16]
cudaMemset_ptds_v7000_params: TypeAlias = struct_cudaMemset_ptds_v7000_params_st
@c.record
class struct_cudaMemset2D_ptds_v7000_params_st(c.Struct):
  SIZE = 40
  devPtr: Annotated[ctypes.c_void_p, 0]
  pitch: Annotated[size_t, 8]
  value: Annotated[Annotated[int, ctypes.c_int32], 16]
  width: Annotated[size_t, 24]
  height: Annotated[size_t, 32]
cudaMemset2D_ptds_v7000_params: TypeAlias = struct_cudaMemset2D_ptds_v7000_params_st
@c.record
class struct_cudaMemset3D_ptds_v7000_params_st(c.Struct):
  SIZE = 64
  pitchedDevPtr: Annotated[struct_cudaPitchedPtr, 0]
  value: Annotated[Annotated[int, ctypes.c_int32], 32]
  extent: Annotated[struct_cudaExtent, 40]
cudaMemset3D_ptds_v7000_params: TypeAlias = struct_cudaMemset3D_ptds_v7000_params_st
@c.record
class struct_cudaMemsetAsync_ptsz_v7000_params_st(c.Struct):
  SIZE = 32
  devPtr: Annotated[ctypes.c_void_p, 0]
  value: Annotated[Annotated[int, ctypes.c_int32], 8]
  count: Annotated[size_t, 16]
  stream: Annotated[cudaStream_t, 24]
cudaMemsetAsync_ptsz_v7000_params: TypeAlias = struct_cudaMemsetAsync_ptsz_v7000_params_st
@c.record
class struct_cudaMemset2DAsync_ptsz_v7000_params_st(c.Struct):
  SIZE = 48
  devPtr: Annotated[ctypes.c_void_p, 0]
  pitch: Annotated[size_t, 8]
  value: Annotated[Annotated[int, ctypes.c_int32], 16]
  width: Annotated[size_t, 24]
  height: Annotated[size_t, 32]
  stream: Annotated[cudaStream_t, 40]
cudaMemset2DAsync_ptsz_v7000_params: TypeAlias = struct_cudaMemset2DAsync_ptsz_v7000_params_st
@c.record
class struct_cudaMemset3DAsync_ptsz_v7000_params_st(c.Struct):
  SIZE = 72
  pitchedDevPtr: Annotated[struct_cudaPitchedPtr, 0]
  value: Annotated[Annotated[int, ctypes.c_int32], 32]
  extent: Annotated[struct_cudaExtent, 40]
  stream: Annotated[cudaStream_t, 64]
cudaMemset3DAsync_ptsz_v7000_params: TypeAlias = struct_cudaMemset3DAsync_ptsz_v7000_params_st
@c.record
class struct_cudaGetSymbolAddress_v3020_params_st(c.Struct):
  SIZE = 16
  devPtr: Annotated[c.POINTER[ctypes.c_void_p], 0]
  symbol: Annotated[ctypes.c_void_p, 8]
cudaGetSymbolAddress_v3020_params: TypeAlias = struct_cudaGetSymbolAddress_v3020_params_st
@c.record
class struct_cudaGetSymbolSize_v3020_params_st(c.Struct):
  SIZE = 16
  size: Annotated[c.POINTER[size_t], 0]
  symbol: Annotated[ctypes.c_void_p, 8]
cudaGetSymbolSize_v3020_params: TypeAlias = struct_cudaGetSymbolSize_v3020_params_st
@c.record
class struct_cudaMemPrefetchAsync_ptsz_v8000_params_st(c.Struct):
  SIZE = 32
  devPtr: Annotated[ctypes.c_void_p, 0]
  count: Annotated[size_t, 8]
  dstDevice: Annotated[Annotated[int, ctypes.c_int32], 16]
  stream: Annotated[cudaStream_t, 24]
cudaMemPrefetchAsync_ptsz_v8000_params: TypeAlias = struct_cudaMemPrefetchAsync_ptsz_v8000_params_st
@c.record
class struct_cudaMemPrefetchAsync_v2_ptsz_v12020_params_st(c.Struct):
  SIZE = 40
  devPtr: Annotated[ctypes.c_void_p, 0]
  count: Annotated[size_t, 8]
  location: Annotated[struct_cudaMemLocation, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
  stream: Annotated[cudaStream_t, 32]
cudaMemPrefetchAsync_v2_ptsz_v12020_params: TypeAlias = struct_cudaMemPrefetchAsync_v2_ptsz_v12020_params_st
@c.record
class struct_cudaMemAdvise_v8000_params_st(c.Struct):
  SIZE = 24
  devPtr: Annotated[ctypes.c_void_p, 0]
  count: Annotated[size_t, 8]
  advice: Annotated[enum_cudaMemoryAdvise, 16]
  device: Annotated[Annotated[int, ctypes.c_int32], 20]
class enum_cudaMemoryAdvise(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaMemAdviseSetReadMostly = enum_cudaMemoryAdvise.define('cudaMemAdviseSetReadMostly', 1)
cudaMemAdviseUnsetReadMostly = enum_cudaMemoryAdvise.define('cudaMemAdviseUnsetReadMostly', 2)
cudaMemAdviseSetPreferredLocation = enum_cudaMemoryAdvise.define('cudaMemAdviseSetPreferredLocation', 3)
cudaMemAdviseUnsetPreferredLocation = enum_cudaMemoryAdvise.define('cudaMemAdviseUnsetPreferredLocation', 4)
cudaMemAdviseSetAccessedBy = enum_cudaMemoryAdvise.define('cudaMemAdviseSetAccessedBy', 5)
cudaMemAdviseUnsetAccessedBy = enum_cudaMemoryAdvise.define('cudaMemAdviseUnsetAccessedBy', 6)

cudaMemAdvise_v8000_params: TypeAlias = struct_cudaMemAdvise_v8000_params_st
@c.record
class struct_cudaMemAdvise_v2_v12020_params_st(c.Struct):
  SIZE = 32
  devPtr: Annotated[ctypes.c_void_p, 0]
  count: Annotated[size_t, 8]
  advice: Annotated[enum_cudaMemoryAdvise, 16]
  location: Annotated[struct_cudaMemLocation, 20]
cudaMemAdvise_v2_v12020_params: TypeAlias = struct_cudaMemAdvise_v2_v12020_params_st
@c.record
class struct_cudaMemRangeGetAttribute_v8000_params_st(c.Struct):
  SIZE = 40
  data: Annotated[ctypes.c_void_p, 0]
  dataSize: Annotated[size_t, 8]
  attribute: Annotated[enum_cudaMemRangeAttribute, 16]
  devPtr: Annotated[ctypes.c_void_p, 24]
  count: Annotated[size_t, 32]
class enum_cudaMemRangeAttribute(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaMemRangeAttributeReadMostly = enum_cudaMemRangeAttribute.define('cudaMemRangeAttributeReadMostly', 1)
cudaMemRangeAttributePreferredLocation = enum_cudaMemRangeAttribute.define('cudaMemRangeAttributePreferredLocation', 2)
cudaMemRangeAttributeAccessedBy = enum_cudaMemRangeAttribute.define('cudaMemRangeAttributeAccessedBy', 3)
cudaMemRangeAttributeLastPrefetchLocation = enum_cudaMemRangeAttribute.define('cudaMemRangeAttributeLastPrefetchLocation', 4)
cudaMemRangeAttributePreferredLocationType = enum_cudaMemRangeAttribute.define('cudaMemRangeAttributePreferredLocationType', 5)
cudaMemRangeAttributePreferredLocationId = enum_cudaMemRangeAttribute.define('cudaMemRangeAttributePreferredLocationId', 6)
cudaMemRangeAttributeLastPrefetchLocationType = enum_cudaMemRangeAttribute.define('cudaMemRangeAttributeLastPrefetchLocationType', 7)
cudaMemRangeAttributeLastPrefetchLocationId = enum_cudaMemRangeAttribute.define('cudaMemRangeAttributeLastPrefetchLocationId', 8)

cudaMemRangeGetAttribute_v8000_params: TypeAlias = struct_cudaMemRangeGetAttribute_v8000_params_st
@c.record
class struct_cudaMemRangeGetAttributes_v8000_params_st(c.Struct):
  SIZE = 48
  data: Annotated[c.POINTER[ctypes.c_void_p], 0]
  dataSizes: Annotated[c.POINTER[size_t], 8]
  attributes: Annotated[c.POINTER[enum_cudaMemRangeAttribute], 16]
  numAttributes: Annotated[size_t, 24]
  devPtr: Annotated[ctypes.c_void_p, 32]
  count: Annotated[size_t, 40]
cudaMemRangeGetAttributes_v8000_params: TypeAlias = struct_cudaMemRangeGetAttributes_v8000_params_st
@c.record
class struct_cudaMemcpyToArray_ptds_v7000_params_st(c.Struct):
  SIZE = 48
  dst: Annotated[cudaArray_t, 0]
  wOffset: Annotated[size_t, 8]
  hOffset: Annotated[size_t, 16]
  src: Annotated[ctypes.c_void_p, 24]
  count: Annotated[size_t, 32]
  kind: Annotated[enum_cudaMemcpyKind, 40]
cudaMemcpyToArray_ptds_v7000_params: TypeAlias = struct_cudaMemcpyToArray_ptds_v7000_params_st
@c.record
class struct_cudaMemcpyFromArray_ptds_v7000_params_st(c.Struct):
  SIZE = 48
  dst: Annotated[ctypes.c_void_p, 0]
  src: Annotated[cudaArray_const_t, 8]
  wOffset: Annotated[size_t, 16]
  hOffset: Annotated[size_t, 24]
  count: Annotated[size_t, 32]
  kind: Annotated[enum_cudaMemcpyKind, 40]
cudaMemcpyFromArray_ptds_v7000_params: TypeAlias = struct_cudaMemcpyFromArray_ptds_v7000_params_st
@c.record
class struct_cudaMemcpyArrayToArray_ptds_v7000_params_st(c.Struct):
  SIZE = 64
  dst: Annotated[cudaArray_t, 0]
  wOffsetDst: Annotated[size_t, 8]
  hOffsetDst: Annotated[size_t, 16]
  src: Annotated[cudaArray_const_t, 24]
  wOffsetSrc: Annotated[size_t, 32]
  hOffsetSrc: Annotated[size_t, 40]
  count: Annotated[size_t, 48]
  kind: Annotated[enum_cudaMemcpyKind, 56]
cudaMemcpyArrayToArray_ptds_v7000_params: TypeAlias = struct_cudaMemcpyArrayToArray_ptds_v7000_params_st
@c.record
class struct_cudaMemcpyToArrayAsync_ptsz_v7000_params_st(c.Struct):
  SIZE = 56
  dst: Annotated[cudaArray_t, 0]
  wOffset: Annotated[size_t, 8]
  hOffset: Annotated[size_t, 16]
  src: Annotated[ctypes.c_void_p, 24]
  count: Annotated[size_t, 32]
  kind: Annotated[enum_cudaMemcpyKind, 40]
  stream: Annotated[cudaStream_t, 48]
cudaMemcpyToArrayAsync_ptsz_v7000_params: TypeAlias = struct_cudaMemcpyToArrayAsync_ptsz_v7000_params_st
@c.record
class struct_cudaMemcpyFromArrayAsync_ptsz_v7000_params_st(c.Struct):
  SIZE = 56
  dst: Annotated[ctypes.c_void_p, 0]
  src: Annotated[cudaArray_const_t, 8]
  wOffset: Annotated[size_t, 16]
  hOffset: Annotated[size_t, 24]
  count: Annotated[size_t, 32]
  kind: Annotated[enum_cudaMemcpyKind, 40]
  stream: Annotated[cudaStream_t, 48]
cudaMemcpyFromArrayAsync_ptsz_v7000_params: TypeAlias = struct_cudaMemcpyFromArrayAsync_ptsz_v7000_params_st
@c.record
class struct_cudaMallocAsync_ptsz_v11020_params_st(c.Struct):
  SIZE = 24
  devPtr: Annotated[c.POINTER[ctypes.c_void_p], 0]
  size: Annotated[size_t, 8]
  hStream: Annotated[cudaStream_t, 16]
cudaMallocAsync_ptsz_v11020_params: TypeAlias = struct_cudaMallocAsync_ptsz_v11020_params_st
@c.record
class struct_cudaFreeAsync_ptsz_v11020_params_st(c.Struct):
  SIZE = 16
  devPtr: Annotated[ctypes.c_void_p, 0]
  hStream: Annotated[cudaStream_t, 8]
cudaFreeAsync_ptsz_v11020_params: TypeAlias = struct_cudaFreeAsync_ptsz_v11020_params_st
@c.record
class struct_cudaMemPoolTrimTo_v11020_params_st(c.Struct):
  SIZE = 16
  memPool: Annotated[cudaMemPool_t, 0]
  minBytesToKeep: Annotated[size_t, 8]
cudaMemPoolTrimTo_v11020_params: TypeAlias = struct_cudaMemPoolTrimTo_v11020_params_st
@c.record
class struct_cudaMemPoolSetAttribute_v11020_params_st(c.Struct):
  SIZE = 24
  memPool: Annotated[cudaMemPool_t, 0]
  attr: Annotated[enum_cudaMemPoolAttr, 8]
  value: Annotated[ctypes.c_void_p, 16]
class enum_cudaMemPoolAttr(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaMemPoolReuseFollowEventDependencies = enum_cudaMemPoolAttr.define('cudaMemPoolReuseFollowEventDependencies', 1)
cudaMemPoolReuseAllowOpportunistic = enum_cudaMemPoolAttr.define('cudaMemPoolReuseAllowOpportunistic', 2)
cudaMemPoolReuseAllowInternalDependencies = enum_cudaMemPoolAttr.define('cudaMemPoolReuseAllowInternalDependencies', 3)
cudaMemPoolAttrReleaseThreshold = enum_cudaMemPoolAttr.define('cudaMemPoolAttrReleaseThreshold', 4)
cudaMemPoolAttrReservedMemCurrent = enum_cudaMemPoolAttr.define('cudaMemPoolAttrReservedMemCurrent', 5)
cudaMemPoolAttrReservedMemHigh = enum_cudaMemPoolAttr.define('cudaMemPoolAttrReservedMemHigh', 6)
cudaMemPoolAttrUsedMemCurrent = enum_cudaMemPoolAttr.define('cudaMemPoolAttrUsedMemCurrent', 7)
cudaMemPoolAttrUsedMemHigh = enum_cudaMemPoolAttr.define('cudaMemPoolAttrUsedMemHigh', 8)

cudaMemPoolSetAttribute_v11020_params: TypeAlias = struct_cudaMemPoolSetAttribute_v11020_params_st
@c.record
class struct_cudaMemPoolGetAttribute_v11020_params_st(c.Struct):
  SIZE = 24
  memPool: Annotated[cudaMemPool_t, 0]
  attr: Annotated[enum_cudaMemPoolAttr, 8]
  value: Annotated[ctypes.c_void_p, 16]
cudaMemPoolGetAttribute_v11020_params: TypeAlias = struct_cudaMemPoolGetAttribute_v11020_params_st
@c.record
class struct_cudaMemPoolSetAccess_v11020_params_st(c.Struct):
  SIZE = 24
  memPool: Annotated[cudaMemPool_t, 0]
  descList: Annotated[c.POINTER[struct_cudaMemAccessDesc], 8]
  count: Annotated[size_t, 16]
@c.record
class struct_cudaMemAccessDesc(c.Struct):
  SIZE = 12
  location: Annotated[struct_cudaMemLocation, 0]
  flags: Annotated[enum_cudaMemAccessFlags, 8]
class enum_cudaMemAccessFlags(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaMemAccessFlagsProtNone = enum_cudaMemAccessFlags.define('cudaMemAccessFlagsProtNone', 0)
cudaMemAccessFlagsProtRead = enum_cudaMemAccessFlags.define('cudaMemAccessFlagsProtRead', 1)
cudaMemAccessFlagsProtReadWrite = enum_cudaMemAccessFlags.define('cudaMemAccessFlagsProtReadWrite', 3)

cudaMemPoolSetAccess_v11020_params: TypeAlias = struct_cudaMemPoolSetAccess_v11020_params_st
@c.record
class struct_cudaMemPoolGetAccess_v11020_params_st(c.Struct):
  SIZE = 24
  flags: Annotated[c.POINTER[enum_cudaMemAccessFlags], 0]
  memPool: Annotated[cudaMemPool_t, 8]
  location: Annotated[c.POINTER[struct_cudaMemLocation], 16]
cudaMemPoolGetAccess_v11020_params: TypeAlias = struct_cudaMemPoolGetAccess_v11020_params_st
@c.record
class struct_cudaMemPoolCreate_v11020_params_st(c.Struct):
  SIZE = 16
  memPool: Annotated[c.POINTER[cudaMemPool_t], 0]
  poolProps: Annotated[c.POINTER[struct_cudaMemPoolProps], 8]
@c.record
class struct_cudaMemPoolProps(c.Struct):
  SIZE = 88
  allocType: Annotated[enum_cudaMemAllocationType, 0]
  handleTypes: Annotated[enum_cudaMemAllocationHandleType, 4]
  location: Annotated[struct_cudaMemLocation, 8]
  win32SecurityAttributes: Annotated[ctypes.c_void_p, 16]
  maxSize: Annotated[size_t, 24]
  usage: Annotated[Annotated[int, ctypes.c_uint16], 32]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_ubyte], Literal[54]], 34]
class enum_cudaMemAllocationType(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaMemAllocationTypeInvalid = enum_cudaMemAllocationType.define('cudaMemAllocationTypeInvalid', 0)
cudaMemAllocationTypePinned = enum_cudaMemAllocationType.define('cudaMemAllocationTypePinned', 1)
cudaMemAllocationTypeMax = enum_cudaMemAllocationType.define('cudaMemAllocationTypeMax', 2147483647)

class enum_cudaMemAllocationHandleType(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaMemHandleTypeNone = enum_cudaMemAllocationHandleType.define('cudaMemHandleTypeNone', 0)
cudaMemHandleTypePosixFileDescriptor = enum_cudaMemAllocationHandleType.define('cudaMemHandleTypePosixFileDescriptor', 1)
cudaMemHandleTypeWin32 = enum_cudaMemAllocationHandleType.define('cudaMemHandleTypeWin32', 2)
cudaMemHandleTypeWin32Kmt = enum_cudaMemAllocationHandleType.define('cudaMemHandleTypeWin32Kmt', 4)
cudaMemHandleTypeFabric = enum_cudaMemAllocationHandleType.define('cudaMemHandleTypeFabric', 8)

cudaMemPoolCreate_v11020_params: TypeAlias = struct_cudaMemPoolCreate_v11020_params_st
@c.record
class struct_cudaMemPoolDestroy_v11020_params_st(c.Struct):
  SIZE = 8
  memPool: Annotated[cudaMemPool_t, 0]
cudaMemPoolDestroy_v11020_params: TypeAlias = struct_cudaMemPoolDestroy_v11020_params_st
@c.record
class struct_cudaMallocFromPoolAsync_ptsz_v11020_params_st(c.Struct):
  SIZE = 32
  ptr: Annotated[c.POINTER[ctypes.c_void_p], 0]
  size: Annotated[size_t, 8]
  memPool: Annotated[cudaMemPool_t, 16]
  stream: Annotated[cudaStream_t, 24]
cudaMallocFromPoolAsync_ptsz_v11020_params: TypeAlias = struct_cudaMallocFromPoolAsync_ptsz_v11020_params_st
@c.record
class struct_cudaMemPoolExportToShareableHandle_v11020_params_st(c.Struct):
  SIZE = 24
  shareableHandle: Annotated[ctypes.c_void_p, 0]
  memPool: Annotated[cudaMemPool_t, 8]
  handleType: Annotated[enum_cudaMemAllocationHandleType, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
cudaMemPoolExportToShareableHandle_v11020_params: TypeAlias = struct_cudaMemPoolExportToShareableHandle_v11020_params_st
@c.record
class struct_cudaMemPoolImportFromShareableHandle_v11020_params_st(c.Struct):
  SIZE = 24
  memPool: Annotated[c.POINTER[cudaMemPool_t], 0]
  shareableHandle: Annotated[ctypes.c_void_p, 8]
  handleType: Annotated[enum_cudaMemAllocationHandleType, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
cudaMemPoolImportFromShareableHandle_v11020_params: TypeAlias = struct_cudaMemPoolImportFromShareableHandle_v11020_params_st
@c.record
class struct_cudaMemPoolExportPointer_v11020_params_st(c.Struct):
  SIZE = 16
  exportData: Annotated[c.POINTER[struct_cudaMemPoolPtrExportData], 0]
  ptr: Annotated[ctypes.c_void_p, 8]
@c.record
class struct_cudaMemPoolPtrExportData(c.Struct):
  SIZE = 64
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_ubyte], Literal[64]], 0]
cudaMemPoolExportPointer_v11020_params: TypeAlias = struct_cudaMemPoolExportPointer_v11020_params_st
@c.record
class struct_cudaMemPoolImportPointer_v11020_params_st(c.Struct):
  SIZE = 24
  ptr: Annotated[c.POINTER[ctypes.c_void_p], 0]
  memPool: Annotated[cudaMemPool_t, 8]
  exportData: Annotated[c.POINTER[struct_cudaMemPoolPtrExportData], 16]
cudaMemPoolImportPointer_v11020_params: TypeAlias = struct_cudaMemPoolImportPointer_v11020_params_st
@c.record
class struct_cudaPointerGetAttributes_v4000_params_st(c.Struct):
  SIZE = 16
  attributes: Annotated[c.POINTER[struct_cudaPointerAttributes], 0]
  ptr: Annotated[ctypes.c_void_p, 8]
@c.record
class struct_cudaPointerAttributes(c.Struct):
  SIZE = 24
  type: Annotated[enum_cudaMemoryType, 0]
  device: Annotated[Annotated[int, ctypes.c_int32], 4]
  devicePointer: Annotated[ctypes.c_void_p, 8]
  hostPointer: Annotated[ctypes.c_void_p, 16]
class enum_cudaMemoryType(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaMemoryTypeUnregistered = enum_cudaMemoryType.define('cudaMemoryTypeUnregistered', 0)
cudaMemoryTypeHost = enum_cudaMemoryType.define('cudaMemoryTypeHost', 1)
cudaMemoryTypeDevice = enum_cudaMemoryType.define('cudaMemoryTypeDevice', 2)
cudaMemoryTypeManaged = enum_cudaMemoryType.define('cudaMemoryTypeManaged', 3)

cudaPointerGetAttributes_v4000_params: TypeAlias = struct_cudaPointerGetAttributes_v4000_params_st
@c.record
class struct_cudaDeviceCanAccessPeer_v4000_params_st(c.Struct):
  SIZE = 16
  canAccessPeer: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
  device: Annotated[Annotated[int, ctypes.c_int32], 8]
  peerDevice: Annotated[Annotated[int, ctypes.c_int32], 12]
cudaDeviceCanAccessPeer_v4000_params: TypeAlias = struct_cudaDeviceCanAccessPeer_v4000_params_st
@c.record
class struct_cudaDeviceEnablePeerAccess_v4000_params_st(c.Struct):
  SIZE = 8
  peerDevice: Annotated[Annotated[int, ctypes.c_int32], 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 4]
cudaDeviceEnablePeerAccess_v4000_params: TypeAlias = struct_cudaDeviceEnablePeerAccess_v4000_params_st
@c.record
class struct_cudaDeviceDisablePeerAccess_v4000_params_st(c.Struct):
  SIZE = 4
  peerDevice: Annotated[Annotated[int, ctypes.c_int32], 0]
cudaDeviceDisablePeerAccess_v4000_params: TypeAlias = struct_cudaDeviceDisablePeerAccess_v4000_params_st
@c.record
class struct_cudaGraphicsUnregisterResource_v3020_params_st(c.Struct):
  SIZE = 8
  resource: Annotated[cudaGraphicsResource_t, 0]
class struct_cudaGraphicsResource(ctypes.Structure): pass
cudaGraphicsResource_t: TypeAlias = c.POINTER[struct_cudaGraphicsResource]
cudaGraphicsUnregisterResource_v3020_params: TypeAlias = struct_cudaGraphicsUnregisterResource_v3020_params_st
@c.record
class struct_cudaGraphicsResourceSetMapFlags_v3020_params_st(c.Struct):
  SIZE = 16
  resource: Annotated[cudaGraphicsResource_t, 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
cudaGraphicsResourceSetMapFlags_v3020_params: TypeAlias = struct_cudaGraphicsResourceSetMapFlags_v3020_params_st
@c.record
class struct_cudaGraphicsMapResources_v3020_params_st(c.Struct):
  SIZE = 24
  count: Annotated[Annotated[int, ctypes.c_int32], 0]
  resources: Annotated[c.POINTER[cudaGraphicsResource_t], 8]
  stream: Annotated[cudaStream_t, 16]
cudaGraphicsMapResources_v3020_params: TypeAlias = struct_cudaGraphicsMapResources_v3020_params_st
@c.record
class struct_cudaGraphicsUnmapResources_v3020_params_st(c.Struct):
  SIZE = 24
  count: Annotated[Annotated[int, ctypes.c_int32], 0]
  resources: Annotated[c.POINTER[cudaGraphicsResource_t], 8]
  stream: Annotated[cudaStream_t, 16]
cudaGraphicsUnmapResources_v3020_params: TypeAlias = struct_cudaGraphicsUnmapResources_v3020_params_st
@c.record
class struct_cudaGraphicsResourceGetMappedPointer_v3020_params_st(c.Struct):
  SIZE = 24
  devPtr: Annotated[c.POINTER[ctypes.c_void_p], 0]
  size: Annotated[c.POINTER[size_t], 8]
  resource: Annotated[cudaGraphicsResource_t, 16]
cudaGraphicsResourceGetMappedPointer_v3020_params: TypeAlias = struct_cudaGraphicsResourceGetMappedPointer_v3020_params_st
@c.record
class struct_cudaGraphicsSubResourceGetMappedArray_v3020_params_st(c.Struct):
  SIZE = 24
  array: Annotated[c.POINTER[cudaArray_t], 0]
  resource: Annotated[cudaGraphicsResource_t, 8]
  arrayIndex: Annotated[Annotated[int, ctypes.c_uint32], 16]
  mipLevel: Annotated[Annotated[int, ctypes.c_uint32], 20]
cudaGraphicsSubResourceGetMappedArray_v3020_params: TypeAlias = struct_cudaGraphicsSubResourceGetMappedArray_v3020_params_st
@c.record
class struct_cudaGraphicsResourceGetMappedMipmappedArray_v5000_params_st(c.Struct):
  SIZE = 16
  mipmappedArray: Annotated[c.POINTER[cudaMipmappedArray_t], 0]
  resource: Annotated[cudaGraphicsResource_t, 8]
cudaGraphicsResourceGetMappedMipmappedArray_v5000_params: TypeAlias = struct_cudaGraphicsResourceGetMappedMipmappedArray_v5000_params_st
@c.record
class struct_cudaGetChannelDesc_v3020_params_st(c.Struct):
  SIZE = 16
  desc: Annotated[c.POINTER[struct_cudaChannelFormatDesc], 0]
  array: Annotated[cudaArray_const_t, 8]
cudaGetChannelDesc_v3020_params: TypeAlias = struct_cudaGetChannelDesc_v3020_params_st
@c.record
class struct_cudaCreateChannelDesc_v3020_params_st(c.Struct):
  SIZE = 20
  x: Annotated[Annotated[int, ctypes.c_int32], 0]
  y: Annotated[Annotated[int, ctypes.c_int32], 4]
  z: Annotated[Annotated[int, ctypes.c_int32], 8]
  w: Annotated[Annotated[int, ctypes.c_int32], 12]
  f: Annotated[enum_cudaChannelFormatKind, 16]
cudaCreateChannelDesc_v3020_params: TypeAlias = struct_cudaCreateChannelDesc_v3020_params_st
@c.record
class struct_cudaCreateTextureObject_v5000_params_st(c.Struct):
  SIZE = 32
  pTexObject: Annotated[c.POINTER[cudaTextureObject_t], 0]
  pResDesc: Annotated[c.POINTER[struct_cudaResourceDesc], 8]
  pTexDesc: Annotated[c.POINTER[struct_cudaTextureDesc], 16]
  pResViewDesc: Annotated[c.POINTER[struct_cudaResourceViewDesc], 24]
cudaTextureObject_t: TypeAlias = Annotated[int, ctypes.c_uint64]
@c.record
class struct_cudaResourceDesc(c.Struct):
  SIZE = 64
  resType: Annotated[enum_cudaResourceType, 0]
  res: Annotated[struct_cudaResourceDesc_res, 8]
class enum_cudaResourceType(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaResourceTypeArray = enum_cudaResourceType.define('cudaResourceTypeArray', 0)
cudaResourceTypeMipmappedArray = enum_cudaResourceType.define('cudaResourceTypeMipmappedArray', 1)
cudaResourceTypeLinear = enum_cudaResourceType.define('cudaResourceTypeLinear', 2)
cudaResourceTypePitch2D = enum_cudaResourceType.define('cudaResourceTypePitch2D', 3)

@c.record
class struct_cudaResourceDesc_res(c.Struct):
  SIZE = 56
  array: Annotated[struct_cudaResourceDesc_res_array, 0]
  mipmap: Annotated[struct_cudaResourceDesc_res_mipmap, 0]
  linear: Annotated[struct_cudaResourceDesc_res_linear, 0]
  pitch2D: Annotated[struct_cudaResourceDesc_res_pitch2D, 0]
@c.record
class struct_cudaResourceDesc_res_array(c.Struct):
  SIZE = 8
  array: Annotated[cudaArray_t, 0]
@c.record
class struct_cudaResourceDesc_res_mipmap(c.Struct):
  SIZE = 8
  mipmap: Annotated[cudaMipmappedArray_t, 0]
@c.record
class struct_cudaResourceDesc_res_linear(c.Struct):
  SIZE = 40
  devPtr: Annotated[ctypes.c_void_p, 0]
  desc: Annotated[struct_cudaChannelFormatDesc, 8]
  sizeInBytes: Annotated[size_t, 32]
@c.record
class struct_cudaResourceDesc_res_pitch2D(c.Struct):
  SIZE = 56
  devPtr: Annotated[ctypes.c_void_p, 0]
  desc: Annotated[struct_cudaChannelFormatDesc, 8]
  width: Annotated[size_t, 32]
  height: Annotated[size_t, 40]
  pitchInBytes: Annotated[size_t, 48]
@c.record
class struct_cudaTextureDesc(c.Struct):
  SIZE = 72
  addressMode: Annotated[c.Array[enum_cudaTextureAddressMode, Literal[3]], 0]
  filterMode: Annotated[enum_cudaTextureFilterMode, 12]
  readMode: Annotated[enum_cudaTextureReadMode, 16]
  sRGB: Annotated[Annotated[int, ctypes.c_int32], 20]
  borderColor: Annotated[c.Array[Annotated[float, ctypes.c_float], Literal[4]], 24]
  normalizedCoords: Annotated[Annotated[int, ctypes.c_int32], 40]
  maxAnisotropy: Annotated[Annotated[int, ctypes.c_uint32], 44]
  mipmapFilterMode: Annotated[enum_cudaTextureFilterMode, 48]
  mipmapLevelBias: Annotated[Annotated[float, ctypes.c_float], 52]
  minMipmapLevelClamp: Annotated[Annotated[float, ctypes.c_float], 56]
  maxMipmapLevelClamp: Annotated[Annotated[float, ctypes.c_float], 60]
  disableTrilinearOptimization: Annotated[Annotated[int, ctypes.c_int32], 64]
  seamlessCubemap: Annotated[Annotated[int, ctypes.c_int32], 68]
class enum_cudaTextureAddressMode(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaAddressModeWrap = enum_cudaTextureAddressMode.define('cudaAddressModeWrap', 0)
cudaAddressModeClamp = enum_cudaTextureAddressMode.define('cudaAddressModeClamp', 1)
cudaAddressModeMirror = enum_cudaTextureAddressMode.define('cudaAddressModeMirror', 2)
cudaAddressModeBorder = enum_cudaTextureAddressMode.define('cudaAddressModeBorder', 3)

class enum_cudaTextureFilterMode(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaFilterModePoint = enum_cudaTextureFilterMode.define('cudaFilterModePoint', 0)
cudaFilterModeLinear = enum_cudaTextureFilterMode.define('cudaFilterModeLinear', 1)

class enum_cudaTextureReadMode(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaReadModeElementType = enum_cudaTextureReadMode.define('cudaReadModeElementType', 0)
cudaReadModeNormalizedFloat = enum_cudaTextureReadMode.define('cudaReadModeNormalizedFloat', 1)

@c.record
class struct_cudaResourceViewDesc(c.Struct):
  SIZE = 48
  format: Annotated[enum_cudaResourceViewFormat, 0]
  width: Annotated[size_t, 8]
  height: Annotated[size_t, 16]
  depth: Annotated[size_t, 24]
  firstMipmapLevel: Annotated[Annotated[int, ctypes.c_uint32], 32]
  lastMipmapLevel: Annotated[Annotated[int, ctypes.c_uint32], 36]
  firstLayer: Annotated[Annotated[int, ctypes.c_uint32], 40]
  lastLayer: Annotated[Annotated[int, ctypes.c_uint32], 44]
class enum_cudaResourceViewFormat(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaResViewFormatNone = enum_cudaResourceViewFormat.define('cudaResViewFormatNone', 0)
cudaResViewFormatUnsignedChar1 = enum_cudaResourceViewFormat.define('cudaResViewFormatUnsignedChar1', 1)
cudaResViewFormatUnsignedChar2 = enum_cudaResourceViewFormat.define('cudaResViewFormatUnsignedChar2', 2)
cudaResViewFormatUnsignedChar4 = enum_cudaResourceViewFormat.define('cudaResViewFormatUnsignedChar4', 3)
cudaResViewFormatSignedChar1 = enum_cudaResourceViewFormat.define('cudaResViewFormatSignedChar1', 4)
cudaResViewFormatSignedChar2 = enum_cudaResourceViewFormat.define('cudaResViewFormatSignedChar2', 5)
cudaResViewFormatSignedChar4 = enum_cudaResourceViewFormat.define('cudaResViewFormatSignedChar4', 6)
cudaResViewFormatUnsignedShort1 = enum_cudaResourceViewFormat.define('cudaResViewFormatUnsignedShort1', 7)
cudaResViewFormatUnsignedShort2 = enum_cudaResourceViewFormat.define('cudaResViewFormatUnsignedShort2', 8)
cudaResViewFormatUnsignedShort4 = enum_cudaResourceViewFormat.define('cudaResViewFormatUnsignedShort4', 9)
cudaResViewFormatSignedShort1 = enum_cudaResourceViewFormat.define('cudaResViewFormatSignedShort1', 10)
cudaResViewFormatSignedShort2 = enum_cudaResourceViewFormat.define('cudaResViewFormatSignedShort2', 11)
cudaResViewFormatSignedShort4 = enum_cudaResourceViewFormat.define('cudaResViewFormatSignedShort4', 12)
cudaResViewFormatUnsignedInt1 = enum_cudaResourceViewFormat.define('cudaResViewFormatUnsignedInt1', 13)
cudaResViewFormatUnsignedInt2 = enum_cudaResourceViewFormat.define('cudaResViewFormatUnsignedInt2', 14)
cudaResViewFormatUnsignedInt4 = enum_cudaResourceViewFormat.define('cudaResViewFormatUnsignedInt4', 15)
cudaResViewFormatSignedInt1 = enum_cudaResourceViewFormat.define('cudaResViewFormatSignedInt1', 16)
cudaResViewFormatSignedInt2 = enum_cudaResourceViewFormat.define('cudaResViewFormatSignedInt2', 17)
cudaResViewFormatSignedInt4 = enum_cudaResourceViewFormat.define('cudaResViewFormatSignedInt4', 18)
cudaResViewFormatHalf1 = enum_cudaResourceViewFormat.define('cudaResViewFormatHalf1', 19)
cudaResViewFormatHalf2 = enum_cudaResourceViewFormat.define('cudaResViewFormatHalf2', 20)
cudaResViewFormatHalf4 = enum_cudaResourceViewFormat.define('cudaResViewFormatHalf4', 21)
cudaResViewFormatFloat1 = enum_cudaResourceViewFormat.define('cudaResViewFormatFloat1', 22)
cudaResViewFormatFloat2 = enum_cudaResourceViewFormat.define('cudaResViewFormatFloat2', 23)
cudaResViewFormatFloat4 = enum_cudaResourceViewFormat.define('cudaResViewFormatFloat4', 24)
cudaResViewFormatUnsignedBlockCompressed1 = enum_cudaResourceViewFormat.define('cudaResViewFormatUnsignedBlockCompressed1', 25)
cudaResViewFormatUnsignedBlockCompressed2 = enum_cudaResourceViewFormat.define('cudaResViewFormatUnsignedBlockCompressed2', 26)
cudaResViewFormatUnsignedBlockCompressed3 = enum_cudaResourceViewFormat.define('cudaResViewFormatUnsignedBlockCompressed3', 27)
cudaResViewFormatUnsignedBlockCompressed4 = enum_cudaResourceViewFormat.define('cudaResViewFormatUnsignedBlockCompressed4', 28)
cudaResViewFormatSignedBlockCompressed4 = enum_cudaResourceViewFormat.define('cudaResViewFormatSignedBlockCompressed4', 29)
cudaResViewFormatUnsignedBlockCompressed5 = enum_cudaResourceViewFormat.define('cudaResViewFormatUnsignedBlockCompressed5', 30)
cudaResViewFormatSignedBlockCompressed5 = enum_cudaResourceViewFormat.define('cudaResViewFormatSignedBlockCompressed5', 31)
cudaResViewFormatUnsignedBlockCompressed6H = enum_cudaResourceViewFormat.define('cudaResViewFormatUnsignedBlockCompressed6H', 32)
cudaResViewFormatSignedBlockCompressed6H = enum_cudaResourceViewFormat.define('cudaResViewFormatSignedBlockCompressed6H', 33)
cudaResViewFormatUnsignedBlockCompressed7 = enum_cudaResourceViewFormat.define('cudaResViewFormatUnsignedBlockCompressed7', 34)

cudaCreateTextureObject_v5000_params: TypeAlias = struct_cudaCreateTextureObject_v5000_params_st
@c.record
class struct_cudaDestroyTextureObject_v5000_params_st(c.Struct):
  SIZE = 8
  texObject: Annotated[cudaTextureObject_t, 0]
cudaDestroyTextureObject_v5000_params: TypeAlias = struct_cudaDestroyTextureObject_v5000_params_st
@c.record
class struct_cudaGetTextureObjectResourceDesc_v5000_params_st(c.Struct):
  SIZE = 16
  pResDesc: Annotated[c.POINTER[struct_cudaResourceDesc], 0]
  texObject: Annotated[cudaTextureObject_t, 8]
cudaGetTextureObjectResourceDesc_v5000_params: TypeAlias = struct_cudaGetTextureObjectResourceDesc_v5000_params_st
@c.record
class struct_cudaGetTextureObjectTextureDesc_v5000_params_st(c.Struct):
  SIZE = 16
  pTexDesc: Annotated[c.POINTER[struct_cudaTextureDesc], 0]
  texObject: Annotated[cudaTextureObject_t, 8]
cudaGetTextureObjectTextureDesc_v5000_params: TypeAlias = struct_cudaGetTextureObjectTextureDesc_v5000_params_st
@c.record
class struct_cudaGetTextureObjectResourceViewDesc_v5000_params_st(c.Struct):
  SIZE = 16
  pResViewDesc: Annotated[c.POINTER[struct_cudaResourceViewDesc], 0]
  texObject: Annotated[cudaTextureObject_t, 8]
cudaGetTextureObjectResourceViewDesc_v5000_params: TypeAlias = struct_cudaGetTextureObjectResourceViewDesc_v5000_params_st
@c.record
class struct_cudaCreateSurfaceObject_v5000_params_st(c.Struct):
  SIZE = 16
  pSurfObject: Annotated[c.POINTER[cudaSurfaceObject_t], 0]
  pResDesc: Annotated[c.POINTER[struct_cudaResourceDesc], 8]
cudaSurfaceObject_t: TypeAlias = Annotated[int, ctypes.c_uint64]
cudaCreateSurfaceObject_v5000_params: TypeAlias = struct_cudaCreateSurfaceObject_v5000_params_st
@c.record
class struct_cudaDestroySurfaceObject_v5000_params_st(c.Struct):
  SIZE = 8
  surfObject: Annotated[cudaSurfaceObject_t, 0]
cudaDestroySurfaceObject_v5000_params: TypeAlias = struct_cudaDestroySurfaceObject_v5000_params_st
@c.record
class struct_cudaGetSurfaceObjectResourceDesc_v5000_params_st(c.Struct):
  SIZE = 16
  pResDesc: Annotated[c.POINTER[struct_cudaResourceDesc], 0]
  surfObject: Annotated[cudaSurfaceObject_t, 8]
cudaGetSurfaceObjectResourceDesc_v5000_params: TypeAlias = struct_cudaGetSurfaceObjectResourceDesc_v5000_params_st
@c.record
class struct_cudaDriverGetVersion_v3020_params_st(c.Struct):
  SIZE = 8
  driverVersion: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
cudaDriverGetVersion_v3020_params: TypeAlias = struct_cudaDriverGetVersion_v3020_params_st
@c.record
class struct_cudaRuntimeGetVersion_v3020_params_st(c.Struct):
  SIZE = 8
  runtimeVersion: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 0]
cudaRuntimeGetVersion_v3020_params: TypeAlias = struct_cudaRuntimeGetVersion_v3020_params_st
@c.record
class struct_cudaGraphCreate_v10000_params_st(c.Struct):
  SIZE = 16
  pGraph: Annotated[c.POINTER[cudaGraph_t], 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 8]
cudaGraphCreate_v10000_params: TypeAlias = struct_cudaGraphCreate_v10000_params_st
@c.record
class struct_cudaGraphAddKernelNode_v10000_params_st(c.Struct):
  SIZE = 40
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
  pNodeParams: Annotated[c.POINTER[struct_cudaKernelNodeParams], 32]
@c.record
class struct_cudaKernelNodeParams(c.Struct):
  SIZE = 56
  func: Annotated[ctypes.c_void_p, 0]
  gridDim: Annotated[dim3, 8]
  blockDim: Annotated[dim3, 20]
  sharedMemBytes: Annotated[Annotated[int, ctypes.c_uint32], 32]
  kernelParams: Annotated[c.POINTER[ctypes.c_void_p], 40]
  extra: Annotated[c.POINTER[ctypes.c_void_p], 48]
cudaGraphAddKernelNode_v10000_params: TypeAlias = struct_cudaGraphAddKernelNode_v10000_params_st
@c.record
class struct_cudaGraphKernelNodeGetParams_v10000_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  pNodeParams: Annotated[c.POINTER[struct_cudaKernelNodeParams], 8]
cudaGraphKernelNodeGetParams_v10000_params: TypeAlias = struct_cudaGraphKernelNodeGetParams_v10000_params_st
@c.record
class struct_cudaGraphKernelNodeSetParams_v10000_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  pNodeParams: Annotated[c.POINTER[struct_cudaKernelNodeParams], 8]
cudaGraphKernelNodeSetParams_v10000_params: TypeAlias = struct_cudaGraphKernelNodeSetParams_v10000_params_st
@c.record
class struct_cudaGraphKernelNodeCopyAttributes_v11000_params_st(c.Struct):
  SIZE = 16
  hSrc: Annotated[cudaGraphNode_t, 0]
  hDst: Annotated[cudaGraphNode_t, 8]
cudaGraphKernelNodeCopyAttributes_v11000_params: TypeAlias = struct_cudaGraphKernelNodeCopyAttributes_v11000_params_st
@c.record
class struct_cudaGraphKernelNodeGetAttribute_v11000_params_st(c.Struct):
  SIZE = 24
  hNode: Annotated[cudaGraphNode_t, 0]
  attr: Annotated[cudaLaunchAttributeID, 8]
  value_out: Annotated[c.POINTER[cudaLaunchAttributeValue], 16]
cudaGraphKernelNodeGetAttribute_v11000_params: TypeAlias = struct_cudaGraphKernelNodeGetAttribute_v11000_params_st
@c.record
class struct_cudaGraphKernelNodeSetAttribute_v11000_params_st(c.Struct):
  SIZE = 24
  hNode: Annotated[cudaGraphNode_t, 0]
  attr: Annotated[cudaLaunchAttributeID, 8]
  value: Annotated[c.POINTER[cudaLaunchAttributeValue], 16]
cudaGraphKernelNodeSetAttribute_v11000_params: TypeAlias = struct_cudaGraphKernelNodeSetAttribute_v11000_params_st
@c.record
class struct_cudaGraphAddMemcpyNode_v10000_params_st(c.Struct):
  SIZE = 40
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
  pCopyParams: Annotated[c.POINTER[struct_cudaMemcpy3DParms], 32]
cudaGraphAddMemcpyNode_v10000_params: TypeAlias = struct_cudaGraphAddMemcpyNode_v10000_params_st
@c.record
class struct_cudaGraphAddMemcpyNodeToSymbol_v11010_params_st(c.Struct):
  SIZE = 72
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
  symbol: Annotated[ctypes.c_void_p, 32]
  src: Annotated[ctypes.c_void_p, 40]
  count: Annotated[size_t, 48]
  offset: Annotated[size_t, 56]
  kind: Annotated[enum_cudaMemcpyKind, 64]
cudaGraphAddMemcpyNodeToSymbol_v11010_params: TypeAlias = struct_cudaGraphAddMemcpyNodeToSymbol_v11010_params_st
@c.record
class struct_cudaGraphAddMemcpyNodeFromSymbol_v11010_params_st(c.Struct):
  SIZE = 72
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
  dst: Annotated[ctypes.c_void_p, 32]
  symbol: Annotated[ctypes.c_void_p, 40]
  count: Annotated[size_t, 48]
  offset: Annotated[size_t, 56]
  kind: Annotated[enum_cudaMemcpyKind, 64]
cudaGraphAddMemcpyNodeFromSymbol_v11010_params: TypeAlias = struct_cudaGraphAddMemcpyNodeFromSymbol_v11010_params_st
@c.record
class struct_cudaGraphAddMemcpyNode1D_v11010_params_st(c.Struct):
  SIZE = 64
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
  dst: Annotated[ctypes.c_void_p, 32]
  src: Annotated[ctypes.c_void_p, 40]
  count: Annotated[size_t, 48]
  kind: Annotated[enum_cudaMemcpyKind, 56]
cudaGraphAddMemcpyNode1D_v11010_params: TypeAlias = struct_cudaGraphAddMemcpyNode1D_v11010_params_st
@c.record
class struct_cudaGraphMemcpyNodeGetParams_v10000_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  pNodeParams: Annotated[c.POINTER[struct_cudaMemcpy3DParms], 8]
cudaGraphMemcpyNodeGetParams_v10000_params: TypeAlias = struct_cudaGraphMemcpyNodeGetParams_v10000_params_st
@c.record
class struct_cudaGraphMemcpyNodeSetParams_v10000_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  pNodeParams: Annotated[c.POINTER[struct_cudaMemcpy3DParms], 8]
cudaGraphMemcpyNodeSetParams_v10000_params: TypeAlias = struct_cudaGraphMemcpyNodeSetParams_v10000_params_st
@c.record
class struct_cudaGraphMemcpyNodeSetParamsToSymbol_v11010_params_st(c.Struct):
  SIZE = 48
  node: Annotated[cudaGraphNode_t, 0]
  symbol: Annotated[ctypes.c_void_p, 8]
  src: Annotated[ctypes.c_void_p, 16]
  count: Annotated[size_t, 24]
  offset: Annotated[size_t, 32]
  kind: Annotated[enum_cudaMemcpyKind, 40]
cudaGraphMemcpyNodeSetParamsToSymbol_v11010_params: TypeAlias = struct_cudaGraphMemcpyNodeSetParamsToSymbol_v11010_params_st
@c.record
class struct_cudaGraphMemcpyNodeSetParamsFromSymbol_v11010_params_st(c.Struct):
  SIZE = 48
  node: Annotated[cudaGraphNode_t, 0]
  dst: Annotated[ctypes.c_void_p, 8]
  symbol: Annotated[ctypes.c_void_p, 16]
  count: Annotated[size_t, 24]
  offset: Annotated[size_t, 32]
  kind: Annotated[enum_cudaMemcpyKind, 40]
cudaGraphMemcpyNodeSetParamsFromSymbol_v11010_params: TypeAlias = struct_cudaGraphMemcpyNodeSetParamsFromSymbol_v11010_params_st
@c.record
class struct_cudaGraphMemcpyNodeSetParams1D_v11010_params_st(c.Struct):
  SIZE = 40
  node: Annotated[cudaGraphNode_t, 0]
  dst: Annotated[ctypes.c_void_p, 8]
  src: Annotated[ctypes.c_void_p, 16]
  count: Annotated[size_t, 24]
  kind: Annotated[enum_cudaMemcpyKind, 32]
cudaGraphMemcpyNodeSetParams1D_v11010_params: TypeAlias = struct_cudaGraphMemcpyNodeSetParams1D_v11010_params_st
@c.record
class struct_cudaGraphAddMemsetNode_v10000_params_st(c.Struct):
  SIZE = 40
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
  pMemsetParams: Annotated[c.POINTER[struct_cudaMemsetParams], 32]
@c.record
class struct_cudaMemsetParams(c.Struct):
  SIZE = 40
  dst: Annotated[ctypes.c_void_p, 0]
  pitch: Annotated[size_t, 8]
  value: Annotated[Annotated[int, ctypes.c_uint32], 16]
  elementSize: Annotated[Annotated[int, ctypes.c_uint32], 20]
  width: Annotated[size_t, 24]
  height: Annotated[size_t, 32]
cudaGraphAddMemsetNode_v10000_params: TypeAlias = struct_cudaGraphAddMemsetNode_v10000_params_st
@c.record
class struct_cudaGraphMemsetNodeGetParams_v10000_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  pNodeParams: Annotated[c.POINTER[struct_cudaMemsetParams], 8]
cudaGraphMemsetNodeGetParams_v10000_params: TypeAlias = struct_cudaGraphMemsetNodeGetParams_v10000_params_st
@c.record
class struct_cudaGraphMemsetNodeSetParams_v10000_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  pNodeParams: Annotated[c.POINTER[struct_cudaMemsetParams], 8]
cudaGraphMemsetNodeSetParams_v10000_params: TypeAlias = struct_cudaGraphMemsetNodeSetParams_v10000_params_st
@c.record
class struct_cudaGraphAddHostNode_v10000_params_st(c.Struct):
  SIZE = 40
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
  pNodeParams: Annotated[c.POINTER[struct_cudaHostNodeParams], 32]
@c.record
class struct_cudaHostNodeParams(c.Struct):
  SIZE = 16
  fn: Annotated[cudaHostFn_t, 0]
  userData: Annotated[ctypes.c_void_p, 8]
cudaGraphAddHostNode_v10000_params: TypeAlias = struct_cudaGraphAddHostNode_v10000_params_st
@c.record
class struct_cudaGraphHostNodeGetParams_v10000_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  pNodeParams: Annotated[c.POINTER[struct_cudaHostNodeParams], 8]
cudaGraphHostNodeGetParams_v10000_params: TypeAlias = struct_cudaGraphHostNodeGetParams_v10000_params_st
@c.record
class struct_cudaGraphHostNodeSetParams_v10000_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  pNodeParams: Annotated[c.POINTER[struct_cudaHostNodeParams], 8]
cudaGraphHostNodeSetParams_v10000_params: TypeAlias = struct_cudaGraphHostNodeSetParams_v10000_params_st
@c.record
class struct_cudaGraphAddChildGraphNode_v10000_params_st(c.Struct):
  SIZE = 40
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
  childGraph: Annotated[cudaGraph_t, 32]
cudaGraphAddChildGraphNode_v10000_params: TypeAlias = struct_cudaGraphAddChildGraphNode_v10000_params_st
@c.record
class struct_cudaGraphChildGraphNodeGetGraph_v10000_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  pGraph: Annotated[c.POINTER[cudaGraph_t], 8]
cudaGraphChildGraphNodeGetGraph_v10000_params: TypeAlias = struct_cudaGraphChildGraphNodeGetGraph_v10000_params_st
@c.record
class struct_cudaGraphAddEmptyNode_v10000_params_st(c.Struct):
  SIZE = 32
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
cudaGraphAddEmptyNode_v10000_params: TypeAlias = struct_cudaGraphAddEmptyNode_v10000_params_st
@c.record
class struct_cudaGraphAddEventRecordNode_v11010_params_st(c.Struct):
  SIZE = 40
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
  event: Annotated[cudaEvent_t, 32]
cudaGraphAddEventRecordNode_v11010_params: TypeAlias = struct_cudaGraphAddEventRecordNode_v11010_params_st
@c.record
class struct_cudaGraphEventRecordNodeGetEvent_v11010_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  event_out: Annotated[c.POINTER[cudaEvent_t], 8]
cudaGraphEventRecordNodeGetEvent_v11010_params: TypeAlias = struct_cudaGraphEventRecordNodeGetEvent_v11010_params_st
@c.record
class struct_cudaGraphEventRecordNodeSetEvent_v11010_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  event: Annotated[cudaEvent_t, 8]
cudaGraphEventRecordNodeSetEvent_v11010_params: TypeAlias = struct_cudaGraphEventRecordNodeSetEvent_v11010_params_st
@c.record
class struct_cudaGraphAddEventWaitNode_v11010_params_st(c.Struct):
  SIZE = 40
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
  event: Annotated[cudaEvent_t, 32]
cudaGraphAddEventWaitNode_v11010_params: TypeAlias = struct_cudaGraphAddEventWaitNode_v11010_params_st
@c.record
class struct_cudaGraphEventWaitNodeGetEvent_v11010_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  event_out: Annotated[c.POINTER[cudaEvent_t], 8]
cudaGraphEventWaitNodeGetEvent_v11010_params: TypeAlias = struct_cudaGraphEventWaitNodeGetEvent_v11010_params_st
@c.record
class struct_cudaGraphEventWaitNodeSetEvent_v11010_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  event: Annotated[cudaEvent_t, 8]
cudaGraphEventWaitNodeSetEvent_v11010_params: TypeAlias = struct_cudaGraphEventWaitNodeSetEvent_v11010_params_st
@c.record
class struct_cudaGraphAddExternalSemaphoresSignalNode_v11020_params_st(c.Struct):
  SIZE = 40
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
  nodeParams: Annotated[c.POINTER[struct_cudaExternalSemaphoreSignalNodeParams], 32]
@c.record
class struct_cudaExternalSemaphoreSignalNodeParams(c.Struct):
  SIZE = 24
  extSemArray: Annotated[c.POINTER[cudaExternalSemaphore_t], 0]
  paramsArray: Annotated[c.POINTER[struct_cudaExternalSemaphoreSignalParams], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
cudaGraphAddExternalSemaphoresSignalNode_v11020_params: TypeAlias = struct_cudaGraphAddExternalSemaphoresSignalNode_v11020_params_st
@c.record
class struct_cudaGraphExternalSemaphoresSignalNodeGetParams_v11020_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[cudaGraphNode_t, 0]
  params_out: Annotated[c.POINTER[struct_cudaExternalSemaphoreSignalNodeParams], 8]
cudaGraphExternalSemaphoresSignalNodeGetParams_v11020_params: TypeAlias = struct_cudaGraphExternalSemaphoresSignalNodeGetParams_v11020_params_st
@c.record
class struct_cudaGraphExternalSemaphoresSignalNodeSetParams_v11020_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[cudaGraphNode_t, 0]
  nodeParams: Annotated[c.POINTER[struct_cudaExternalSemaphoreSignalNodeParams], 8]
cudaGraphExternalSemaphoresSignalNodeSetParams_v11020_params: TypeAlias = struct_cudaGraphExternalSemaphoresSignalNodeSetParams_v11020_params_st
@c.record
class struct_cudaGraphAddExternalSemaphoresWaitNode_v11020_params_st(c.Struct):
  SIZE = 40
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
  nodeParams: Annotated[c.POINTER[struct_cudaExternalSemaphoreWaitNodeParams], 32]
@c.record
class struct_cudaExternalSemaphoreWaitNodeParams(c.Struct):
  SIZE = 24
  extSemArray: Annotated[c.POINTER[cudaExternalSemaphore_t], 0]
  paramsArray: Annotated[c.POINTER[struct_cudaExternalSemaphoreWaitParams], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
cudaGraphAddExternalSemaphoresWaitNode_v11020_params: TypeAlias = struct_cudaGraphAddExternalSemaphoresWaitNode_v11020_params_st
@c.record
class struct_cudaGraphExternalSemaphoresWaitNodeGetParams_v11020_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[cudaGraphNode_t, 0]
  params_out: Annotated[c.POINTER[struct_cudaExternalSemaphoreWaitNodeParams], 8]
cudaGraphExternalSemaphoresWaitNodeGetParams_v11020_params: TypeAlias = struct_cudaGraphExternalSemaphoresWaitNodeGetParams_v11020_params_st
@c.record
class struct_cudaGraphExternalSemaphoresWaitNodeSetParams_v11020_params_st(c.Struct):
  SIZE = 16
  hNode: Annotated[cudaGraphNode_t, 0]
  nodeParams: Annotated[c.POINTER[struct_cudaExternalSemaphoreWaitNodeParams], 8]
cudaGraphExternalSemaphoresWaitNodeSetParams_v11020_params: TypeAlias = struct_cudaGraphExternalSemaphoresWaitNodeSetParams_v11020_params_st
@c.record
class struct_cudaGraphAddMemAllocNode_v11040_params_st(c.Struct):
  SIZE = 40
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
  nodeParams: Annotated[c.POINTER[struct_cudaMemAllocNodeParams], 32]
@c.record
class struct_cudaMemAllocNodeParams(c.Struct):
  SIZE = 120
  poolProps: Annotated[struct_cudaMemPoolProps, 0]
  accessDescs: Annotated[c.POINTER[struct_cudaMemAccessDesc], 88]
  accessDescCount: Annotated[size_t, 96]
  bytesize: Annotated[size_t, 104]
  dptr: Annotated[ctypes.c_void_p, 112]
cudaGraphAddMemAllocNode_v11040_params: TypeAlias = struct_cudaGraphAddMemAllocNode_v11040_params_st
@c.record
class struct_cudaGraphMemAllocNodeGetParams_v11040_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  params_out: Annotated[c.POINTER[struct_cudaMemAllocNodeParams], 8]
cudaGraphMemAllocNodeGetParams_v11040_params: TypeAlias = struct_cudaGraphMemAllocNodeGetParams_v11040_params_st
@c.record
class struct_cudaGraphAddMemFreeNode_v11040_params_st(c.Struct):
  SIZE = 40
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
  dptr: Annotated[ctypes.c_void_p, 32]
cudaGraphAddMemFreeNode_v11040_params: TypeAlias = struct_cudaGraphAddMemFreeNode_v11040_params_st
@c.record
class struct_cudaGraphMemFreeNodeGetParams_v11040_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  dptr_out: Annotated[ctypes.c_void_p, 8]
cudaGraphMemFreeNodeGetParams_v11040_params: TypeAlias = struct_cudaGraphMemFreeNodeGetParams_v11040_params_st
@c.record
class struct_cudaDeviceGraphMemTrim_v11040_params_st(c.Struct):
  SIZE = 4
  device: Annotated[Annotated[int, ctypes.c_int32], 0]
cudaDeviceGraphMemTrim_v11040_params: TypeAlias = struct_cudaDeviceGraphMemTrim_v11040_params_st
@c.record
class struct_cudaDeviceGetGraphMemAttribute_v11040_params_st(c.Struct):
  SIZE = 16
  device: Annotated[Annotated[int, ctypes.c_int32], 0]
  attr: Annotated[enum_cudaGraphMemAttributeType, 4]
  value: Annotated[ctypes.c_void_p, 8]
class enum_cudaGraphMemAttributeType(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaGraphMemAttrUsedMemCurrent = enum_cudaGraphMemAttributeType.define('cudaGraphMemAttrUsedMemCurrent', 0)
cudaGraphMemAttrUsedMemHigh = enum_cudaGraphMemAttributeType.define('cudaGraphMemAttrUsedMemHigh', 1)
cudaGraphMemAttrReservedMemCurrent = enum_cudaGraphMemAttributeType.define('cudaGraphMemAttrReservedMemCurrent', 2)
cudaGraphMemAttrReservedMemHigh = enum_cudaGraphMemAttributeType.define('cudaGraphMemAttrReservedMemHigh', 3)

cudaDeviceGetGraphMemAttribute_v11040_params: TypeAlias = struct_cudaDeviceGetGraphMemAttribute_v11040_params_st
@c.record
class struct_cudaDeviceSetGraphMemAttribute_v11040_params_st(c.Struct):
  SIZE = 16
  device: Annotated[Annotated[int, ctypes.c_int32], 0]
  attr: Annotated[enum_cudaGraphMemAttributeType, 4]
  value: Annotated[ctypes.c_void_p, 8]
cudaDeviceSetGraphMemAttribute_v11040_params: TypeAlias = struct_cudaDeviceSetGraphMemAttribute_v11040_params_st
@c.record
class struct_cudaGraphClone_v10000_params_st(c.Struct):
  SIZE = 16
  pGraphClone: Annotated[c.POINTER[cudaGraph_t], 0]
  originalGraph: Annotated[cudaGraph_t, 8]
cudaGraphClone_v10000_params: TypeAlias = struct_cudaGraphClone_v10000_params_st
@c.record
class struct_cudaGraphNodeFindInClone_v10000_params_st(c.Struct):
  SIZE = 24
  pNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  originalNode: Annotated[cudaGraphNode_t, 8]
  clonedGraph: Annotated[cudaGraph_t, 16]
cudaGraphNodeFindInClone_v10000_params: TypeAlias = struct_cudaGraphNodeFindInClone_v10000_params_st
@c.record
class struct_cudaGraphNodeGetType_v10000_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  pType: Annotated[c.POINTER[enum_cudaGraphNodeType], 8]
class enum_cudaGraphNodeType(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaGraphNodeTypeKernel = enum_cudaGraphNodeType.define('cudaGraphNodeTypeKernel', 0)
cudaGraphNodeTypeMemcpy = enum_cudaGraphNodeType.define('cudaGraphNodeTypeMemcpy', 1)
cudaGraphNodeTypeMemset = enum_cudaGraphNodeType.define('cudaGraphNodeTypeMemset', 2)
cudaGraphNodeTypeHost = enum_cudaGraphNodeType.define('cudaGraphNodeTypeHost', 3)
cudaGraphNodeTypeGraph = enum_cudaGraphNodeType.define('cudaGraphNodeTypeGraph', 4)
cudaGraphNodeTypeEmpty = enum_cudaGraphNodeType.define('cudaGraphNodeTypeEmpty', 5)
cudaGraphNodeTypeWaitEvent = enum_cudaGraphNodeType.define('cudaGraphNodeTypeWaitEvent', 6)
cudaGraphNodeTypeEventRecord = enum_cudaGraphNodeType.define('cudaGraphNodeTypeEventRecord', 7)
cudaGraphNodeTypeExtSemaphoreSignal = enum_cudaGraphNodeType.define('cudaGraphNodeTypeExtSemaphoreSignal', 8)
cudaGraphNodeTypeExtSemaphoreWait = enum_cudaGraphNodeType.define('cudaGraphNodeTypeExtSemaphoreWait', 9)
cudaGraphNodeTypeMemAlloc = enum_cudaGraphNodeType.define('cudaGraphNodeTypeMemAlloc', 10)
cudaGraphNodeTypeMemFree = enum_cudaGraphNodeType.define('cudaGraphNodeTypeMemFree', 11)
cudaGraphNodeTypeConditional = enum_cudaGraphNodeType.define('cudaGraphNodeTypeConditional', 13)
cudaGraphNodeTypeCount = enum_cudaGraphNodeType.define('cudaGraphNodeTypeCount', 14)

cudaGraphNodeGetType_v10000_params: TypeAlias = struct_cudaGraphNodeGetType_v10000_params_st
@c.record
class struct_cudaGraphGetNodes_v10000_params_st(c.Struct):
  SIZE = 24
  graph: Annotated[cudaGraph_t, 0]
  nodes: Annotated[c.POINTER[cudaGraphNode_t], 8]
  numNodes: Annotated[c.POINTER[size_t], 16]
cudaGraphGetNodes_v10000_params: TypeAlias = struct_cudaGraphGetNodes_v10000_params_st
@c.record
class struct_cudaGraphGetRootNodes_v10000_params_st(c.Struct):
  SIZE = 24
  graph: Annotated[cudaGraph_t, 0]
  pRootNodes: Annotated[c.POINTER[cudaGraphNode_t], 8]
  pNumRootNodes: Annotated[c.POINTER[size_t], 16]
cudaGraphGetRootNodes_v10000_params: TypeAlias = struct_cudaGraphGetRootNodes_v10000_params_st
@c.record
class struct_cudaGraphGetEdges_v10000_params_st(c.Struct):
  SIZE = 32
  graph: Annotated[cudaGraph_t, 0]
  _from: Annotated[c.POINTER[cudaGraphNode_t], 8]
  to: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numEdges: Annotated[c.POINTER[size_t], 24]
cudaGraphGetEdges_v10000_params: TypeAlias = struct_cudaGraphGetEdges_v10000_params_st
@c.record
class struct_cudaGraphGetEdges_v2_v12030_params_st(c.Struct):
  SIZE = 40
  graph: Annotated[cudaGraph_t, 0]
  _from: Annotated[c.POINTER[cudaGraphNode_t], 8]
  to: Annotated[c.POINTER[cudaGraphNode_t], 16]
  edgeData: Annotated[c.POINTER[cudaGraphEdgeData], 24]
  numEdges: Annotated[c.POINTER[size_t], 32]
cudaGraphGetEdges_v2_v12030_params: TypeAlias = struct_cudaGraphGetEdges_v2_v12030_params_st
@c.record
class struct_cudaGraphNodeGetDependencies_v10000_params_st(c.Struct):
  SIZE = 24
  node: Annotated[cudaGraphNode_t, 0]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 8]
  pNumDependencies: Annotated[c.POINTER[size_t], 16]
cudaGraphNodeGetDependencies_v10000_params: TypeAlias = struct_cudaGraphNodeGetDependencies_v10000_params_st
@c.record
class struct_cudaGraphNodeGetDependencies_v2_v12030_params_st(c.Struct):
  SIZE = 32
  node: Annotated[cudaGraphNode_t, 0]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 8]
  edgeData: Annotated[c.POINTER[cudaGraphEdgeData], 16]
  pNumDependencies: Annotated[c.POINTER[size_t], 24]
cudaGraphNodeGetDependencies_v2_v12030_params: TypeAlias = struct_cudaGraphNodeGetDependencies_v2_v12030_params_st
@c.record
class struct_cudaGraphNodeGetDependentNodes_v10000_params_st(c.Struct):
  SIZE = 24
  node: Annotated[cudaGraphNode_t, 0]
  pDependentNodes: Annotated[c.POINTER[cudaGraphNode_t], 8]
  pNumDependentNodes: Annotated[c.POINTER[size_t], 16]
cudaGraphNodeGetDependentNodes_v10000_params: TypeAlias = struct_cudaGraphNodeGetDependentNodes_v10000_params_st
@c.record
class struct_cudaGraphNodeGetDependentNodes_v2_v12030_params_st(c.Struct):
  SIZE = 32
  node: Annotated[cudaGraphNode_t, 0]
  pDependentNodes: Annotated[c.POINTER[cudaGraphNode_t], 8]
  edgeData: Annotated[c.POINTER[cudaGraphEdgeData], 16]
  pNumDependentNodes: Annotated[c.POINTER[size_t], 24]
cudaGraphNodeGetDependentNodes_v2_v12030_params: TypeAlias = struct_cudaGraphNodeGetDependentNodes_v2_v12030_params_st
@c.record
class struct_cudaGraphAddDependencies_v10000_params_st(c.Struct):
  SIZE = 32
  graph: Annotated[cudaGraph_t, 0]
  _from: Annotated[c.POINTER[cudaGraphNode_t], 8]
  to: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
cudaGraphAddDependencies_v10000_params: TypeAlias = struct_cudaGraphAddDependencies_v10000_params_st
@c.record
class struct_cudaGraphAddDependencies_v2_v12030_params_st(c.Struct):
  SIZE = 40
  graph: Annotated[cudaGraph_t, 0]
  _from: Annotated[c.POINTER[cudaGraphNode_t], 8]
  to: Annotated[c.POINTER[cudaGraphNode_t], 16]
  edgeData: Annotated[c.POINTER[cudaGraphEdgeData], 24]
  numDependencies: Annotated[size_t, 32]
cudaGraphAddDependencies_v2_v12030_params: TypeAlias = struct_cudaGraphAddDependencies_v2_v12030_params_st
@c.record
class struct_cudaGraphRemoveDependencies_v10000_params_st(c.Struct):
  SIZE = 32
  graph: Annotated[cudaGraph_t, 0]
  _from: Annotated[c.POINTER[cudaGraphNode_t], 8]
  to: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
cudaGraphRemoveDependencies_v10000_params: TypeAlias = struct_cudaGraphRemoveDependencies_v10000_params_st
@c.record
class struct_cudaGraphRemoveDependencies_v2_v12030_params_st(c.Struct):
  SIZE = 40
  graph: Annotated[cudaGraph_t, 0]
  _from: Annotated[c.POINTER[cudaGraphNode_t], 8]
  to: Annotated[c.POINTER[cudaGraphNode_t], 16]
  edgeData: Annotated[c.POINTER[cudaGraphEdgeData], 24]
  numDependencies: Annotated[size_t, 32]
cudaGraphRemoveDependencies_v2_v12030_params: TypeAlias = struct_cudaGraphRemoveDependencies_v2_v12030_params_st
@c.record
class struct_cudaGraphDestroyNode_v10000_params_st(c.Struct):
  SIZE = 8
  node: Annotated[cudaGraphNode_t, 0]
cudaGraphDestroyNode_v10000_params: TypeAlias = struct_cudaGraphDestroyNode_v10000_params_st
@c.record
class struct_cudaGraphInstantiate_v12000_params_st(c.Struct):
  SIZE = 24
  pGraphExec: Annotated[c.POINTER[cudaGraphExec_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 16]
cudaGraphExec_t: TypeAlias = c.POINTER[struct_CUgraphExec_st]
cudaGraphInstantiate_v12000_params: TypeAlias = struct_cudaGraphInstantiate_v12000_params_st
@c.record
class struct_cudaGraphInstantiateWithFlags_v11040_params_st(c.Struct):
  SIZE = 24
  pGraphExec: Annotated[c.POINTER[cudaGraphExec_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 16]
cudaGraphInstantiateWithFlags_v11040_params: TypeAlias = struct_cudaGraphInstantiateWithFlags_v11040_params_st
@c.record
class struct_cudaGraphInstantiateWithParams_ptsz_v12000_params_st(c.Struct):
  SIZE = 24
  pGraphExec: Annotated[c.POINTER[cudaGraphExec_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  instantiateParams: Annotated[c.POINTER[cudaGraphInstantiateParams], 16]
@c.record
class struct_cudaGraphInstantiateParams_st(c.Struct):
  SIZE = 32
  flags: Annotated[Annotated[int, ctypes.c_uint64], 0]
  uploadStream: Annotated[cudaStream_t, 8]
  errNode_out: Annotated[cudaGraphNode_t, 16]
  result_out: Annotated[cudaGraphInstantiateResult, 24]
cudaGraphInstantiateParams: TypeAlias = struct_cudaGraphInstantiateParams_st
class enum_cudaGraphInstantiateResult(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaGraphInstantiateSuccess = enum_cudaGraphInstantiateResult.define('cudaGraphInstantiateSuccess', 0)
cudaGraphInstantiateError = enum_cudaGraphInstantiateResult.define('cudaGraphInstantiateError', 1)
cudaGraphInstantiateInvalidStructure = enum_cudaGraphInstantiateResult.define('cudaGraphInstantiateInvalidStructure', 2)
cudaGraphInstantiateNodeOperationNotSupported = enum_cudaGraphInstantiateResult.define('cudaGraphInstantiateNodeOperationNotSupported', 3)
cudaGraphInstantiateMultipleDevicesNotSupported = enum_cudaGraphInstantiateResult.define('cudaGraphInstantiateMultipleDevicesNotSupported', 4)
cudaGraphInstantiateConditionalHandleUnused = enum_cudaGraphInstantiateResult.define('cudaGraphInstantiateConditionalHandleUnused', 5)

cudaGraphInstantiateResult: TypeAlias = enum_cudaGraphInstantiateResult
cudaGraphInstantiateWithParams_ptsz_v12000_params: TypeAlias = struct_cudaGraphInstantiateWithParams_ptsz_v12000_params_st
@c.record
class struct_cudaGraphExecGetFlags_v12000_params_st(c.Struct):
  SIZE = 16
  graphExec: Annotated[cudaGraphExec_t, 0]
  flags: Annotated[c.POINTER[Annotated[int, ctypes.c_uint64]], 8]
cudaGraphExecGetFlags_v12000_params: TypeAlias = struct_cudaGraphExecGetFlags_v12000_params_st
@c.record
class struct_cudaGraphExecKernelNodeSetParams_v10010_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[cudaGraphExec_t, 0]
  node: Annotated[cudaGraphNode_t, 8]
  pNodeParams: Annotated[c.POINTER[struct_cudaKernelNodeParams], 16]
cudaGraphExecKernelNodeSetParams_v10010_params: TypeAlias = struct_cudaGraphExecKernelNodeSetParams_v10010_params_st
@c.record
class struct_cudaGraphExecMemcpyNodeSetParams_v10020_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[cudaGraphExec_t, 0]
  node: Annotated[cudaGraphNode_t, 8]
  pNodeParams: Annotated[c.POINTER[struct_cudaMemcpy3DParms], 16]
cudaGraphExecMemcpyNodeSetParams_v10020_params: TypeAlias = struct_cudaGraphExecMemcpyNodeSetParams_v10020_params_st
@c.record
class struct_cudaGraphExecMemcpyNodeSetParamsToSymbol_v11010_params_st(c.Struct):
  SIZE = 56
  hGraphExec: Annotated[cudaGraphExec_t, 0]
  node: Annotated[cudaGraphNode_t, 8]
  symbol: Annotated[ctypes.c_void_p, 16]
  src: Annotated[ctypes.c_void_p, 24]
  count: Annotated[size_t, 32]
  offset: Annotated[size_t, 40]
  kind: Annotated[enum_cudaMemcpyKind, 48]
cudaGraphExecMemcpyNodeSetParamsToSymbol_v11010_params: TypeAlias = struct_cudaGraphExecMemcpyNodeSetParamsToSymbol_v11010_params_st
@c.record
class struct_cudaGraphExecMemcpyNodeSetParamsFromSymbol_v11010_params_st(c.Struct):
  SIZE = 56
  hGraphExec: Annotated[cudaGraphExec_t, 0]
  node: Annotated[cudaGraphNode_t, 8]
  dst: Annotated[ctypes.c_void_p, 16]
  symbol: Annotated[ctypes.c_void_p, 24]
  count: Annotated[size_t, 32]
  offset: Annotated[size_t, 40]
  kind: Annotated[enum_cudaMemcpyKind, 48]
cudaGraphExecMemcpyNodeSetParamsFromSymbol_v11010_params: TypeAlias = struct_cudaGraphExecMemcpyNodeSetParamsFromSymbol_v11010_params_st
@c.record
class struct_cudaGraphExecMemcpyNodeSetParams1D_v11010_params_st(c.Struct):
  SIZE = 48
  hGraphExec: Annotated[cudaGraphExec_t, 0]
  node: Annotated[cudaGraphNode_t, 8]
  dst: Annotated[ctypes.c_void_p, 16]
  src: Annotated[ctypes.c_void_p, 24]
  count: Annotated[size_t, 32]
  kind: Annotated[enum_cudaMemcpyKind, 40]
cudaGraphExecMemcpyNodeSetParams1D_v11010_params: TypeAlias = struct_cudaGraphExecMemcpyNodeSetParams1D_v11010_params_st
@c.record
class struct_cudaGraphExecMemsetNodeSetParams_v10020_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[cudaGraphExec_t, 0]
  node: Annotated[cudaGraphNode_t, 8]
  pNodeParams: Annotated[c.POINTER[struct_cudaMemsetParams], 16]
cudaGraphExecMemsetNodeSetParams_v10020_params: TypeAlias = struct_cudaGraphExecMemsetNodeSetParams_v10020_params_st
@c.record
class struct_cudaGraphExecHostNodeSetParams_v10020_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[cudaGraphExec_t, 0]
  node: Annotated[cudaGraphNode_t, 8]
  pNodeParams: Annotated[c.POINTER[struct_cudaHostNodeParams], 16]
cudaGraphExecHostNodeSetParams_v10020_params: TypeAlias = struct_cudaGraphExecHostNodeSetParams_v10020_params_st
@c.record
class struct_cudaGraphExecChildGraphNodeSetParams_v11010_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[cudaGraphExec_t, 0]
  node: Annotated[cudaGraphNode_t, 8]
  childGraph: Annotated[cudaGraph_t, 16]
cudaGraphExecChildGraphNodeSetParams_v11010_params: TypeAlias = struct_cudaGraphExecChildGraphNodeSetParams_v11010_params_st
@c.record
class struct_cudaGraphExecEventRecordNodeSetEvent_v11010_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[cudaGraphExec_t, 0]
  hNode: Annotated[cudaGraphNode_t, 8]
  event: Annotated[cudaEvent_t, 16]
cudaGraphExecEventRecordNodeSetEvent_v11010_params: TypeAlias = struct_cudaGraphExecEventRecordNodeSetEvent_v11010_params_st
@c.record
class struct_cudaGraphExecEventWaitNodeSetEvent_v11010_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[cudaGraphExec_t, 0]
  hNode: Annotated[cudaGraphNode_t, 8]
  event: Annotated[cudaEvent_t, 16]
cudaGraphExecEventWaitNodeSetEvent_v11010_params: TypeAlias = struct_cudaGraphExecEventWaitNodeSetEvent_v11010_params_st
@c.record
class struct_cudaGraphExecExternalSemaphoresSignalNodeSetParams_v11020_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[cudaGraphExec_t, 0]
  hNode: Annotated[cudaGraphNode_t, 8]
  nodeParams: Annotated[c.POINTER[struct_cudaExternalSemaphoreSignalNodeParams], 16]
cudaGraphExecExternalSemaphoresSignalNodeSetParams_v11020_params: TypeAlias = struct_cudaGraphExecExternalSemaphoresSignalNodeSetParams_v11020_params_st
@c.record
class struct_cudaGraphExecExternalSemaphoresWaitNodeSetParams_v11020_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[cudaGraphExec_t, 0]
  hNode: Annotated[cudaGraphNode_t, 8]
  nodeParams: Annotated[c.POINTER[struct_cudaExternalSemaphoreWaitNodeParams], 16]
cudaGraphExecExternalSemaphoresWaitNodeSetParams_v11020_params: TypeAlias = struct_cudaGraphExecExternalSemaphoresWaitNodeSetParams_v11020_params_st
@c.record
class struct_cudaGraphNodeSetEnabled_v11060_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[cudaGraphExec_t, 0]
  hNode: Annotated[cudaGraphNode_t, 8]
  isEnabled: Annotated[Annotated[int, ctypes.c_uint32], 16]
cudaGraphNodeSetEnabled_v11060_params: TypeAlias = struct_cudaGraphNodeSetEnabled_v11060_params_st
@c.record
class struct_cudaGraphNodeGetEnabled_v11060_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[cudaGraphExec_t, 0]
  hNode: Annotated[cudaGraphNode_t, 8]
  isEnabled: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 16]
cudaGraphNodeGetEnabled_v11060_params: TypeAlias = struct_cudaGraphNodeGetEnabled_v11060_params_st
@c.record
class struct_cudaGraphExecUpdate_v10020_params_st(c.Struct):
  SIZE = 24
  hGraphExec: Annotated[cudaGraphExec_t, 0]
  hGraph: Annotated[cudaGraph_t, 8]
  resultInfo: Annotated[c.POINTER[cudaGraphExecUpdateResultInfo], 16]
@c.record
class struct_cudaGraphExecUpdateResultInfo_st(c.Struct):
  SIZE = 24
  result: Annotated[enum_cudaGraphExecUpdateResult, 0]
  errorNode: Annotated[cudaGraphNode_t, 8]
  errorFromNode: Annotated[cudaGraphNode_t, 16]
cudaGraphExecUpdateResultInfo: TypeAlias = struct_cudaGraphExecUpdateResultInfo_st
class enum_cudaGraphExecUpdateResult(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaGraphExecUpdateSuccess = enum_cudaGraphExecUpdateResult.define('cudaGraphExecUpdateSuccess', 0)
cudaGraphExecUpdateError = enum_cudaGraphExecUpdateResult.define('cudaGraphExecUpdateError', 1)
cudaGraphExecUpdateErrorTopologyChanged = enum_cudaGraphExecUpdateResult.define('cudaGraphExecUpdateErrorTopologyChanged', 2)
cudaGraphExecUpdateErrorNodeTypeChanged = enum_cudaGraphExecUpdateResult.define('cudaGraphExecUpdateErrorNodeTypeChanged', 3)
cudaGraphExecUpdateErrorFunctionChanged = enum_cudaGraphExecUpdateResult.define('cudaGraphExecUpdateErrorFunctionChanged', 4)
cudaGraphExecUpdateErrorParametersChanged = enum_cudaGraphExecUpdateResult.define('cudaGraphExecUpdateErrorParametersChanged', 5)
cudaGraphExecUpdateErrorNotSupported = enum_cudaGraphExecUpdateResult.define('cudaGraphExecUpdateErrorNotSupported', 6)
cudaGraphExecUpdateErrorUnsupportedFunctionChange = enum_cudaGraphExecUpdateResult.define('cudaGraphExecUpdateErrorUnsupportedFunctionChange', 7)
cudaGraphExecUpdateErrorAttributesChanged = enum_cudaGraphExecUpdateResult.define('cudaGraphExecUpdateErrorAttributesChanged', 8)

cudaGraphExecUpdate_v10020_params: TypeAlias = struct_cudaGraphExecUpdate_v10020_params_st
@c.record
class struct_cudaGraphUpload_ptsz_v10000_params_st(c.Struct):
  SIZE = 16
  graphExec: Annotated[cudaGraphExec_t, 0]
  stream: Annotated[cudaStream_t, 8]
cudaGraphUpload_ptsz_v10000_params: TypeAlias = struct_cudaGraphUpload_ptsz_v10000_params_st
@c.record
class struct_cudaGraphLaunch_ptsz_v10000_params_st(c.Struct):
  SIZE = 16
  graphExec: Annotated[cudaGraphExec_t, 0]
  stream: Annotated[cudaStream_t, 8]
cudaGraphLaunch_ptsz_v10000_params: TypeAlias = struct_cudaGraphLaunch_ptsz_v10000_params_st
@c.record
class struct_cudaGraphExecDestroy_v10000_params_st(c.Struct):
  SIZE = 8
  graphExec: Annotated[cudaGraphExec_t, 0]
cudaGraphExecDestroy_v10000_params: TypeAlias = struct_cudaGraphExecDestroy_v10000_params_st
@c.record
class struct_cudaGraphDestroy_v10000_params_st(c.Struct):
  SIZE = 8
  graph: Annotated[cudaGraph_t, 0]
cudaGraphDestroy_v10000_params: TypeAlias = struct_cudaGraphDestroy_v10000_params_st
@c.record
class struct_cudaGraphDebugDotPrint_v11030_params_st(c.Struct):
  SIZE = 24
  graph: Annotated[cudaGraph_t, 0]
  path: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cudaGraphDebugDotPrint_v11030_params: TypeAlias = struct_cudaGraphDebugDotPrint_v11030_params_st
@c.record
class struct_cudaUserObjectCreate_v11030_params_st(c.Struct):
  SIZE = 32
  object_out: Annotated[c.POINTER[cudaUserObject_t], 0]
  ptr: Annotated[ctypes.c_void_p, 8]
  destroy: Annotated[cudaHostFn_t, 16]
  initialRefcount: Annotated[Annotated[int, ctypes.c_uint32], 24]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 28]
cudaUserObject_t: TypeAlias = c.POINTER[struct_CUuserObject_st]
cudaUserObjectCreate_v11030_params: TypeAlias = struct_cudaUserObjectCreate_v11030_params_st
@c.record
class struct_cudaUserObjectRetain_v11030_params_st(c.Struct):
  SIZE = 16
  object: Annotated[cudaUserObject_t, 0]
  count: Annotated[Annotated[int, ctypes.c_uint32], 8]
cudaUserObjectRetain_v11030_params: TypeAlias = struct_cudaUserObjectRetain_v11030_params_st
@c.record
class struct_cudaUserObjectRelease_v11030_params_st(c.Struct):
  SIZE = 16
  object: Annotated[cudaUserObject_t, 0]
  count: Annotated[Annotated[int, ctypes.c_uint32], 8]
cudaUserObjectRelease_v11030_params: TypeAlias = struct_cudaUserObjectRelease_v11030_params_st
@c.record
class struct_cudaGraphRetainUserObject_v11030_params_st(c.Struct):
  SIZE = 24
  graph: Annotated[cudaGraph_t, 0]
  object: Annotated[cudaUserObject_t, 8]
  count: Annotated[Annotated[int, ctypes.c_uint32], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
cudaGraphRetainUserObject_v11030_params: TypeAlias = struct_cudaGraphRetainUserObject_v11030_params_st
@c.record
class struct_cudaGraphReleaseUserObject_v11030_params_st(c.Struct):
  SIZE = 24
  graph: Annotated[cudaGraph_t, 0]
  object: Annotated[cudaUserObject_t, 8]
  count: Annotated[Annotated[int, ctypes.c_uint32], 16]
cudaGraphReleaseUserObject_v11030_params: TypeAlias = struct_cudaGraphReleaseUserObject_v11030_params_st
@c.record
class struct_cudaGraphAddNode_v12020_params_st(c.Struct):
  SIZE = 40
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  numDependencies: Annotated[size_t, 24]
  nodeParams: Annotated[c.POINTER[struct_cudaGraphNodeParams], 32]
@c.record
class struct_cudaGraphNodeParams(c.Struct):
  SIZE = 256
  type: Annotated[enum_cudaGraphNodeType, 0]
  reserved0: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[3]], 4]
  reserved1: Annotated[c.Array[Annotated[int, ctypes.c_int64], Literal[29]], 16]
  kernel: Annotated[struct_cudaKernelNodeParamsV2, 16]
  memcpy: Annotated[struct_cudaMemcpyNodeParams, 16]
  memset: Annotated[struct_cudaMemsetParamsV2, 16]
  host: Annotated[struct_cudaHostNodeParamsV2, 16]
  graph: Annotated[struct_cudaChildGraphNodeParams, 16]
  eventWait: Annotated[struct_cudaEventWaitNodeParams, 16]
  eventRecord: Annotated[struct_cudaEventRecordNodeParams, 16]
  extSemSignal: Annotated[struct_cudaExternalSemaphoreSignalNodeParamsV2, 16]
  extSemWait: Annotated[struct_cudaExternalSemaphoreWaitNodeParamsV2, 16]
  alloc: Annotated[struct_cudaMemAllocNodeParamsV2, 16]
  free: Annotated[struct_cudaMemFreeNodeParams, 16]
  conditional: Annotated[struct_cudaConditionalNodeParams, 16]
  reserved2: Annotated[Annotated[int, ctypes.c_int64], 248]
@c.record
class struct_cudaKernelNodeParamsV2(c.Struct):
  SIZE = 56
  func: Annotated[ctypes.c_void_p, 0]
  gridDim: Annotated[dim3, 8]
  blockDim: Annotated[dim3, 20]
  sharedMemBytes: Annotated[Annotated[int, ctypes.c_uint32], 32]
  kernelParams: Annotated[c.POINTER[ctypes.c_void_p], 40]
  extra: Annotated[c.POINTER[ctypes.c_void_p], 48]
@c.record
class struct_cudaMemcpyNodeParams(c.Struct):
  SIZE = 176
  flags: Annotated[Annotated[int, ctypes.c_int32], 0]
  reserved: Annotated[c.Array[Annotated[int, ctypes.c_int32], Literal[3]], 4]
  copyParams: Annotated[struct_cudaMemcpy3DParms, 16]
@c.record
class struct_cudaMemsetParamsV2(c.Struct):
  SIZE = 40
  dst: Annotated[ctypes.c_void_p, 0]
  pitch: Annotated[size_t, 8]
  value: Annotated[Annotated[int, ctypes.c_uint32], 16]
  elementSize: Annotated[Annotated[int, ctypes.c_uint32], 20]
  width: Annotated[size_t, 24]
  height: Annotated[size_t, 32]
@c.record
class struct_cudaHostNodeParamsV2(c.Struct):
  SIZE = 16
  fn: Annotated[cudaHostFn_t, 0]
  userData: Annotated[ctypes.c_void_p, 8]
@c.record
class struct_cudaChildGraphNodeParams(c.Struct):
  SIZE = 8
  graph: Annotated[cudaGraph_t, 0]
@c.record
class struct_cudaEventWaitNodeParams(c.Struct):
  SIZE = 8
  event: Annotated[cudaEvent_t, 0]
@c.record
class struct_cudaEventRecordNodeParams(c.Struct):
  SIZE = 8
  event: Annotated[cudaEvent_t, 0]
@c.record
class struct_cudaExternalSemaphoreSignalNodeParamsV2(c.Struct):
  SIZE = 24
  extSemArray: Annotated[c.POINTER[cudaExternalSemaphore_t], 0]
  paramsArray: Annotated[c.POINTER[struct_cudaExternalSemaphoreSignalParams], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
@c.record
class struct_cudaExternalSemaphoreWaitNodeParamsV2(c.Struct):
  SIZE = 24
  extSemArray: Annotated[c.POINTER[cudaExternalSemaphore_t], 0]
  paramsArray: Annotated[c.POINTER[struct_cudaExternalSemaphoreWaitParams], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
@c.record
class struct_cudaMemAllocNodeParamsV2(c.Struct):
  SIZE = 120
  poolProps: Annotated[struct_cudaMemPoolProps, 0]
  accessDescs: Annotated[c.POINTER[struct_cudaMemAccessDesc], 88]
  accessDescCount: Annotated[size_t, 96]
  bytesize: Annotated[size_t, 104]
  dptr: Annotated[ctypes.c_void_p, 112]
@c.record
class struct_cudaMemFreeNodeParams(c.Struct):
  SIZE = 8
  dptr: Annotated[ctypes.c_void_p, 0]
@c.record
class struct_cudaConditionalNodeParams(c.Struct):
  SIZE = 24
  handle: Annotated[cudaGraphConditionalHandle, 0]
  type: Annotated[enum_cudaGraphConditionalNodeType, 8]
  size: Annotated[Annotated[int, ctypes.c_uint32], 12]
  phGraph_out: Annotated[c.POINTER[cudaGraph_t], 16]
cudaGraphConditionalHandle: TypeAlias = Annotated[int, ctypes.c_uint64]
class enum_cudaGraphConditionalNodeType(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaGraphCondTypeIf = enum_cudaGraphConditionalNodeType.define('cudaGraphCondTypeIf', 0)
cudaGraphCondTypeWhile = enum_cudaGraphConditionalNodeType.define('cudaGraphCondTypeWhile', 1)
cudaGraphCondTypeSwitch = enum_cudaGraphConditionalNodeType.define('cudaGraphCondTypeSwitch', 2)

cudaGraphAddNode_v12020_params: TypeAlias = struct_cudaGraphAddNode_v12020_params_st
@c.record
class struct_cudaGraphAddNode_v2_v12030_params_st(c.Struct):
  SIZE = 48
  pGraphNode: Annotated[c.POINTER[cudaGraphNode_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  pDependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  dependencyData: Annotated[c.POINTER[cudaGraphEdgeData], 24]
  numDependencies: Annotated[size_t, 32]
  nodeParams: Annotated[c.POINTER[struct_cudaGraphNodeParams], 40]
cudaGraphAddNode_v2_v12030_params: TypeAlias = struct_cudaGraphAddNode_v2_v12030_params_st
@c.record
class struct_cudaGraphNodeSetParams_v12020_params_st(c.Struct):
  SIZE = 16
  node: Annotated[cudaGraphNode_t, 0]
  nodeParams: Annotated[c.POINTER[struct_cudaGraphNodeParams], 8]
cudaGraphNodeSetParams_v12020_params: TypeAlias = struct_cudaGraphNodeSetParams_v12020_params_st
@c.record
class struct_cudaGraphExecNodeSetParams_v12020_params_st(c.Struct):
  SIZE = 24
  graphExec: Annotated[cudaGraphExec_t, 0]
  node: Annotated[cudaGraphNode_t, 8]
  nodeParams: Annotated[c.POINTER[struct_cudaGraphNodeParams], 16]
cudaGraphExecNodeSetParams_v12020_params: TypeAlias = struct_cudaGraphExecNodeSetParams_v12020_params_st
@c.record
class struct_cudaGraphConditionalHandleCreate_v12030_params_st(c.Struct):
  SIZE = 24
  pHandle_out: Annotated[c.POINTER[cudaGraphConditionalHandle], 0]
  graph: Annotated[cudaGraph_t, 8]
  defaultLaunchValue: Annotated[Annotated[int, ctypes.c_uint32], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 20]
cudaGraphConditionalHandleCreate_v12030_params: TypeAlias = struct_cudaGraphConditionalHandleCreate_v12030_params_st
@c.record
class struct_cudaGetDriverEntryPoint_ptsz_v11030_params_st(c.Struct):
  SIZE = 32
  symbol: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 0]
  funcPtr: Annotated[c.POINTER[ctypes.c_void_p], 8]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 16]
  driverStatus: Annotated[c.POINTER[enum_cudaDriverEntryPointQueryResult], 24]
class enum_cudaDriverEntryPointQueryResult(Annotated[int, ctypes.c_uint32], c.Enum): pass
cudaDriverEntryPointSuccess = enum_cudaDriverEntryPointQueryResult.define('cudaDriverEntryPointSuccess', 0)
cudaDriverEntryPointSymbolNotFound = enum_cudaDriverEntryPointQueryResult.define('cudaDriverEntryPointSymbolNotFound', 1)
cudaDriverEntryPointVersionNotSufficent = enum_cudaDriverEntryPointQueryResult.define('cudaDriverEntryPointVersionNotSufficent', 2)

cudaGetDriverEntryPoint_ptsz_v11030_params: TypeAlias = struct_cudaGetDriverEntryPoint_ptsz_v11030_params_st
@c.record
class struct_cudaGetDriverEntryPointByVersion_ptsz_v12050_params_st(c.Struct):
  SIZE = 40
  symbol: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 0]
  funcPtr: Annotated[c.POINTER[ctypes.c_void_p], 8]
  cudaVersion: Annotated[Annotated[int, ctypes.c_uint32], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 24]
  driverStatus: Annotated[c.POINTER[enum_cudaDriverEntryPointQueryResult], 32]
cudaGetDriverEntryPointByVersion_ptsz_v12050_params: TypeAlias = struct_cudaGetDriverEntryPointByVersion_ptsz_v12050_params_st
@c.record
class struct_cudaGetFuncBySymbol_v11000_params_st(c.Struct):
  SIZE = 16
  functionPtr: Annotated[c.POINTER[cudaFunction_t], 0]
  symbolPtr: Annotated[ctypes.c_void_p, 8]
cudaFunction_t: TypeAlias = c.POINTER[struct_CUfunc_st]
cudaGetFuncBySymbol_v11000_params: TypeAlias = struct_cudaGetFuncBySymbol_v11000_params_st
@c.record
class struct_cudaGetKernel_v12000_params_st(c.Struct):
  SIZE = 16
  kernelPtr: Annotated[c.POINTER[cudaKernel_t], 0]
  entryFuncAddr: Annotated[ctypes.c_void_p, 8]
cudaKernel_t: TypeAlias = c.POINTER[struct_CUkern_st]
cudaGetKernel_v12000_params: TypeAlias = struct_cudaGetKernel_v12000_params_st
@c.record
class struct_cudaMemcpy_v3020_params_st(c.Struct):
  SIZE = 32
  dst: Annotated[ctypes.c_void_p, 0]
  src: Annotated[ctypes.c_void_p, 8]
  count: Annotated[size_t, 16]
  kind: Annotated[enum_cudaMemcpyKind, 24]
cudaMemcpy_v3020_params: TypeAlias = struct_cudaMemcpy_v3020_params_st
@c.record
class struct_cudaMemcpyToSymbol_v3020_params_st(c.Struct):
  SIZE = 40
  symbol: Annotated[ctypes.c_void_p, 0]
  src: Annotated[ctypes.c_void_p, 8]
  count: Annotated[size_t, 16]
  offset: Annotated[size_t, 24]
  kind: Annotated[enum_cudaMemcpyKind, 32]
cudaMemcpyToSymbol_v3020_params: TypeAlias = struct_cudaMemcpyToSymbol_v3020_params_st
@c.record
class struct_cudaMemcpyFromSymbol_v3020_params_st(c.Struct):
  SIZE = 40
  dst: Annotated[ctypes.c_void_p, 0]
  symbol: Annotated[ctypes.c_void_p, 8]
  count: Annotated[size_t, 16]
  offset: Annotated[size_t, 24]
  kind: Annotated[enum_cudaMemcpyKind, 32]
cudaMemcpyFromSymbol_v3020_params: TypeAlias = struct_cudaMemcpyFromSymbol_v3020_params_st
@c.record
class struct_cudaMemcpy2D_v3020_params_st(c.Struct):
  SIZE = 56
  dst: Annotated[ctypes.c_void_p, 0]
  dpitch: Annotated[size_t, 8]
  src: Annotated[ctypes.c_void_p, 16]
  spitch: Annotated[size_t, 24]
  width: Annotated[size_t, 32]
  height: Annotated[size_t, 40]
  kind: Annotated[enum_cudaMemcpyKind, 48]
cudaMemcpy2D_v3020_params: TypeAlias = struct_cudaMemcpy2D_v3020_params_st
@c.record
class struct_cudaMemcpyToArray_v3020_params_st(c.Struct):
  SIZE = 48
  dst: Annotated[cudaArray_t, 0]
  wOffset: Annotated[size_t, 8]
  hOffset: Annotated[size_t, 16]
  src: Annotated[ctypes.c_void_p, 24]
  count: Annotated[size_t, 32]
  kind: Annotated[enum_cudaMemcpyKind, 40]
cudaMemcpyToArray_v3020_params: TypeAlias = struct_cudaMemcpyToArray_v3020_params_st
@c.record
class struct_cudaMemcpy2DToArray_v3020_params_st(c.Struct):
  SIZE = 64
  dst: Annotated[cudaArray_t, 0]
  wOffset: Annotated[size_t, 8]
  hOffset: Annotated[size_t, 16]
  src: Annotated[ctypes.c_void_p, 24]
  spitch: Annotated[size_t, 32]
  width: Annotated[size_t, 40]
  height: Annotated[size_t, 48]
  kind: Annotated[enum_cudaMemcpyKind, 56]
cudaMemcpy2DToArray_v3020_params: TypeAlias = struct_cudaMemcpy2DToArray_v3020_params_st
@c.record
class struct_cudaMemcpyFromArray_v3020_params_st(c.Struct):
  SIZE = 48
  dst: Annotated[ctypes.c_void_p, 0]
  src: Annotated[cudaArray_const_t, 8]
  wOffset: Annotated[size_t, 16]
  hOffset: Annotated[size_t, 24]
  count: Annotated[size_t, 32]
  kind: Annotated[enum_cudaMemcpyKind, 40]
cudaMemcpyFromArray_v3020_params: TypeAlias = struct_cudaMemcpyFromArray_v3020_params_st
@c.record
class struct_cudaMemcpy2DFromArray_v3020_params_st(c.Struct):
  SIZE = 64
  dst: Annotated[ctypes.c_void_p, 0]
  dpitch: Annotated[size_t, 8]
  src: Annotated[cudaArray_const_t, 16]
  wOffset: Annotated[size_t, 24]
  hOffset: Annotated[size_t, 32]
  width: Annotated[size_t, 40]
  height: Annotated[size_t, 48]
  kind: Annotated[enum_cudaMemcpyKind, 56]
cudaMemcpy2DFromArray_v3020_params: TypeAlias = struct_cudaMemcpy2DFromArray_v3020_params_st
@c.record
class struct_cudaMemcpyArrayToArray_v3020_params_st(c.Struct):
  SIZE = 64
  dst: Annotated[cudaArray_t, 0]
  wOffsetDst: Annotated[size_t, 8]
  hOffsetDst: Annotated[size_t, 16]
  src: Annotated[cudaArray_const_t, 24]
  wOffsetSrc: Annotated[size_t, 32]
  hOffsetSrc: Annotated[size_t, 40]
  count: Annotated[size_t, 48]
  kind: Annotated[enum_cudaMemcpyKind, 56]
cudaMemcpyArrayToArray_v3020_params: TypeAlias = struct_cudaMemcpyArrayToArray_v3020_params_st
@c.record
class struct_cudaMemcpy2DArrayToArray_v3020_params_st(c.Struct):
  SIZE = 72
  dst: Annotated[cudaArray_t, 0]
  wOffsetDst: Annotated[size_t, 8]
  hOffsetDst: Annotated[size_t, 16]
  src: Annotated[cudaArray_const_t, 24]
  wOffsetSrc: Annotated[size_t, 32]
  hOffsetSrc: Annotated[size_t, 40]
  width: Annotated[size_t, 48]
  height: Annotated[size_t, 56]
  kind: Annotated[enum_cudaMemcpyKind, 64]
cudaMemcpy2DArrayToArray_v3020_params: TypeAlias = struct_cudaMemcpy2DArrayToArray_v3020_params_st
@c.record
class struct_cudaMemcpy3D_v3020_params_st(c.Struct):
  SIZE = 8
  p: Annotated[c.POINTER[struct_cudaMemcpy3DParms], 0]
cudaMemcpy3D_v3020_params: TypeAlias = struct_cudaMemcpy3D_v3020_params_st
@c.record
class struct_cudaMemcpy3DPeer_v4000_params_st(c.Struct):
  SIZE = 8
  p: Annotated[c.POINTER[struct_cudaMemcpy3DPeerParms], 0]
cudaMemcpy3DPeer_v4000_params: TypeAlias = struct_cudaMemcpy3DPeer_v4000_params_st
@c.record
class struct_cudaMemcpyBatchAsync_v12080_params_st(c.Struct):
  SIZE = 72
  dsts: Annotated[c.POINTER[ctypes.c_void_p], 0]
  srcs: Annotated[c.POINTER[ctypes.c_void_p], 8]
  sizes: Annotated[c.POINTER[size_t], 16]
  count: Annotated[size_t, 24]
  attrs: Annotated[c.POINTER[struct_cudaMemcpyAttributes], 32]
  attrsIdxs: Annotated[c.POINTER[size_t], 40]
  numAttrs: Annotated[size_t, 48]
  failIdx: Annotated[c.POINTER[size_t], 56]
  stream: Annotated[cudaStream_t, 64]
cudaMemcpyBatchAsync_v12080_params: TypeAlias = struct_cudaMemcpyBatchAsync_v12080_params_st
@c.record
class struct_cudaMemcpy3DBatchAsync_v12080_params_st(c.Struct):
  SIZE = 40
  numOps: Annotated[size_t, 0]
  opList: Annotated[c.POINTER[struct_cudaMemcpy3DBatchOp], 8]
  failIdx: Annotated[c.POINTER[size_t], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 24]
  stream: Annotated[cudaStream_t, 32]
cudaMemcpy3DBatchAsync_v12080_params: TypeAlias = struct_cudaMemcpy3DBatchAsync_v12080_params_st
@c.record
class struct_cudaMemset_v3020_params_st(c.Struct):
  SIZE = 24
  devPtr: Annotated[ctypes.c_void_p, 0]
  value: Annotated[Annotated[int, ctypes.c_int32], 8]
  count: Annotated[size_t, 16]
cudaMemset_v3020_params: TypeAlias = struct_cudaMemset_v3020_params_st
@c.record
class struct_cudaMemset2D_v3020_params_st(c.Struct):
  SIZE = 40
  devPtr: Annotated[ctypes.c_void_p, 0]
  pitch: Annotated[size_t, 8]
  value: Annotated[Annotated[int, ctypes.c_int32], 16]
  width: Annotated[size_t, 24]
  height: Annotated[size_t, 32]
cudaMemset2D_v3020_params: TypeAlias = struct_cudaMemset2D_v3020_params_st
@c.record
class struct_cudaMemset3D_v3020_params_st(c.Struct):
  SIZE = 64
  pitchedDevPtr: Annotated[struct_cudaPitchedPtr, 0]
  value: Annotated[Annotated[int, ctypes.c_int32], 32]
  extent: Annotated[struct_cudaExtent, 40]
cudaMemset3D_v3020_params: TypeAlias = struct_cudaMemset3D_v3020_params_st
@c.record
class struct_cudaMemcpyAsync_v3020_params_st(c.Struct):
  SIZE = 40
  dst: Annotated[ctypes.c_void_p, 0]
  src: Annotated[ctypes.c_void_p, 8]
  count: Annotated[size_t, 16]
  kind: Annotated[enum_cudaMemcpyKind, 24]
  stream: Annotated[cudaStream_t, 32]
cudaMemcpyAsync_v3020_params: TypeAlias = struct_cudaMemcpyAsync_v3020_params_st
@c.record
class struct_cudaMemcpyToSymbolAsync_v3020_params_st(c.Struct):
  SIZE = 48
  symbol: Annotated[ctypes.c_void_p, 0]
  src: Annotated[ctypes.c_void_p, 8]
  count: Annotated[size_t, 16]
  offset: Annotated[size_t, 24]
  kind: Annotated[enum_cudaMemcpyKind, 32]
  stream: Annotated[cudaStream_t, 40]
cudaMemcpyToSymbolAsync_v3020_params: TypeAlias = struct_cudaMemcpyToSymbolAsync_v3020_params_st
@c.record
class struct_cudaMemcpyFromSymbolAsync_v3020_params_st(c.Struct):
  SIZE = 48
  dst: Annotated[ctypes.c_void_p, 0]
  symbol: Annotated[ctypes.c_void_p, 8]
  count: Annotated[size_t, 16]
  offset: Annotated[size_t, 24]
  kind: Annotated[enum_cudaMemcpyKind, 32]
  stream: Annotated[cudaStream_t, 40]
cudaMemcpyFromSymbolAsync_v3020_params: TypeAlias = struct_cudaMemcpyFromSymbolAsync_v3020_params_st
@c.record
class struct_cudaMemcpy2DAsync_v3020_params_st(c.Struct):
  SIZE = 64
  dst: Annotated[ctypes.c_void_p, 0]
  dpitch: Annotated[size_t, 8]
  src: Annotated[ctypes.c_void_p, 16]
  spitch: Annotated[size_t, 24]
  width: Annotated[size_t, 32]
  height: Annotated[size_t, 40]
  kind: Annotated[enum_cudaMemcpyKind, 48]
  stream: Annotated[cudaStream_t, 56]
cudaMemcpy2DAsync_v3020_params: TypeAlias = struct_cudaMemcpy2DAsync_v3020_params_st
@c.record
class struct_cudaMemcpyToArrayAsync_v3020_params_st(c.Struct):
  SIZE = 56
  dst: Annotated[cudaArray_t, 0]
  wOffset: Annotated[size_t, 8]
  hOffset: Annotated[size_t, 16]
  src: Annotated[ctypes.c_void_p, 24]
  count: Annotated[size_t, 32]
  kind: Annotated[enum_cudaMemcpyKind, 40]
  stream: Annotated[cudaStream_t, 48]
cudaMemcpyToArrayAsync_v3020_params: TypeAlias = struct_cudaMemcpyToArrayAsync_v3020_params_st
@c.record
class struct_cudaMemcpy2DToArrayAsync_v3020_params_st(c.Struct):
  SIZE = 72
  dst: Annotated[cudaArray_t, 0]
  wOffset: Annotated[size_t, 8]
  hOffset: Annotated[size_t, 16]
  src: Annotated[ctypes.c_void_p, 24]
  spitch: Annotated[size_t, 32]
  width: Annotated[size_t, 40]
  height: Annotated[size_t, 48]
  kind: Annotated[enum_cudaMemcpyKind, 56]
  stream: Annotated[cudaStream_t, 64]
cudaMemcpy2DToArrayAsync_v3020_params: TypeAlias = struct_cudaMemcpy2DToArrayAsync_v3020_params_st
@c.record
class struct_cudaMemcpyFromArrayAsync_v3020_params_st(c.Struct):
  SIZE = 56
  dst: Annotated[ctypes.c_void_p, 0]
  src: Annotated[cudaArray_const_t, 8]
  wOffset: Annotated[size_t, 16]
  hOffset: Annotated[size_t, 24]
  count: Annotated[size_t, 32]
  kind: Annotated[enum_cudaMemcpyKind, 40]
  stream: Annotated[cudaStream_t, 48]
cudaMemcpyFromArrayAsync_v3020_params: TypeAlias = struct_cudaMemcpyFromArrayAsync_v3020_params_st
@c.record
class struct_cudaMemcpy2DFromArrayAsync_v3020_params_st(c.Struct):
  SIZE = 72
  dst: Annotated[ctypes.c_void_p, 0]
  dpitch: Annotated[size_t, 8]
  src: Annotated[cudaArray_const_t, 16]
  wOffset: Annotated[size_t, 24]
  hOffset: Annotated[size_t, 32]
  width: Annotated[size_t, 40]
  height: Annotated[size_t, 48]
  kind: Annotated[enum_cudaMemcpyKind, 56]
  stream: Annotated[cudaStream_t, 64]
cudaMemcpy2DFromArrayAsync_v3020_params: TypeAlias = struct_cudaMemcpy2DFromArrayAsync_v3020_params_st
@c.record
class struct_cudaMemcpy3DAsync_v3020_params_st(c.Struct):
  SIZE = 16
  p: Annotated[c.POINTER[struct_cudaMemcpy3DParms], 0]
  stream: Annotated[cudaStream_t, 8]
cudaMemcpy3DAsync_v3020_params: TypeAlias = struct_cudaMemcpy3DAsync_v3020_params_st
@c.record
class struct_cudaMemcpy3DPeerAsync_v4000_params_st(c.Struct):
  SIZE = 16
  p: Annotated[c.POINTER[struct_cudaMemcpy3DPeerParms], 0]
  stream: Annotated[cudaStream_t, 8]
cudaMemcpy3DPeerAsync_v4000_params: TypeAlias = struct_cudaMemcpy3DPeerAsync_v4000_params_st
@c.record
class struct_cudaMemsetAsync_v3020_params_st(c.Struct):
  SIZE = 32
  devPtr: Annotated[ctypes.c_void_p, 0]
  value: Annotated[Annotated[int, ctypes.c_int32], 8]
  count: Annotated[size_t, 16]
  stream: Annotated[cudaStream_t, 24]
cudaMemsetAsync_v3020_params: TypeAlias = struct_cudaMemsetAsync_v3020_params_st
@c.record
class struct_cudaMemset2DAsync_v3020_params_st(c.Struct):
  SIZE = 48
  devPtr: Annotated[ctypes.c_void_p, 0]
  pitch: Annotated[size_t, 8]
  value: Annotated[Annotated[int, ctypes.c_int32], 16]
  width: Annotated[size_t, 24]
  height: Annotated[size_t, 32]
  stream: Annotated[cudaStream_t, 40]
cudaMemset2DAsync_v3020_params: TypeAlias = struct_cudaMemset2DAsync_v3020_params_st
@c.record
class struct_cudaMemset3DAsync_v3020_params_st(c.Struct):
  SIZE = 72
  pitchedDevPtr: Annotated[struct_cudaPitchedPtr, 0]
  value: Annotated[Annotated[int, ctypes.c_int32], 32]
  extent: Annotated[struct_cudaExtent, 40]
  stream: Annotated[cudaStream_t, 64]
cudaMemset3DAsync_v3020_params: TypeAlias = struct_cudaMemset3DAsync_v3020_params_st
@c.record
class struct_cudaStreamQuery_v3020_params_st(c.Struct):
  SIZE = 8
  stream: Annotated[cudaStream_t, 0]
cudaStreamQuery_v3020_params: TypeAlias = struct_cudaStreamQuery_v3020_params_st
@c.record
class struct_cudaStreamGetDevice_v12080_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[cudaStream_t, 0]
  device: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 8]
cudaStreamGetDevice_v12080_params: TypeAlias = struct_cudaStreamGetDevice_v12080_params_st
@c.record
class struct_cudaStreamGetFlags_v5050_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[cudaStream_t, 0]
  flags: Annotated[c.POINTER[Annotated[int, ctypes.c_uint32]], 8]
cudaStreamGetFlags_v5050_params: TypeAlias = struct_cudaStreamGetFlags_v5050_params_st
@c.record
class struct_cudaStreamGetId_v12000_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[cudaStream_t, 0]
  streamId: Annotated[c.POINTER[Annotated[int, ctypes.c_uint64]], 8]
cudaStreamGetId_v12000_params: TypeAlias = struct_cudaStreamGetId_v12000_params_st
@c.record
class struct_cudaStreamGetPriority_v5050_params_st(c.Struct):
  SIZE = 16
  hStream: Annotated[cudaStream_t, 0]
  priority: Annotated[c.POINTER[Annotated[int, ctypes.c_int32]], 8]
cudaStreamGetPriority_v5050_params: TypeAlias = struct_cudaStreamGetPriority_v5050_params_st
@c.record
class struct_cudaEventRecord_v3020_params_st(c.Struct):
  SIZE = 16
  event: Annotated[cudaEvent_t, 0]
  stream: Annotated[cudaStream_t, 8]
cudaEventRecord_v3020_params: TypeAlias = struct_cudaEventRecord_v3020_params_st
@c.record
class struct_cudaEventRecordWithFlags_v11010_params_st(c.Struct):
  SIZE = 24
  event: Annotated[cudaEvent_t, 0]
  stream: Annotated[cudaStream_t, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cudaEventRecordWithFlags_v11010_params: TypeAlias = struct_cudaEventRecordWithFlags_v11010_params_st
@c.record
class struct_cudaStreamWaitEvent_v3020_params_st(c.Struct):
  SIZE = 24
  stream: Annotated[cudaStream_t, 0]
  event: Annotated[cudaEvent_t, 8]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 16]
cudaStreamWaitEvent_v3020_params: TypeAlias = struct_cudaStreamWaitEvent_v3020_params_st
@c.record
class struct_cudaStreamAddCallback_v5000_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[cudaStream_t, 0]
  callback: Annotated[cudaStreamCallback_t, 8]
  userData: Annotated[ctypes.c_void_p, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cudaStreamAddCallback_v5000_params: TypeAlias = struct_cudaStreamAddCallback_v5000_params_st
@c.record
class struct_cudaStreamAttachMemAsync_v6000_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[cudaStream_t, 0]
  devPtr: Annotated[ctypes.c_void_p, 8]
  length: Annotated[size_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cudaStreamAttachMemAsync_v6000_params: TypeAlias = struct_cudaStreamAttachMemAsync_v6000_params_st
@c.record
class struct_cudaStreamSynchronize_v3020_params_st(c.Struct):
  SIZE = 8
  stream: Annotated[cudaStream_t, 0]
cudaStreamSynchronize_v3020_params: TypeAlias = struct_cudaStreamSynchronize_v3020_params_st
@c.record
class struct_cudaLaunchKernel_v7000_params_st(c.Struct):
  SIZE = 56
  func: Annotated[ctypes.c_void_p, 0]
  gridDim: Annotated[dim3, 8]
  blockDim: Annotated[dim3, 20]
  args: Annotated[c.POINTER[ctypes.c_void_p], 32]
  sharedMem: Annotated[size_t, 40]
  stream: Annotated[cudaStream_t, 48]
cudaLaunchKernel_v7000_params: TypeAlias = struct_cudaLaunchKernel_v7000_params_st
@c.record
class struct_cudaLaunchKernelExC_v11060_params_st(c.Struct):
  SIZE = 24
  config: Annotated[c.POINTER[cudaLaunchConfig_t], 0]
  func: Annotated[ctypes.c_void_p, 8]
  args: Annotated[c.POINTER[ctypes.c_void_p], 16]
cudaLaunchKernelExC_v11060_params: TypeAlias = struct_cudaLaunchKernelExC_v11060_params_st
@c.record
class struct_cudaLaunchCooperativeKernel_v9000_params_st(c.Struct):
  SIZE = 56
  func: Annotated[ctypes.c_void_p, 0]
  gridDim: Annotated[dim3, 8]
  blockDim: Annotated[dim3, 20]
  args: Annotated[c.POINTER[ctypes.c_void_p], 32]
  sharedMem: Annotated[size_t, 40]
  stream: Annotated[cudaStream_t, 48]
cudaLaunchCooperativeKernel_v9000_params: TypeAlias = struct_cudaLaunchCooperativeKernel_v9000_params_st
@c.record
class struct_cudaLaunchHostFunc_v10000_params_st(c.Struct):
  SIZE = 24
  stream: Annotated[cudaStream_t, 0]
  fn: Annotated[cudaHostFn_t, 8]
  userData: Annotated[ctypes.c_void_p, 16]
cudaLaunchHostFunc_v10000_params: TypeAlias = struct_cudaLaunchHostFunc_v10000_params_st
@c.record
class struct_cudaMemPrefetchAsync_v8000_params_st(c.Struct):
  SIZE = 32
  devPtr: Annotated[ctypes.c_void_p, 0]
  count: Annotated[size_t, 8]
  dstDevice: Annotated[Annotated[int, ctypes.c_int32], 16]
  stream: Annotated[cudaStream_t, 24]
cudaMemPrefetchAsync_v8000_params: TypeAlias = struct_cudaMemPrefetchAsync_v8000_params_st
@c.record
class struct_cudaMemPrefetchAsync_v2_v12020_params_st(c.Struct):
  SIZE = 40
  devPtr: Annotated[ctypes.c_void_p, 0]
  count: Annotated[size_t, 8]
  location: Annotated[struct_cudaMemLocation, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
  stream: Annotated[cudaStream_t, 32]
cudaMemPrefetchAsync_v2_v12020_params: TypeAlias = struct_cudaMemPrefetchAsync_v2_v12020_params_st
@c.record
class struct_cudaSignalExternalSemaphoresAsync_v10000_params_st(c.Struct):
  SIZE = 32
  extSemArray: Annotated[c.POINTER[cudaExternalSemaphore_t], 0]
  paramsArray: Annotated[c.POINTER[struct_cudaExternalSemaphoreSignalParams_v1], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
  stream: Annotated[cudaStream_t, 24]
@c.record
class struct_cudaExternalSemaphoreSignalParams_v1(c.Struct):
  SIZE = 32
  params: Annotated[struct_cudaExternalSemaphoreSignalParams_v1_params, 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
@c.record
class struct_cudaExternalSemaphoreSignalParams_v1_params(c.Struct):
  SIZE = 24
  fence: Annotated[struct_cudaExternalSemaphoreSignalParams_v1_params_fence, 0]
  nvSciSync: Annotated[struct_cudaExternalSemaphoreSignalParams_v1_params_nvSciSync, 8]
  keyedMutex: Annotated[struct_cudaExternalSemaphoreSignalParams_v1_params_keyedMutex, 16]
@c.record
class struct_cudaExternalSemaphoreSignalParams_v1_params_fence(c.Struct):
  SIZE = 8
  value: Annotated[Annotated[int, ctypes.c_uint64], 0]
@c.record
class struct_cudaExternalSemaphoreSignalParams_v1_params_nvSciSync(c.Struct):
  SIZE = 8
  fence: Annotated[ctypes.c_void_p, 0]
  reserved: Annotated[Annotated[int, ctypes.c_uint64], 0]
@c.record
class struct_cudaExternalSemaphoreSignalParams_v1_params_keyedMutex(c.Struct):
  SIZE = 8
  key: Annotated[Annotated[int, ctypes.c_uint64], 0]
cudaSignalExternalSemaphoresAsync_v10000_params: TypeAlias = struct_cudaSignalExternalSemaphoresAsync_v10000_params_st
@c.record
class struct_cudaSignalExternalSemaphoresAsync_ptsz_v10000_params_st(c.Struct):
  SIZE = 32
  extSemArray: Annotated[c.POINTER[cudaExternalSemaphore_t], 0]
  paramsArray: Annotated[c.POINTER[struct_cudaExternalSemaphoreSignalParams_v1], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
  stream: Annotated[cudaStream_t, 24]
cudaSignalExternalSemaphoresAsync_ptsz_v10000_params: TypeAlias = struct_cudaSignalExternalSemaphoresAsync_ptsz_v10000_params_st
@c.record
class struct_cudaSignalExternalSemaphoresAsync_v2_v11020_params_st(c.Struct):
  SIZE = 32
  extSemArray: Annotated[c.POINTER[cudaExternalSemaphore_t], 0]
  paramsArray: Annotated[c.POINTER[struct_cudaExternalSemaphoreSignalParams], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
  stream: Annotated[cudaStream_t, 24]
cudaSignalExternalSemaphoresAsync_v2_v11020_params: TypeAlias = struct_cudaSignalExternalSemaphoresAsync_v2_v11020_params_st
@c.record
class struct_cudaWaitExternalSemaphoresAsync_v10000_params_st(c.Struct):
  SIZE = 32
  extSemArray: Annotated[c.POINTER[cudaExternalSemaphore_t], 0]
  paramsArray: Annotated[c.POINTER[struct_cudaExternalSemaphoreWaitParams_v1], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
  stream: Annotated[cudaStream_t, 24]
@c.record
class struct_cudaExternalSemaphoreWaitParams_v1(c.Struct):
  SIZE = 40
  params: Annotated[struct_cudaExternalSemaphoreWaitParams_v1_params, 0]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 32]
@c.record
class struct_cudaExternalSemaphoreWaitParams_v1_params(c.Struct):
  SIZE = 32
  fence: Annotated[struct_cudaExternalSemaphoreWaitParams_v1_params_fence, 0]
  nvSciSync: Annotated[struct_cudaExternalSemaphoreWaitParams_v1_params_nvSciSync, 8]
  keyedMutex: Annotated[struct_cudaExternalSemaphoreWaitParams_v1_params_keyedMutex, 16]
@c.record
class struct_cudaExternalSemaphoreWaitParams_v1_params_fence(c.Struct):
  SIZE = 8
  value: Annotated[Annotated[int, ctypes.c_uint64], 0]
@c.record
class struct_cudaExternalSemaphoreWaitParams_v1_params_nvSciSync(c.Struct):
  SIZE = 8
  fence: Annotated[ctypes.c_void_p, 0]
  reserved: Annotated[Annotated[int, ctypes.c_uint64], 0]
@c.record
class struct_cudaExternalSemaphoreWaitParams_v1_params_keyedMutex(c.Struct):
  SIZE = 16
  key: Annotated[Annotated[int, ctypes.c_uint64], 0]
  timeoutMs: Annotated[Annotated[int, ctypes.c_uint32], 8]
cudaWaitExternalSemaphoresAsync_v10000_params: TypeAlias = struct_cudaWaitExternalSemaphoresAsync_v10000_params_st
@c.record
class struct_cudaWaitExternalSemaphoresAsync_ptsz_v10000_params_st(c.Struct):
  SIZE = 32
  extSemArray: Annotated[c.POINTER[cudaExternalSemaphore_t], 0]
  paramsArray: Annotated[c.POINTER[struct_cudaExternalSemaphoreWaitParams_v1], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
  stream: Annotated[cudaStream_t, 24]
cudaWaitExternalSemaphoresAsync_ptsz_v10000_params: TypeAlias = struct_cudaWaitExternalSemaphoresAsync_ptsz_v10000_params_st
@c.record
class struct_cudaWaitExternalSemaphoresAsync_v2_v11020_params_st(c.Struct):
  SIZE = 32
  extSemArray: Annotated[c.POINTER[cudaExternalSemaphore_t], 0]
  paramsArray: Annotated[c.POINTER[struct_cudaExternalSemaphoreWaitParams], 8]
  numExtSems: Annotated[Annotated[int, ctypes.c_uint32], 16]
  stream: Annotated[cudaStream_t, 24]
cudaWaitExternalSemaphoresAsync_v2_v11020_params: TypeAlias = struct_cudaWaitExternalSemaphoresAsync_v2_v11020_params_st
@c.record
class struct_cudaGraphInstantiateWithParams_v12000_params_st(c.Struct):
  SIZE = 24
  pGraphExec: Annotated[c.POINTER[cudaGraphExec_t], 0]
  graph: Annotated[cudaGraph_t, 8]
  instantiateParams: Annotated[c.POINTER[cudaGraphInstantiateParams], 16]
cudaGraphInstantiateWithParams_v12000_params: TypeAlias = struct_cudaGraphInstantiateWithParams_v12000_params_st
@c.record
class struct_cudaGraphUpload_v10000_params_st(c.Struct):
  SIZE = 16
  graphExec: Annotated[cudaGraphExec_t, 0]
  stream: Annotated[cudaStream_t, 8]
cudaGraphUpload_v10000_params: TypeAlias = struct_cudaGraphUpload_v10000_params_st
@c.record
class struct_cudaGraphLaunch_v10000_params_st(c.Struct):
  SIZE = 16
  graphExec: Annotated[cudaGraphExec_t, 0]
  stream: Annotated[cudaStream_t, 8]
cudaGraphLaunch_v10000_params: TypeAlias = struct_cudaGraphLaunch_v10000_params_st
@c.record
class struct_cudaStreamBeginCapture_v10000_params_st(c.Struct):
  SIZE = 16
  stream: Annotated[cudaStream_t, 0]
  mode: Annotated[enum_cudaStreamCaptureMode, 8]
cudaStreamBeginCapture_v10000_params: TypeAlias = struct_cudaStreamBeginCapture_v10000_params_st
@c.record
class struct_cudaStreamBeginCaptureToGraph_v12030_params_st(c.Struct):
  SIZE = 48
  stream: Annotated[cudaStream_t, 0]
  graph: Annotated[cudaGraph_t, 8]
  dependencies: Annotated[c.POINTER[cudaGraphNode_t], 16]
  dependencyData: Annotated[c.POINTER[cudaGraphEdgeData], 24]
  numDependencies: Annotated[size_t, 32]
  mode: Annotated[enum_cudaStreamCaptureMode, 40]
cudaStreamBeginCaptureToGraph_v12030_params: TypeAlias = struct_cudaStreamBeginCaptureToGraph_v12030_params_st
@c.record
class struct_cudaStreamEndCapture_v10000_params_st(c.Struct):
  SIZE = 16
  stream: Annotated[cudaStream_t, 0]
  pGraph: Annotated[c.POINTER[cudaGraph_t], 8]
cudaStreamEndCapture_v10000_params: TypeAlias = struct_cudaStreamEndCapture_v10000_params_st
@c.record
class struct_cudaStreamIsCapturing_v10000_params_st(c.Struct):
  SIZE = 16
  stream: Annotated[cudaStream_t, 0]
  pCaptureStatus: Annotated[c.POINTER[enum_cudaStreamCaptureStatus], 8]
cudaStreamIsCapturing_v10000_params: TypeAlias = struct_cudaStreamIsCapturing_v10000_params_st
@c.record
class struct_cudaStreamGetCaptureInfo_v10010_params_st(c.Struct):
  SIZE = 24
  stream: Annotated[cudaStream_t, 0]
  captureStatus_out: Annotated[c.POINTER[enum_cudaStreamCaptureStatus], 8]
  id_out: Annotated[c.POINTER[Annotated[int, ctypes.c_uint64]], 16]
cudaStreamGetCaptureInfo_v10010_params: TypeAlias = struct_cudaStreamGetCaptureInfo_v10010_params_st
@c.record
class struct_cudaStreamGetCaptureInfo_ptsz_v10010_params_st(c.Struct):
  SIZE = 24
  stream: Annotated[cudaStream_t, 0]
  captureStatus_out: Annotated[c.POINTER[enum_cudaStreamCaptureStatus], 8]
  id_out: Annotated[c.POINTER[Annotated[int, ctypes.c_uint64]], 16]
cudaStreamGetCaptureInfo_ptsz_v10010_params: TypeAlias = struct_cudaStreamGetCaptureInfo_ptsz_v10010_params_st
@c.record
class struct_cudaStreamGetCaptureInfo_v2_v11030_params_st(c.Struct):
  SIZE = 48
  stream: Annotated[cudaStream_t, 0]
  captureStatus_out: Annotated[c.POINTER[enum_cudaStreamCaptureStatus], 8]
  id_out: Annotated[c.POINTER[Annotated[int, ctypes.c_uint64]], 16]
  graph_out: Annotated[c.POINTER[cudaGraph_t], 24]
  dependencies_out: Annotated[c.POINTER[c.POINTER[cudaGraphNode_t]], 32]
  numDependencies_out: Annotated[c.POINTER[size_t], 40]
cudaStreamGetCaptureInfo_v2_v11030_params: TypeAlias = struct_cudaStreamGetCaptureInfo_v2_v11030_params_st
@c.record
class struct_cudaStreamGetCaptureInfo_v3_v12030_params_st(c.Struct):
  SIZE = 56
  stream: Annotated[cudaStream_t, 0]
  captureStatus_out: Annotated[c.POINTER[enum_cudaStreamCaptureStatus], 8]
  id_out: Annotated[c.POINTER[Annotated[int, ctypes.c_uint64]], 16]
  graph_out: Annotated[c.POINTER[cudaGraph_t], 24]
  dependencies_out: Annotated[c.POINTER[c.POINTER[cudaGraphNode_t]], 32]
  edgeData_out: Annotated[c.POINTER[c.POINTER[cudaGraphEdgeData]], 40]
  numDependencies_out: Annotated[c.POINTER[size_t], 48]
cudaStreamGetCaptureInfo_v3_v12030_params: TypeAlias = struct_cudaStreamGetCaptureInfo_v3_v12030_params_st
@c.record
class struct_cudaStreamUpdateCaptureDependencies_v11030_params_st(c.Struct):
  SIZE = 32
  stream: Annotated[cudaStream_t, 0]
  dependencies: Annotated[c.POINTER[cudaGraphNode_t], 8]
  numDependencies: Annotated[size_t, 16]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 24]
cudaStreamUpdateCaptureDependencies_v11030_params: TypeAlias = struct_cudaStreamUpdateCaptureDependencies_v11030_params_st
@c.record
class struct_cudaStreamUpdateCaptureDependencies_v2_v12030_params_st(c.Struct):
  SIZE = 40
  stream: Annotated[cudaStream_t, 0]
  dependencies: Annotated[c.POINTER[cudaGraphNode_t], 8]
  dependencyData: Annotated[c.POINTER[cudaGraphEdgeData], 16]
  numDependencies: Annotated[size_t, 24]
  flags: Annotated[Annotated[int, ctypes.c_uint32], 32]
cudaStreamUpdateCaptureDependencies_v2_v12030_params: TypeAlias = struct_cudaStreamUpdateCaptureDependencies_v2_v12030_params_st
@c.record
class struct_cudaStreamCopyAttributes_v11000_params_st(c.Struct):
  SIZE = 16
  dstStream: Annotated[cudaStream_t, 0]
  srcStream: Annotated[cudaStream_t, 8]
cudaStreamCopyAttributes_v11000_params: TypeAlias = struct_cudaStreamCopyAttributes_v11000_params_st
@c.record
class struct_cudaStreamGetAttribute_v11000_params_st(c.Struct):
  SIZE = 24
  stream: Annotated[cudaStream_t, 0]
  attr: Annotated[cudaLaunchAttributeID, 8]
  value: Annotated[c.POINTER[cudaLaunchAttributeValue], 16]
cudaStreamGetAttribute_v11000_params: TypeAlias = struct_cudaStreamGetAttribute_v11000_params_st
@c.record
class struct_cudaStreamSetAttribute_v11000_params_st(c.Struct):
  SIZE = 24
  stream: Annotated[cudaStream_t, 0]
  attr: Annotated[cudaLaunchAttributeID, 8]
  param: Annotated[c.POINTER[cudaLaunchAttributeValue], 16]
cudaStreamSetAttribute_v11000_params: TypeAlias = struct_cudaStreamSetAttribute_v11000_params_st
@c.record
class struct_cudaMallocAsync_v11020_params_st(c.Struct):
  SIZE = 24
  devPtr: Annotated[c.POINTER[ctypes.c_void_p], 0]
  size: Annotated[size_t, 8]
  hStream: Annotated[cudaStream_t, 16]
cudaMallocAsync_v11020_params: TypeAlias = struct_cudaMallocAsync_v11020_params_st
@c.record
class struct_cudaFreeAsync_v11020_params_st(c.Struct):
  SIZE = 16
  devPtr: Annotated[ctypes.c_void_p, 0]
  hStream: Annotated[cudaStream_t, 8]
cudaFreeAsync_v11020_params: TypeAlias = struct_cudaFreeAsync_v11020_params_st
@c.record
class struct_cudaMallocFromPoolAsync_v11020_params_st(c.Struct):
  SIZE = 32
  ptr: Annotated[c.POINTER[ctypes.c_void_p], 0]
  size: Annotated[size_t, 8]
  memPool: Annotated[cudaMemPool_t, 16]
  stream: Annotated[cudaStream_t, 24]
cudaMallocFromPoolAsync_v11020_params: TypeAlias = struct_cudaMallocFromPoolAsync_v11020_params_st
@c.record
class struct_cudaGetDriverEntryPoint_v11030_params_st(c.Struct):
  SIZE = 32
  symbol: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 0]
  funcPtr: Annotated[c.POINTER[ctypes.c_void_p], 8]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 16]
  driverStatus: Annotated[c.POINTER[enum_cudaDriverEntryPointQueryResult], 24]
cudaGetDriverEntryPoint_v11030_params: TypeAlias = struct_cudaGetDriverEntryPoint_v11030_params_st
@c.record
class struct_cudaGetDriverEntryPointByVersion_v12050_params_st(c.Struct):
  SIZE = 40
  symbol: Annotated[c.POINTER[Annotated[bytes, ctypes.c_char]], 0]
  funcPtr: Annotated[c.POINTER[ctypes.c_void_p], 8]
  cudaVersion: Annotated[Annotated[int, ctypes.c_uint32], 16]
  flags: Annotated[Annotated[int, ctypes.c_uint64], 24]
  driverStatus: Annotated[c.POINTER[enum_cudaDriverEntryPointQueryResult], 32]
cudaGetDriverEntryPointByVersion_v12050_params: TypeAlias = struct_cudaGetDriverEntryPointByVersion_v12050_params_st
@c.record
class struct_cudaGetDeviceProperties_v3020_params_st(c.Struct):
  SIZE = 16
  prop: Annotated[c.POINTER[struct_cudaDeviceProp], 0]
  device: Annotated[Annotated[int, ctypes.c_int32], 8]
cudaGetDeviceProperties_v3020_params: TypeAlias = struct_cudaGetDeviceProperties_v3020_params_st
c.init_records()
