Documentation
¶
Overview ¶
Package sanitizer provides low-level Go bindings for the CUDA Compute Sanitizer public API, the callback and patching interface NVIDIA's compute-sanitizer tool is built on.
The API has four parts, all host-side:
- Subscriber: one process-wide subscription that delivers a callback at driver, runtime, resource, launch, memory, graph, event and error events (Subscribe, Subscriber.EnableDomain).
- Patching: loading a compiled instrumentation cubin into a context and attaching its device functions to instruction kinds (AddPatches, PatchInstructions, PatchModule).
- Callback-safe memory: allocation, transfer and fill entry points that are legal to call from inside a callback, where the ordinary CUDA API is not (Alloc, StreamHandle.MemcpyDeviceToHost, StreamHandle.Memset).
- Streams and barriers: converting between a CUstream and the sanitizer's own stream handle, and counting a kernel's barriers (GetStreamHandle, GetCudaBarrierCount).
Device instrumentation is out of scope ¶
Roughly half of sanitizer_patching.h is device code and is deliberately not bound here. The 34 SanitizerCallback* typedefs -- SanitizerCallbackBarrier, SanitizerCallbackMemoryAccess and the rest -- are function pointer types for functions that run on the GPU, once per thread, at a patched instruction. The caller writes them in CUDA C, compiles them with nvcc into a cubin, PTX or fatbin image, loads that image with AddPatches or AddPatchesFromFile, and attaches one to an instruction kind by naming its device symbol as a string to PatchInstructions.
None of them is a symbol of libsanitizer-public.so and none can be implemented in Go: a Go function has a host address, and installing one as a device instruction handler is not something the hardware can do. The InstructionId constants say which device callback signature each instruction kind requires, so the mapping is available from Go even though the functions are not.
InstructionTmaStore is documented as requiring a SanitizerCallbackTensorMemoryStore, which no typedef in the pinned 13.3.27 headers declares. That is a gap in NVIDIA's header, not in this binding.
One subscriber, and it must come first ¶
Compute Sanitizer allows exactly one subscriber per process. A second subscribe while one is live fails with ErrMaxLimitReached; this package returns that error rather than hiding it, and does not offer a way to register a second. Treat the Subscription as the process's single owner of the callback stream, and multiplex in Go if more than one consumer needs the events.
SubscribeFunc is the entry point to use. It takes a Go CallbackFunc, builds the single process-wide purego trampoline that dispatches to it, and returns a Subscription that owns the callback for its lifetime. Subscribe is the raw binding underneath it: it takes an already-built host function pointer and leaves the lifetime problems below to you.
Subscribing enables nothing. Afterwards, enable the domains or individual callback ids you want with Subscription.EnableDomain, Subscription.EnableCallback or Subscription.EnableAllDomains.
For complete reporting the subscription must exist before the process makes its first CUDA call. Events that occur before Subscribe returns are not replayed: a context created before subscribing produces no CONTEXT_CREATION_FINISHED callback, and a module loaded before subscribing produces no MODULE_LOADED callback, so anything derived from those -- patched modules, tracked allocations -- is silently incomplete. Subscribe from an init function, or as the first statement of main, before touching any CUDA API.
[Subscriber.GetCallbackState], Subscriber.EnableCallback, Subscriber.EnableDomain and Subscriber.EnableAllDomains are documented as undefined, not merely racy, when called concurrently with each other. Serialize them. The methods of the same name on Subscription hold a mutex and are safe to call concurrently; the ones on the bare Subscriber handle are not. The rest of the API is documented thread-safe.
Callback lifetime and Go memory ¶
The callback data pointer a callback receives is valid only for that invocation. The header is explicit: to keep anything, copy it. A shallow copy of a CallbackData is not enough, because its functionParams field points at a parameter struct that also dies at return. The one exception the header names is functionName, which points at a global constant.
A Go callback handed to the sanitizer must stay alive for the whole subscription. A callback created with purego.NewCallback is a host function pointer that the sanitizer stores and invokes later, from a thread this package did not create; if the Go closure it wraps becomes unreachable the program crashes at the next event, not at the point of the mistake. purego callbacks are also a limited process-wide resource -- a fixed pool of a couple of thousand that is never reclaimed -- so one created per subscription, or worse per enable, eventually exhausts the process.
SubscribeFunc handles both. It creates exactly one trampoline for the life of the process, reuses it across subscriptions, and holds the Go function in a package-level slot that Subscription.Unsubscribe clears after the library has promised no further callbacks -- so a callback that arrives late finds an empty slot and returns instead of calling into freed state. Callers who use the raw Subscribe binding instead own all of that themselves: keep the callback and everything it closes over reachable from a package-level variable until Subscriber.Unsubscribe returns.
The userdata pointer SubscribeFunc takes is stored by the sanitizer and handed back on every callback. It must not be a Go pointer: C storage that outlives the call cannot hold one, and the garbage collector is free to move or free what it points at. Pass a handle -- an index into a Go-side table, or a pointer to non-Go memory -- and look up the real state in Go.
The userdata pointers SetCallbackData, [LaunchHandle.SetLaunchCallbackData] and StreamHandle.SetDeviceGraphData take are a stronger version of the same rule: the header says these are device memory buffers, read by instrumentation code running on the GPU. Allocate them with Alloc, never with Go's allocator.
Calling CUDA from inside a callback ¶
The pinned headers do not state a complete rule, and this package does not invent one. What they do state is that the seven entry points in sanitizer_memory.h are the equivalents of cudaMalloc, cudaMallocHost, cudaFree, cudaFreeHost, cudaMemcpyAsync, cudaMemcpy and cudaMemset "that can be called within a callback function" -- which is a reason for those functions to exist at all only if the cuda* originals cannot be. Use Alloc, AllocHost, Free, FreeHost, StreamHandle.MemcpyHostToDeviceAsync, StreamHandle.MemcpyDeviceToHost and StreamHandle.Memset from inside a callback.
For anything else, the headers give one tool and no rule: IsInsideRecursiveCallback reports whether the current thread is already executing a nested sanitizer callback, which the header describes as a way to tell the application's own CUDA calls apart from the ones a callback handler makes. The authoritative list of what is permitted is in NVIDIA's Compute Sanitizer API reference, not in these headers; do not infer it from the absence of a prohibition here.
Decoding functionParams is not provided ¶
For the driver and runtime domains, CallbackData.FunctionParams points at one of roughly a thousand cu*_params or cuda*_params structs declared in the generated_*_meta.h headers. Those are not bound. Two reasons: they belong to the driver and runtime APIs rather than to this library, and they are in/out. At ApiEnter an output field of such a struct holds uninitialized memory; only at ApiExit does it hold a result. Any decoder must therefore be callbackSite-aware, and a generated Go struct cannot say so in its type. Callers who need the arguments should cast FunctionParams against a layout they own, having first checked CallbackSite.
Similarly, the resource domain delivers a different payload struct per callback id, and the pinned header does not give the complete mapping: its documentation lists three of the nine resource payload structs and mistakenly names an enum as a fourth, and says nothing at all about the UVM, graphs, events, external-memory and error-logging domains. This package therefore does not dispatch on cbid. Casting the callback data on a guessed mapping reinterprets one struct as another of a different size, which is the memory-safety bug this API most invites; take the mapping from NVIDIA's reference manual, not from the struct names.
Struct layouts ¶
The generated struct layouts are measured from the pinned 13.3.27 headers by a compiler rather than inferred, and layout_test.go pins every size, alignment and field offset. The measurement happens wherever the generator runs, which is not necessarily the platform the bindings run on; the three targets that matter here -- linux/amd64, linux/arm64 and darwin/arm64 -- produce byte-identical record layouts for this header set, because every field is a pointer, a fixed-width integer or an int-sized enum.
GraphNodeLaunchData is the one type a Go struct cannot mirror. It contains an anonymous C union of LaunchData, ResourceMemoryData, a uint64 free address, MemcpyData and MemsetData, discriminated by its NodeType field, and IsGraphUpload sits after the union. The Go type reserves the union's exact 144 bytes as AnonymousUnion so that IsGraphUpload lands at the right offset. Reading a member out of it requires the CUgraphNodeType values from cuda.h, which this package does not declare, so no typed accessor is offered: interpreting the bytes without first checking NodeType against the driver's own constants reinterprets one struct as another of a different size.
Loading ¶
libsanitizer-public.so is not on the loader's default search path. In a toolkit install it lives in $CUDA_HOME/compute-sanitizer/, beside the compute-sanitizer launcher. Load with an explicit path, set SANITIZER_LIB_PATH, or call LoadFromToolkit, which tries every path SearchPaths reports and, on failure, returns a *NotFoundError naming every one it tried. A missing library or a missing symbol is reported as an error -- *SymbolError for the latter -- and never as a panic.
Whether the library is usable from an ordinary process, rather than only under the compute-sanitizer launcher's injection, has not been verified by the authors of this package. The functions are bound; that a bound function succeeds outside the launcher is the caller's to establish.
This package provides host bindings generated from the sanitizer.h header family using github.com/ebitengine/purego for cgo-free dynamic loading. Functions returning a C status report errors wrapping SanitizerResult with descriptive messages from sanitizerGetResultString.
Patching API ¶
- AddPatches: Load a module containing patches that can be used by the patching API.
- AddPatchesFromFile: Load a module containing patches that can be used by the patching API.
- GetCallbackPcAndSize: Get PC and size of a device callback.
- GetFunctionLoadedStatus: Get the loading status of a function.
- GetFunctionPcAndSize: Get PC and size of a CUDA function.
- PatchInstructions: Set instrumentation points and patches to be applied in a module.
- PatchModule: Perform the actual instrumentation of a module.
- SetCallbackData: Specifies the user data pointer for callbacks.
- StreamHandle.SetDeviceGraphData: Specifies the user data pointer accessible from callbacks in the device-launched graphs launched by the specified host-launched graphExec.
- LaunchHandle.SetCallbackData: Specifies the user data pointer for callbacks.
- UnpatchModule: Remove existing instrumentation of a module.
Callback-safe Memory ¶
- Alloc: Allocate memory on the device.
- AllocHost: Allocate host pinned memory.
- Free: Frees memory on the device.
- FreeHost: Frees host memory.
- StreamHandle.MemcpyDeviceToHost: Copies data from device to host.
- StreamHandle.MemcpyHostToDeviceAsync: Copies data from host to device.
- StreamHandle.Memset: Initializes or sets device memory to a value.
Subscriber API ¶
- Subscriber.EnableAllDomains: Enable or disable all callbacks in all domains.
- Subscriber.EnableCallback: Enable or disable callbacks for a specific domain and callback ID
- Subscriber.EnableDomain: Enable or disable all callbacks for a specific domain.
- Subscriber.CallbackState: Get the current enabled/disabled state of a callback for a specific domain and function ID.
- IsInsideRecursiveCallback: Check if the current thread is inside a recursive Sanitizer callback.
- Subscribe: Initialize a callback subscriber with a callback function and user data.
- Subscriber.Unsubscribe: Unregister a callback subscriber.
Barrier API ¶
- GetCudaBarrierCount: Get number of CUDA barriers used by a function.
Stream API ¶
- StreamHandle.Stream: Retrieve a driver.Stream handle from a StreamHandle handle.
- GetStreamHandle: Retrieve a StreamHandle handle from a driver.Stream handle
- StreamHandle.Synchronize: Synchronize a given stream.
Example ¶
Example shows the whole shape of a subscription: load the library, register a callback before any CUDA call happens, enable the domains of interest, and unsubscribe at the end.
package main
import (
"log"
"sync/atomic"
"unsafe"
"github.com/tmc/lib/nvidia/sanitizer"
)
func main() {
if err := sanitizer.LoadFromToolkit(); err != nil {
log.Fatal(err)
}
sub, err := sanitizer.SubscribeFunc(onCallback, 0)
if err != nil {
log.Fatal(err)
}
defer sub.Unsubscribe()
if err := sub.EnableDomain(true, sanitizer.CbDomainResource); err != nil {
log.Fatal(err)
}
// Application CUDA work goes here. Anything the process did before
// SubscribeFunc returned produced no callbacks and is not replayed.
}
// allocated counts device allocations the sanitizer reported. It is a
// package-level variable, and the callback touches nothing else, because the
// callback runs on a thread this package did not create.
var allocated atomic.Int64
// onCallback is invoked by the sanitizer for every enabled callback point.
//
// cbdata points into memory the library owns. It is valid only for the
// duration of this call, so anything worth keeping is copied out here.
func onCallback(userdata uintptr, domain sanitizer.CallbackDomain, cbid uint32, cbdata unsafe.Pointer) {
if domain != sanitizer.CbDomainResource {
return
}
if sanitizer.CallbackIdResource(cbid) != sanitizer.CbidResourceDeviceMemoryAlloc {
return
}
data := *(*sanitizer.ResourceMemoryData)(cbdata)
allocated.Add(int64(data.Size))
}
Output:
Index ¶
- func AddPatches(image unsafe.Pointer, ctx driver.Context) error
- func AddPatchesFromFile(filename string, ctx driver.Context) error
- func Alloc(ctx driver.Context, size uint) (devPtr uintptr, err error)
- func AllocHost(ctx driver.Context, size uint) (devPtr uintptr, err error)
- func Close() error
- func Free(ctx driver.Context, devPtr uintptr) error
- func FreeHost(ctx driver.Context, devPtr unsafe.Pointer) error
- func GetCallbackPcAndSize(ctx driver.Context, deviceCallbackName string) (pc uint64, size uint64, err error)
- func GetCudaBarrierCount(kernel Function) (uint32, error)
- func GetFunctionPcAndSize(module Module, functionName string) (pc uint64, size uint64, err error)
- func Has(symbol string) bool
- func HasAddPatches() bool
- func HasAddPatchesFromFile() bool
- func HasAlloc() bool
- func HasAllocHost() bool
- func HasEnableAllDomains() bool
- func HasEnableCallback() bool
- func HasEnableDomain() bool
- func HasFree() bool
- func HasFreeHost() bool
- func HasGetCallbackPcAndSize() bool
- func HasGetCallbackState() bool
- func HasGetCudaBarrierCount() bool
- func HasGetFunctionLoadedStatus() bool
- func HasGetFunctionPcAndSize() bool
- func HasGetResultString() bool
- func HasGetStream() bool
- func HasGetStreamHandle() bool
- func HasIsInsideRecursiveCallback() bool
- func HasMemcpyDeviceToHost() bool
- func HasMemcpyHostToDeviceAsync() bool
- func HasMemset() bool
- func HasPatchInstructions() bool
- func HasPatchModule() bool
- func HasSetCallbackData() bool
- func HasSetDeviceGraphData() bool
- func HasSetLaunchCallbackData() bool
- func HasStreamSynchronize() bool
- func HasSubscribe() bool
- func HasUnpatchModule() bool
- func HasUnsubscribe() bool
- func IsInsideRecursiveCallback() (uint32, error)
- func Load(path string) error
- func LoadFromToolkit() error
- func Loaded() bool
- func PatchInstructions(instructionId InstructionId, module Module, deviceCallbackName string) error
- func PatchModule(module Module) error
- func Path() string
- func SearchPaths() []string
- func SetCallbackData(kernel Function, userdata uintptr) error
- func UnpatchModule(module Module) error
- type ApiCallbackSite
- type Array
- type BarrierFlags
- type BatchMemcpyItemEndData
- type BatchMemopAtomicOp
- type BatchMemopData
- type BatchMemopType
- type BatchMultiEntryPushData
- type BindFailure
- type CacheControlInstructionKind
- type CallError
- type CallFlags
- type CallbackData
- type CallbackDomain
- type CallbackFunc
- type CallbackIdBatchMemop
- type CallbackIdErrorLogging
- type CallbackIdEvents
- type CallbackIdExternalMemory
- type CallbackIdGraphs
- type CallbackIdLaunch
- type CallbackIdMemcpy
- type CallbackIdMemset
- type CallbackIdResource
- type CallbackIdSync
- type CallbackIdUvm
- type ClusterLaunchControlFlags
- type CudaBarrierFlags
- type CudaBarrierInstructionKind
- type Device
- type DeviceMemoryFlags
- type Dim3
- type DriverAPICBID
- type ErrorLoggingData
- type EventData
- type ExternalMemory
- type ExternalMemoryData
- type FenceProxyAsyncFlags
- type Function
- type FunctionLoadedStatus
- type Graph
- type GraphExec
- type GraphExecData
- type GraphLaunchData
- type GraphNode
- type GraphNodeLaunchData
- type GraphNodeType
- type GreenContext
- type InstructionId
- type LaunchData
- type LaunchHandle
- type Library
- type LibraryAttempt
- type LibraryConflictError
- type LibraryError
- type LoadAttempt
- type LoadMode
- type LogLevel
- type LogicalEndpointCapabilityFlags
- type LogicalEndpointType
- type MemcpyData
- type MemcpyDirection
- type MemoryPool
- type MemoryVisibility
- type MemsetData
- type Module
- type NotFoundError
- type PatchResult
- type ResourceArrayData
- type ResourceContextData
- type ResourceFunctionsLazyLoadedData
- type ResourceLogicalEndpointData
- type ResourceMemoryData
- type ResourceMemoryFlags
- type ResourceMemoryPermissions
- type ResourceMempoolData
- type ResourceModuleData
- type ResourceStreamData
- type ResourceVirtualRange
- type Result
- type RuntimeAPICBID
- type StreamHandle
- func (s StreamHandle) MemcpyDeviceToHost(dst unsafe.Pointer, src uintptr, count uint) error
- func (s StreamHandle) MemcpyHostToDeviceAsync(dst uintptr, src unsafe.Pointer, count uint) error
- func (s StreamHandle) Memset(devPtr uintptr, value int32, count uint) error
- func (s StreamHandle) SetDeviceGraphData(graphExec GraphExec, userdata uintptr) error
- func (s StreamHandle) Stream() (driver.Stream, error)
- func (s StreamHandle) Synchronize() error
- type Subscriber
- func (s Subscriber) CallbackState(domain CallbackDomain, cbid uint32) (uint32, error)
- func (s Subscriber) EnableAllDomains(enable uint32) error
- func (s Subscriber) EnableCallback(enable uint32, domain CallbackDomain, cbid uint32) error
- func (s Subscriber) EnableDomain(enable uint32, domain CallbackDomain) error
- func (s Subscriber) Unsubscribe() error
- type Subscription
- func (s *Subscription) CallbackState(domain CallbackDomain, cbid uint32) (bool, error)
- func (s *Subscription) EnableAllDomains(enable bool) error
- func (s *Subscription) EnableCallback(enable bool, domain CallbackDomain, cbid uint32) error
- func (s *Subscription) EnableDomain(enable bool, domain CallbackDomain) error
- func (s *Subscription) Handle() Subscriber
- func (s *Subscription) Unsubscribe() error
- type SymbolError
- type SynchronizeData
- type UvmData
- type WarpgroupMMAAsyncFlags
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPatches ¶
AddPatches loads a module containing patches that can be used by the patching API.
AddPatchesFromFile, AddPatches, PatchInstructions, and PatchModule. For example if AddPatches(image) and sanitizerPatchInstruction(*, *, cbName) are called concurrently and cbName is intended to be found in the loaded image, the results are undefined.
- image: Pointer to module data to load. This API supports the same module formats as the cuModuleLoadData and cuModuleLoadFatBinary functions from the CUDA driver API
- ctx: CUDA context in which to load the patches. If ctx is NULL, the current context will be used
Errors:
- ErrNotInitialized: if unable to initialize the sanitizer.
- ErrInvalidParameter: if image does not point to a valid CUDA module.
Wraps sanitizerAddPatches.
func AddPatchesFromFile ¶
AddPatchesFromFile loads a module containing patches that can be used by the patching API.
AddPatchesFromFile, AddPatches, PatchInstructions, and PatchModule. For example if AddPatchesFromFile(filename) and sanitizerPatchInstruction(*, *, cbName) are called concurrently and cbName is intended to be found in the loaded module, the results are undefined.
- filename: Path to the module file. This API supports the same module formats as the cuModuleLoad function from the CUDA driver API
- ctx: CUDA context in which to load the patches. If ctx is NULL, the current context will be used
Errors:
- ErrNotInitialized: if unable to initialize the sanitizer
- ErrInvalidParameter: if filename is not a path to a valid CUDA module.
Wraps sanitizerAddPatchesFromFile.
func Alloc ¶
Alloc allocates memory on the device.
Equivalent of cudaMalloc that can be called within a callback function.
- ctx: Context for the allocation. If NULL, the current context will be used
- devPtr: Pointer to allocated device memory
- size: Allocation size in bytes
Wraps sanitizerAlloc.
func AllocHost ¶
AllocHost allocates host pinned memory.
Equivalent of cudaMallocHost that can be called within a callback function.
- ctx: Context for the allocation. If NULL, the current context will be used
- devPtr: Pointer to allocated host memory
- size: Allocation size in bytes
Wraps sanitizerAllocHost.
func Close ¶
func Close() error
Close unloads the library and clears all bound function pointers.
The function pointers are package-level state, so Close must not be called concurrently with any other call into this package: doing so is a use-after-free. It is intended for test teardown, not for reclaiming a live library.
func Free ¶
Free frees memory on the device.
Equivalent of cudaFree that can be called within a callback function.
- ctx: Context for the allocation. If NULL, the current context will be used
- devPtr: Device pointer to memory to free
Wraps sanitizerFree.
func FreeHost ¶
FreeHost frees host memory.
Equivalent of cudaFreeHost that can be called within a callback function.
- ctx: Context for the allocation. If NULL, the current context will be used
- devPtr: Host pointer to memory to free
Wraps sanitizerFreeHost.
func GetCallbackPcAndSize ¶
func GetCallbackPcAndSize(ctx driver.Context, deviceCallbackName string) (pc uint64, size uint64, err error)
GetCallbackPcAndSize gets PC and size of a device callback.
- ctx (in): CUDA context in which the patches were loaded. If ctx is NULL, the current context will be used
- deviceCallbackName (in): device function callback name
- pc (out): Callback PC returned
- size (out): Callback size returned
Errors:
- ErrInvalidParameter: if deviceCallbackName function cannot be located, if pc is NULL or if size is NULL.
Wraps sanitizerGetCallbackPcAndSize.
func GetCudaBarrierCount ¶
GetCudaBarrierCount gets number of CUDA barriers used by a function.
The module where kernel resides must have been instrumented using PatchModule prior to calling this function. This function is only available for modules built with nvcc 11.2 or newer, it will return 0 otherwise.
- kernel (in): CUDA function
Wraps sanitizerGetCudaBarrierCount.
func GetFunctionPcAndSize ¶
GetFunctionPcAndSize gets PC and size of a CUDA function.
- module (in): CUDA module containing the function
- functionName (in): CUDA function name
- pc (out): Function start program counter (PC) returned
- size (out): Function size in bytes returned
Errors:
- ErrInvalidParameter: if functionName function. cannot be located, if pc is NULL or if size is NULL.
Wraps sanitizerGetFunctionPcAndSize.
func Has ¶
Has reports whether the named C symbol resolved in the loaded library, loading it first if necessary. It returns false if the library failed to load. Use it to gate on capabilities before calling into them.
func HasAddPatches ¶
func HasAddPatches() bool
HasAddPatches reports whether sanitizerAddPatches resolved in the loaded library.
func HasAddPatchesFromFile ¶
func HasAddPatchesFromFile() bool
HasAddPatchesFromFile reports whether sanitizerAddPatchesFromFile resolved in the loaded library.
func HasAlloc ¶
func HasAlloc() bool
HasAlloc reports whether sanitizerAlloc resolved in the loaded library.
func HasAllocHost ¶
func HasAllocHost() bool
HasAllocHost reports whether sanitizerAllocHost resolved in the loaded library.
func HasEnableAllDomains ¶
func HasEnableAllDomains() bool
HasEnableAllDomains reports whether sanitizerEnableAllDomains resolved in the loaded library.
func HasEnableCallback ¶
func HasEnableCallback() bool
HasEnableCallback reports whether sanitizerEnableCallback resolved in the loaded library.
func HasEnableDomain ¶
func HasEnableDomain() bool
HasEnableDomain reports whether sanitizerEnableDomain resolved in the loaded library.
func HasFree ¶
func HasFree() bool
HasFree reports whether sanitizerFree resolved in the loaded library.
func HasFreeHost ¶
func HasFreeHost() bool
HasFreeHost reports whether sanitizerFreeHost resolved in the loaded library.
func HasGetCallbackPcAndSize ¶
func HasGetCallbackPcAndSize() bool
HasGetCallbackPcAndSize reports whether sanitizerGetCallbackPcAndSize resolved in the loaded library.
func HasGetCallbackState ¶
func HasGetCallbackState() bool
HasGetCallbackState reports whether sanitizerGetCallbackState resolved in the loaded library.
func HasGetCudaBarrierCount ¶
func HasGetCudaBarrierCount() bool
HasGetCudaBarrierCount reports whether sanitizerGetCudaBarrierCount resolved in the loaded library.
func HasGetFunctionLoadedStatus ¶
func HasGetFunctionLoadedStatus() bool
HasGetFunctionLoadedStatus reports whether sanitizerGetFunctionLoadedStatus resolved in the loaded library.
func HasGetFunctionPcAndSize ¶
func HasGetFunctionPcAndSize() bool
HasGetFunctionPcAndSize reports whether sanitizerGetFunctionPcAndSize resolved in the loaded library.
func HasGetResultString ¶
func HasGetResultString() bool
HasGetResultString reports whether sanitizerGetResultString resolved in the loaded library.
func HasGetStream ¶
func HasGetStream() bool
HasGetStream reports whether sanitizerGetStream resolved in the loaded library.
func HasGetStreamHandle ¶
func HasGetStreamHandle() bool
HasGetStreamHandle reports whether sanitizerGetStreamHandle resolved in the loaded library.
func HasIsInsideRecursiveCallback ¶
func HasIsInsideRecursiveCallback() bool
HasIsInsideRecursiveCallback reports whether sanitizerIsInsideRecursiveCallback resolved in the loaded library.
func HasMemcpyDeviceToHost ¶
func HasMemcpyDeviceToHost() bool
HasMemcpyDeviceToHost reports whether sanitizerMemcpyDeviceToHost resolved in the loaded library.
func HasMemcpyHostToDeviceAsync ¶
func HasMemcpyHostToDeviceAsync() bool
HasMemcpyHostToDeviceAsync reports whether sanitizerMemcpyHostToDeviceAsync resolved in the loaded library.
func HasMemset ¶
func HasMemset() bool
HasMemset reports whether sanitizerMemset resolved in the loaded library.
func HasPatchInstructions ¶
func HasPatchInstructions() bool
HasPatchInstructions reports whether sanitizerPatchInstructions resolved in the loaded library.
func HasPatchModule ¶
func HasPatchModule() bool
HasPatchModule reports whether sanitizerPatchModule resolved in the loaded library.
func HasSetCallbackData ¶
func HasSetCallbackData() bool
HasSetCallbackData reports whether sanitizerSetCallbackData resolved in the loaded library.
func HasSetDeviceGraphData ¶
func HasSetDeviceGraphData() bool
HasSetDeviceGraphData reports whether sanitizerSetDeviceGraphData resolved in the loaded library.
func HasSetLaunchCallbackData ¶
func HasSetLaunchCallbackData() bool
HasSetLaunchCallbackData reports whether sanitizerSetLaunchCallbackData resolved in the loaded library.
func HasStreamSynchronize ¶
func HasStreamSynchronize() bool
HasStreamSynchronize reports whether sanitizerStreamSynchronize resolved in the loaded library.
func HasSubscribe ¶
func HasSubscribe() bool
HasSubscribe reports whether sanitizerSubscribe resolved in the loaded library.
Example ¶
ExampleHasSubscribe shows probing for a symbol before using it, so a binding missing from an older install is a branch rather than an error at the call.
package main
import (
"fmt"
"github.com/tmc/lib/nvidia/sanitizer"
)
func main() {
if !sanitizer.HasSubscribe() {
fmt.Println("this install predates sanitizerSubscribe")
return
}
fmt.Println("sanitizerSubscribe is available")
}
Output:
func HasUnpatchModule ¶
func HasUnpatchModule() bool
HasUnpatchModule reports whether sanitizerUnpatchModule resolved in the loaded library.
func HasUnsubscribe ¶
func HasUnsubscribe() bool
HasUnsubscribe reports whether sanitizerUnsubscribe resolved in the loaded library.
func IsInsideRecursiveCallback ¶
IsInsideRecursiveCallback checks if the current thread is inside a recursive Sanitizer callback.
Returns whether the current thread is executing inside a nested (recursive) Sanitizer callback handler. This is useful for distinguishing between CUDA API calls made by the application versus calls made internally by Sanitizer itself during callback processing.
This function tracks callback re-entrancy depth and returns true only when the depth is greater than 1, indicating that a Sanitizer callback has triggered another callback. It returns false for the initial (non-nested) callback level.
Errors:
- ErrInvalidParameter: if isInside is NULL.
Wraps sanitizerIsInsideRecursiveCallback.
func Load ¶
Load opens the shared library from path, or from the default search list when path is empty, and binds all symbols. Callers that need to direct loading should call Load before any other function; otherwise the first call loads from the default search list.
Load is idempotent: calling it again with the same path, or with an empty path, returns nil. Calling it with a different path after a successful load returns *LibraryConflictError rather than replacing the library. After a failed load, Load retries.
Example ¶
ExampleLoad shows pointing the loader at an explicit path, which is what to do when the toolkit is somewhere SearchPaths does not look.
package main
import (
"fmt"
"log"
"github.com/tmc/lib/nvidia/sanitizer"
)
func main() {
err := sanitizer.Load("/opt/nvidia/cuda-13.3/compute-sanitizer/libsanitizer-public.so")
if err != nil {
log.Fatal(err)
}
fmt.Println("loaded from", sanitizer.Path())
}
Output:
func LoadFromToolkit ¶
func LoadFromToolkit() error
LoadFromToolkit opens the library from a CUDA toolkit install, trying every path SearchPaths reports until one succeeds.
Use it when the library is installed but not reachable by name, which is the normal case: see SearchPaths. It is an alternative to Load, not a replacement: Load with an explicit path still wins where the install is somewhere else entirely, and so does the SANITIZER_LIB_PATH environment variable, which when set is the only path LoadFromToolkit tries.
If the library is already loaded, LoadFromToolkit returns nil without opening anything, exactly as Load does. If no candidate opens, it returns *NotFoundError naming every path tried; it never panics and never falls back to a library that is not this one.
func Loaded ¶
func Loaded() bool
Loaded reports whether the library is currently loaded. It does not trigger a load.
func PatchInstructions ¶
func PatchInstructions(instructionId InstructionId, module Module, deviceCallbackName string) error
PatchInstructions sets instrumentation points and patches to be applied in a module.
Mark that all instrumentation points matching instructionId are to be patched in order to call the device function identified by deviceCallbackName. It is up to the API client to ensure that this device callback exists and match the correct callback format for this instrumentation point. AddPatchesFromFile, AddPatches, PatchInstructions, and PatchModule. For example if AddPatches(fileName) and sanitizerPatchInstruction(*, *, cbName) are called concurrently and cbName is intended to be found in the loaded module, the results are undefined.
- instructionId: Instrumentation point for which to insert patches
- module: CUDA module to instrument
- deviceCallbackName: Name of the device function callback that the inserted patch will call at the instrumented points. This function is expected to be found in code previously loaded by AddPatchesFromFile or AddPatches
Errors:
- ErrNotInitialized: if unable to initialize the sanitizer.
- ErrInvalidParameter: if module is not a CUDA module or if deviceCallbackName function cannot be located.
Wraps sanitizerPatchInstructions.
func PatchModule ¶
PatchModule performs the actual instrumentation of a module.
Perform the instrumentation of a CUDA module based on previous calls to PatchInstructions. This function also specifies the device memory buffer to be passed in as userdata to all callback functions. AddPatchesFromFile, AddPatches, PatchInstructions, and PatchModule. For example if PatchModule(mod, *) and sanitizerPatchInstruction(*, mod, *) are called concurrently, the results are undefined.
- module: CUDA module to instrument
Errors:
- ErrInvalidParameter: if module is not a CUDA module.
Wraps sanitizerPatchModule.
func Path ¶
func Path() string
Path returns the path or name the loaded library was opened from, or the empty string if no library is loaded.
func SearchPaths ¶
func SearchPaths() []string
SearchPaths returns the absolute paths LoadFromToolkit tries, in order.
A CUDA toolkit keeps the Compute Sanitizer library in <root>/compute-sanitizer/, beside the compute-sanitizer launcher, rather than in <root>/lib64. Nothing puts that directory on the loader's default search path, so the bare soname that Load tries first usually fails on an otherwise complete install. The roots come from CUDA_HOME, CUDA_PATH and CUDA_ROOT when set, then from the usual install prefixes.
The list is empty on GOOS values Compute Sanitizer does not ship for. Duplicates are removed, so an environment variable naming a default prefix does not produce the same path twice.
Example ¶
ExampleSearchPaths shows the candidate list LoadFromToolkit walks. The library is not on the loader's default search path, so this list is usually what a "not found" failure comes down to.
package main
import (
"fmt"
"github.com/tmc/lib/nvidia/sanitizer"
)
func main() {
for _, p := range sanitizer.SearchPaths() {
fmt.Println(p)
}
}
Output:
func SetCallbackData ¶
SetCallbackData specifies the user data pointer for callbacks.
Mark all subsequent launches of kernel to use userdata pointer as the device memory buffer to pass in to callback functions.
- kernel: CUDA function to link to user data. Callbacks in subsequent launches on this kernel will use userdata as callback data
- userdata: Device memory buffer. This data will be passed to callback functions via the userdata parameter
Wraps sanitizerSetCallbackData.
func UnpatchModule ¶
UnpatchModule removes existing instrumentation of a module.
Remove any instrumentation of a CUDA module performed by previous calls to PatchModule. PatchModule and UnpatchModule on the same module. For example, if PatchModule(mod) and UnpatchModule(mod) are called concurrently, the results are undefined.
- module: CUDA module on which to remove instrumentation
Wraps sanitizerUnpatchModule.
Types ¶
type ApiCallbackSite ¶
type ApiCallbackSite int32
ApiCallbackSite specifies the point in an API call that a callback is issued.
Specifies the point in an API that a callback is issued. This value is communicated to the callback function via [CallbackData]CallbackSize.
const ( ApiEnter ApiCallbackSite = 0 // This callback is at API entry. ApiExit ApiCallbackSite = 1 // This callback is at API exit. ApiCbsiteForceInt ApiCallbackSite = 0x7fffffff )
func (ApiCallbackSite) String ¶
func (e ApiCallbackSite) String() string
String returns the constant name, or a numeric representation for unknown values.
type BarrierFlags ¶
type BarrierFlags int32
BarrierFlags represents flags describing a barrier.
Flags describing a barrier. These values are to be or-combined in the value of \b flags for a SanitizerCallbackBarrier callback.
const ( BarrierFlagNone BarrierFlags = 0 // Empty flag. BarrierFlagUnalignedAllowed BarrierFlags = 0x1 // Specifies that the barrier can be called unaligned. This flag is only valid on SM 7.0 and above. BarrierFlagIsSynchronizing BarrierFlags = 0x2 // Specifies that the barrier is synchronizing (i.e., it is not a non-blocking barrier). BarrierFlagForceInt BarrierFlags = 0x7fffffff )
func (BarrierFlags) String ¶
func (e BarrierFlags) String() string
String returns the constant name, or a numeric representation for unknown values.
type BatchMemcpyItemEndData ¶
type BatchMemcpyItemEndData struct {
ApiContext driver.Context
ApiStream driver.Stream
HApiStream StreamHandle
}
BatchMemcpyItemEndData represents data passed into a item batch memcpy end callback function.
type BatchMemopAtomicOp ¶
type BatchMemopAtomicOp int32
BatchMemopAtomicOp specifies the type of atomic operation for batch memory atomic reduction.
Specifies the type ofatomic operation for batch memory atomic reduction reported by a callback in domain CbDomainBatchMemop. This value is communicated to the callback function via [BatchMemopData]atomicOperation.
const ( BatchMemopAtomicOpOr BatchMemopAtomicOp = 0 // The batch memory atomic operation is a binary OR. BatchMemopAtomicOpAnd BatchMemopAtomicOp = 1 // The batch memory atomic operation is a binary AND. BatchMemopAtomicOpAdd BatchMemopAtomicOp = 2 // The batch memory atomic operation is an addition. BatchMemopAtomicOpInt BatchMemopAtomicOp = 0x7fffffff )
func (BatchMemopAtomicOp) String ¶
func (e BatchMemopAtomicOp) String() string
String returns the constant name, or a numeric representation for unknown values.
type BatchMemopData ¶
type BatchMemopData struct {
Context driver.Context
Stream driver.Stream
HStream StreamHandle
Address uint64
Value uint64
Type BatchMemopType
// Zero on releases before CUDA 13.1.
AtomicOperation BatchMemopAtomicOp
}
BatchMemopData represents data passed into a batch memop callback function.
Data passed into a batch memop callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal to CbDomainBatchMemop. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type BatchMemopType ¶
type BatchMemopType int32
BatchMemopType specifies the type of batch memory operation.
Specifies the type of batch memory operation reported by a callback in domain CbDomainBatchMemop. This value is communicated to the callback function via [BatchMemopData]type.
const ( BatchMemopType32B BatchMemopType = 0 // Batch memory operation size is 32 bits. BatchMemopType64B BatchMemopType = 1 // Batch memory operation size is 64 bits. BatchMemopTypeForceInt BatchMemopType = 0x7fffffff )
func (BatchMemopType) String ¶
func (e BatchMemopType) String() string
String returns the constant name, or a numeric representation for unknown values.
type BatchMultiEntryPushData ¶
type BatchMultiEntryPushData struct {
ApiContext driver.Context
ApiStream driver.Stream
HApiStream StreamHandle
}
BatchMultiEntryPushData represents data passed into a batch memcpy multientry push begin/end function.
type BindFailure ¶
BindFailure names a symbol the loaded library exports but that could not be bound, and why.
func BindFailures ¶
func BindFailures() []BindFailure
BindFailures returns the symbols the loaded library exports that could not be bound, sorted by symbol name, or nil if every exported symbol bound. Calling one of these reports *SymbolError with the same Err.
A load that reports no error can still leave symbols unbound: the library is fine and the signatures are not representable here. Call this after Load to find that out at once rather than one call site at a time. It does not trigger a load, and returns nil if none has happened.
type CacheControlInstructionKind ¶
type CacheControlInstructionKind int32
CacheControlInstructionKind represents cache control action.
const ( CacheControlInvalid CacheControlInstructionKind = 0 // Invalid action ID. CacheControlL1Prefetch CacheControlInstructionKind = 1 // Prefetch to L1. CacheControlL2Prefetch CacheControlInstructionKind = 2 // Prefetch to L2. CacheControlForceInt CacheControlInstructionKind = 0x7fffffff )
func (CacheControlInstructionKind) String ¶
func (e CacheControlInstructionKind) String() string
String returns the constant name, or a numeric representation for unknown values.
type CallError ¶
CallError reports that a library call returned a failure result.
Unwrap returns Result, so errors.Is(err, c) reports whether the call returned the Result constant c, and errors.As(err, &r) with r of type Result recovers the code.
type CallFlags ¶
type CallFlags int32
CallFlags represents flags describing a function call.
Flags describing a function call. These values are to be or-combined in the value of \b flags for a SanitizerCallbackCall callback.
type CallbackData ¶
type CallbackData struct {
CallbackSite ApiCallbackSite
FunctionName uintptr
FunctionParams uintptr
FunctionReturnValue uintptr
SymbolName uintptr
Context driver.Context
}
CallbackData represents data passed into a runtime or driver API callback function.
Data passed into a runtime or driver API callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal to CbDomainDriverApi or CbDomainRuntimeApi. The callback data is valid only within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make of a copy of that data. For example, if you make a shallow copy of CallbackData within a callback, you cannot dereference functionParams outside of that callback to access the function parameters. functionName is an exception: the string pointed to by functionName is a global constant and so may be accessed outside of the callback.
type CallbackDomain ¶
type CallbackDomain int32
CallbackDomain represents callback domains.
Callback domain. Each domain represents callback points for a group of related API functions or CUDA driver activity.
const ( CbDomainInvalid CallbackDomain = 0 // Invalid domain. CbDomainDriverApi CallbackDomain = 1 // Domain containing callback points for all driver API functions. CbDomainRuntimeApi CallbackDomain = 2 // Domain containing callback points for all runtime API functions. CbDomainResource CallbackDomain = 3 // Domain containing callback points for CUDA resource tracking. CbDomainSynchronize CallbackDomain = 4 // Domain containing callback points for CUDA synchronization. CbDomainLaunch CallbackDomain = 5 // Domain containing callback points for CUDA grid launches. CbDomainMemcpy CallbackDomain = 6 // Domain containing callback points for CUDA memcpy operations. CbDomainMemset CallbackDomain = 7 // Domain containing callback points for CUDA memset operations. CbDomainBatchMemop CallbackDomain = 8 // Domain containing callback points for CUDA batch memop operations. CbDomainUvm CallbackDomain = 9 // Domain containing callback points for CUDA managed memory operations. CbDomainGraphs CallbackDomain = 10 // Domain containing callback points for CUDA graphs operations. CbDomainEvents CallbackDomain = 11 // Domain containing callback points for CUDA events. CbDomainExternalMemory CallbackDomain = 12 // Domain containing callback points for CUDA external memory. CbDomainErrorLogging CallbackDomain = 13 // Domain containing callback points for CUDA error logging. CbDomainSize CallbackDomain = 14 CbDomainForceInt CallbackDomain = 0x7fffffff )
func (CallbackDomain) String ¶
func (e CallbackDomain) String() string
String returns the constant name, or a numeric representation for unknown values.
type CallbackFunc ¶
type CallbackFunc func(userdata uintptr, domain CallbackDomain, cbid uint32, cbdata unsafe.Pointer)
CallbackFunc is the Go form of Sanitizer_CallbackFunc, the one host callback this API takes:
typedef void (SANITIZERAPI *Sanitizer_CallbackFunc)(void *userdata,
Sanitizer_CallbackDomain domain, Sanitizer_CallbackId cbid,
const void *cbdata);
Register one with SubscribeFunc, not with purego.NewCallback: this package creates exactly one C-callable trampoline for the whole process and dispatches through it. See Subscription for what a callback may do.
userdata is the opaque value handed to SubscribeFunc, returned unchanged. It is a uintptr because the library stores it across calls, where a Go pointer may not go.
cbdata points at a per-domain struct in memory the library owns -- a CallbackData for the driver and runtime API domains, a ResourceMemoryData for a memory resource callback, and so on. It is valid only until this function returns, so anything worth keeping must be copied out here. It is nil for domains that carry no data.
For the runtime API domain, cbid is a RuntimeAPICBID in this package's numbering, whatever release the library is. CUDA 13.0 renumbered the runtime callback IDs, so a CUDA 12 library's IDs are translated before fn sees them, and an ID that only CUDA 12 declares arrives as its CUDA 12-only constant. Other domains' IDs pass through unchanged. For older layouts, callback data for the supported domains is a normalized, read-only snapshot in this package's CUDA 13.4 layout. Do not retain its pointer after fn returns.
This type is written by hand rather than generated so that cbdata is an unsafe.Pointer. The generated form makes every callback pointer a uintptr, which is correct on the wire but pushes a uintptr-to-pointer conversion into every callback body, and go vet reports each one as a possible misuse of unsafe.Pointer. Nothing is lost: the pointer addresses library memory, which the collector does not manage either way.
type CallbackIdBatchMemop ¶
type CallbackIdBatchMemop int32
CallbackIdBatchMemop represents callback IDs for batch memop domain.
Callback IDs for resource domain CbDomainBatchMemop. This value is communicated to the callback function via the cbid parameter.
const ( CbidBatchMemopInvalid CallbackIdBatchMemop = 0 // Invalid batch memop callback ID. CbidBatchMemopWrite CallbackIdBatchMemop = 1 // A batch memory write operation was initiated. CbidBatchMemopWaitBegin CallbackIdBatchMemop = 2 // A batch memory wait operation was initiated. CbidBatchMemopAtomicReduction CallbackIdBatchMemop = 3 // A batch memory atomic reduction operation was initiated. CbidBatchMemopSize CallbackIdBatchMemop = 4 CbidBatchMemopForceInt CallbackIdBatchMemop = 0x7fffffff )
func (CallbackIdBatchMemop) String ¶
func (e CallbackIdBatchMemop) String() string
String returns the constant name, or a numeric representation for unknown values.
type CallbackIdErrorLogging ¶
type CallbackIdErrorLogging int32
CallbackIdErrorLogging represents callback IDs for external memory domain.
Callback IDs for resource domain SANITIZER_CB_DOMAIN_EXTERNA_MEMORY. This value is communicated to the callback function via the cbid parameter. Available with a driver version of 535 or newer.
const ( CbidErrorLoggingInvalid CallbackIdErrorLogging = 0 // Invalid error logging callback ID. CbidErrorLoggingMessageIssued CallbackIdErrorLogging = 1 // Error logging message issued. CbidErrorLoggingSize CallbackIdErrorLogging = 2 CbidErrorLoggingForceInt CallbackIdErrorLogging = 0x7fffffff )
func (CallbackIdErrorLogging) String ¶
func (e CallbackIdErrorLogging) String() string
String returns the constant name, or a numeric representation for unknown values.
type CallbackIdEvents ¶
type CallbackIdEvents int32
CallbackIdEvents represents callback IDs for events domain.
Callback IDs for resource domain CbDomainEvents. This value is communicated to the callback function via the cbid parameter. Available with a driver version of 515 or newer.
const ( CbidEventsInvalid CallbackIdEvents = 0 // Invalid event callback ID. CbidEventsCreated CallbackIdEvents = 1 // An event was created. CbidEventsDestroyed CallbackIdEvents = 2 // An event was destroyed. CbidEventsRecord CallbackIdEvents = 3 // An event was recorded. CbidEventsStreamWait CallbackIdEvents = 4 // A stream was synchronized to an event. CbidEventsSynchronize CallbackIdEvents = 5 // An event was synchronized. CbidCtxRecordEvent CallbackIdEvents = 6 // A ctx event was recorded. CbidGreenCtxRecordEvent CallbackIdEvents = 7 // A green ctx event was recorded. CbidCtxWaitEvent CallbackIdEvents = 8 // A wait for event was scheduled on context. CbidGreenCtxWaitEvent CallbackIdEvents = 9 // A wait for event was scheduled on context. CbidCtxEventSynchronize CallbackIdEvents = 10 // An event was synchronized. CbidEventsSize CallbackIdEvents = 11 CbidEventsForceInt CallbackIdEvents = 0x7fffffff )
func (CallbackIdEvents) String ¶
func (e CallbackIdEvents) String() string
String returns the constant name, or a numeric representation for unknown values.
type CallbackIdExternalMemory ¶
type CallbackIdExternalMemory int32
CallbackIdExternalMemory represents callback IDs for external memory domain.
Callback IDs for resource domain SANITIZER_CB_DOMAIN_EXTERNA_MEMORY. This value is communicated to the callback function via the cbid parameter. Available with a driver version of 535 or newer.
const ( CbidExternalMemoryInvalid CallbackIdExternalMemory = 0 // Invalid external memory callback ID. CbidExternalMemoryImport CallbackIdExternalMemory = 1 // External memory was imported. CbidExternalMemoryMapped CallbackIdExternalMemory = 2 // External memory was mapped. CbidExternalMemoryDestroyed CallbackIdExternalMemory = 3 // External memory was destroyed. CbidExternalMemorySize CallbackIdExternalMemory = 4 CbidExternalMemoryForceInt CallbackIdExternalMemory = 0x7fffffff )
func (CallbackIdExternalMemory) String ¶
func (e CallbackIdExternalMemory) String() string
String returns the constant name, or a numeric representation for unknown values.
type CallbackIdGraphs ¶
type CallbackIdGraphs int32
CallbackIdGraphs represents callback IDs for graphs domain.
Callback IDs for resource domain CbDomainGraphs. This value is communicated to the callback function via the cbid parameter.
const ( CbidGraphsInvalid CallbackIdGraphs = 0 // Invalid graphs callback ID. CbidGraphsGraphexecCreating CallbackIdGraphs = 1 // A new graphexec is being created. CbidGraphsGraphexecCreated CallbackIdGraphs = 2 // A new graphexec is created. CbidGraphsGraphexecDestroying CallbackIdGraphs = 3 // A graphexec is being destroyed. CbidGraphsNodeLaunchBegin CallbackIdGraphs = 4 // A node launch was initiated. CbidGraphsNodeLaunchEnd CallbackIdGraphs = 5 // A node launch is complete. CbidGraphsLaunchBegin CallbackIdGraphs = 6 // A graph launch was initiated. CbidGraphsLaunchEnd CallbackIdGraphs = 7 // A graph launch is complete. CbidGraphsSize CallbackIdGraphs = 8 CbidGraphsForceInt CallbackIdGraphs = 0x7fffffff )
func (CallbackIdGraphs) String ¶
func (e CallbackIdGraphs) String() string
String returns the constant name, or a numeric representation for unknown values.
type CallbackIdLaunch ¶
type CallbackIdLaunch int32
CallbackIdLaunch represents callback IDs for launch domain.
Callback IDs for resource domain CbDomainLaunch. This value is communicated to the callback function via the cbid parameter.
const ( CbidLaunchInvalid CallbackIdLaunch = 0 // Invalid launch callback ID. CbidLaunchBegin CallbackIdLaunch = 1 // A grid launch was initiated. CbidLaunchAfterSyscallSetup CallbackIdLaunch = 2 // A grid launch has completed syscalls setup. CbidLaunchEnd CallbackIdLaunch = 3 // The grid launch is complete. CbidLaunchSize CallbackIdLaunch = 4 CbidLaunchForceInt CallbackIdLaunch = 0x7fffffff )
func (CallbackIdLaunch) String ¶
func (e CallbackIdLaunch) String() string
String returns the constant name, or a numeric representation for unknown values.
type CallbackIdMemcpy ¶
type CallbackIdMemcpy int32
CallbackIdMemcpy represents callback IDs for memcpy domain.
Callback IDs for resource domain CbDomainMemcpy. This value is communicated to the callback function via the cbid parameter.
const ( CbidMemcpyInvalid CallbackIdMemcpy = 0 // Invalid memcpy callback ID. CbidMemcpyStarting CallbackIdMemcpy = 1 // A memcpy operation was initiated. CbidMemcpyBatchItemStarting CallbackIdMemcpy = 2 // A memcopy batch item operation was initiated. CbidMemcpyBatchItemEnd CallbackIdMemcpy = 3 // A memcopy batch item operation was finished. CbidMemcpyBatchMultiEntryPushBegin CallbackIdMemcpy = 4 // A memcopy batch multientry push has started CbidMemcpyBatchMultiEntryPushEnd CallbackIdMemcpy = 5 // A memcopy batch multientry push has finished CbidMemcpySize CallbackIdMemcpy = 6 CbidMemcpyForceInt CallbackIdMemcpy = 0x7fffffff )
func (CallbackIdMemcpy) String ¶
func (e CallbackIdMemcpy) String() string
String returns the constant name, or a numeric representation for unknown values.
type CallbackIdMemset ¶
type CallbackIdMemset int32
CallbackIdMemset represents callback IDs for memset domain.
Callback IDs for resource domain CbDomainMemset. This value is communicated to the callback function via the cbid parameter.
const ( CbidMemsetInvalid CallbackIdMemset = 0 // Invalid memset callback ID. CbidMemsetStarting CallbackIdMemset = 1 // A memset operation was initiated. CbidMemsetSize CallbackIdMemset = 2 CbidMemsetForceInt CallbackIdMemset = 0x7fffffff )
func (CallbackIdMemset) String ¶
func (e CallbackIdMemset) String() string
String returns the constant name, or a numeric representation for unknown values.
type CallbackIdResource ¶
type CallbackIdResource int32
CallbackIdResource represents callback IDs for resource domain.
Callback IDs for resource domain CbDomainResource. This value is communicated to the callback function via the cbid parameter.
const ( CbidResourceInvalid CallbackIdResource = 0 // Invalid resource callback ID. CbidResourceInitFinished CallbackIdResource = 1 // Driver initialization is finished. CbidResourceContextCreationStarting CallbackIdResource = 2 // A new context is about to be created. CbidResourceContextCreationFinished CallbackIdResource = 3 // A new context was created. CbidResourceContextDestroyStarting CallbackIdResource = 4 // A context is about to be destroyed. CbidResourceContextDestroyFinished CallbackIdResource = 5 // A context was destroyed. CbidResourceStreamCreated CallbackIdResource = 6 // A new stream was created. CbidResourceStreamDestroyStarting CallbackIdResource = 7 // A stream is about to be destroyed. CbidResourceStreamDestroyFinished CallbackIdResource = 8 // A stream was destroyed. CbidResourceModuleLoaded CallbackIdResource = 9 // A module was loaded. CbidResourceModuleUnloadStarting CallbackIdResource = 10 // A module is about to be unloaded. CbidResourceDeviceMemoryAlloc CallbackIdResource = 11 // Device memory was allocated. CbidResourceDeviceMemoryFree CallbackIdResource = 12 // Device memory was freed. CbidResourceHostMemoryAlloc CallbackIdResource = 13 // Pinned host memory was allocated. CbidResourceHostMemoryFree CallbackIdResource = 14 // Pinned host memory was freed. CbidResourceMemoryAllocAsync CallbackIdResource = 15 // Memory was allocated asynchronously. CbidResourceMemoryFreeAsync CallbackIdResource = 16 // Memory was freed asynchronously. CbidResourceMemoryFreeAsyncDone CallbackIdResource = 17 // Memory freed asynchronously was released, only happens if a regular allocation (cudaMalloc) is free'd asynchronously (cudaFreeAsync). See CUDA runtime documentation for cudaFreeAsync. CbidResourceMempoolCreated CallbackIdResource = 18 // A new mempool was created. CbidResourceMempoolDestroying CallbackIdResource = 19 // A mempool is about to be destroyed. CbidResourceMempoolPeerAccessEnabled CallbackIdResource = 20 // A mempool is now accessible from a peer device. CbidResourceMempoolPeerAccessDisabling CallbackIdResource = 21 // A mempool is no longer accessible from a peer device. CbidResourceArrayCreated CallbackIdResource = 22 // A CUDA array was created. CbidResourceArrayDestroyed CallbackIdResource = 23 // A CUDA array was destroyed. CbidResourceFunctionsLazyLoaded CallbackIdResource = 24 // CUDA functions were loaded lazily and are fully loaded. CbidResourceFunctionsLazyPatched CallbackIdResource = 25 // CUDA lazily loaded functions were patched. CbidResourceVirtualReserve CallbackIdResource = 26 // The CUDA driver reserved a virtual address range. CbidResourceVirtualRelease CallbackIdResource = 27 // The CUDA driver released a virtual address range. CbidResourceMempoolImportPointer CallbackIdResource = 28 // A memory pool allocation was imported. CbidResourceGreenContextCreationFinished CallbackIdResource = 29 // A new green context was created. CbidResourceGreenContextDestroyStarting CallbackIdResource = 30 // A green context is about to be destroyed. CbidResourceGreenContextDestroyFinished CallbackIdResource = 31 // A green context was destroyed. CbidResourceLogicalEndpointCreated CallbackIdResource = 32 // A logical endpoint was created. CbidResourceLogicalEndpointDestroyed CallbackIdResource = 33 // A logical endpoint was destroyed. CbidResourceSize CallbackIdResource = 34 CbidResourceForceInt CallbackIdResource = 0x7fffffff )
func (CallbackIdResource) String ¶
func (e CallbackIdResource) String() string
String returns the constant name, or a numeric representation for unknown values.
type CallbackIdSync ¶
type CallbackIdSync int32
CallbackIdSync represents callback IDs for synchronization domain.
Callback IDs for resource domain CbDomainSynchronize. This value is communicated to the callback function via the cbid parameter.
const ( CBIDSyncInvalid CallbackIdSync = 0 // Invalid synchronize callback ID. CBIDSyncStreamSynchronized CallbackIdSync = 1 // Stream synchronization has completed for a given stream. CBIDSyncContextSynchronized CallbackIdSync = 2 // Context synchronization has completed for a given context. CBIDSyncGreenContextSynchronized CallbackIdSync = 3 // Context synchronization has completed for a given green context. CBIDSyncSize CallbackIdSync = 4 CBIDSyncForceInt CallbackIdSync = 0x7fffffff )
func (CallbackIdSync) String ¶
func (e CallbackIdSync) String() string
String returns the constant name, or a numeric representation for unknown values.
type CallbackIdUvm ¶
type CallbackIdUvm int32
CallbackIdUvm represents callback IDs for managed memory domain.
Callback IDs for resource domain CbDomainUvm. This value is communicated to the callback function via the cbid parameter.
const ( CbidUvmInvalid CallbackIdUvm = 0 // Invalid managed memory callback ID. CbidUvmAttachMem CallbackIdUvm = 1 // Modify the stream association of an allocation (see cudaStreamAttachMemAsync) CbidUvmSize CallbackIdUvm = 2 CbidUvmForceItn CallbackIdUvm = 0x7fffffff )
func (CallbackIdUvm) String ¶
func (e CallbackIdUvm) String() string
String returns the constant name, or a numeric representation for unknown values.
type ClusterLaunchControlFlags ¶
type ClusterLaunchControlFlags int32
ClusterLaunchControlFlags represents flags describing clusterlaunchcontrol.
const ( ClusterLaunchControlFlagNone ClusterLaunchControlFlags = 0 // Empty flag. ClusterLaunchControlFlagMulticast ClusterLaunchControlFlags = 1 << 0 // The clusterlaunchcontrol operation multicasts the response to every CTA in the cluster. ClusterLaunchControlFlagForceInt ClusterLaunchControlFlags = 0x7fffffff )
func (ClusterLaunchControlFlags) String ¶
func (e ClusterLaunchControlFlags) String() string
String returns the constant name, or a numeric representation for unknown values.
type CudaBarrierFlags ¶
type CudaBarrierFlags int32
CudaBarrierFlags represents flags describing a CUDA Barrier action.
Flags describing a CUDA Barrier action. These values are to be or-combined in the value of \b flags for a SanitizerCallbackCudaBarrier or SanitizerCallbackCudaBarrierAttempt callback.
const ( CudaBarrierFlagNone CudaBarrierFlags = 0 // Empty flag. CudaBarrierFlagUniform CudaBarrierFlags = 0x1 // Set when the arrive operation is issued once for the whole warp rather than once per thread. All participating threads in the warp share the same \b barrier address. CudaBarrierFlagMulticast CudaBarrierFlags = 0x2 // Set when the arrive operation is a multicast variant. The multicast target mask is provided in \b multicastMask of the callback. CudaBarrierFlagUsePopCount CudaBarrierFlags = 0x4 // Specifies that data is a per-thread arrival count rather than a per-warp total. Can only be set when [CudaBarrierFlagUniform] is also set. CudaBarrierFlagForceInt CudaBarrierFlags = 0x7fffffff )
func (CudaBarrierFlags) String ¶
func (e CudaBarrierFlags) String() string
String returns the constant name, or a numeric representation for unknown values.
type CudaBarrierInstructionKind ¶
type CudaBarrierInstructionKind int32
CudaBarrierInstructionKind represents CUDA Barrier action kind.
Refer to the CUDA Barrier interface section of the CUDA toolkit documentation for a more extensive description of these actions. The \b data argument passed to SanitizerCallbackCudaBarrier and SanitizerCallbackCudaBarrierAttempt carries kind-specific information, as documented per-value below. Action kinds that do not document a use of \b data should treat its value as unspecified.
const ( CudaBarrierInvalid CudaBarrierInstructionKind = 0 // Invalid action ID. CudaBarrierInit CudaBarrierInstructionKind = 1 // Barrier initialization. CudaBarrierArrive CudaBarrierInstructionKind = 2 // Barrier arrive operation. On Hopper and newer architectures, Barrier data is the count argument to the arrive-on operation. CudaBarrierArriveDrop CudaBarrierInstructionKind = 3 // Barrier arrive and drop operation. On Hopper and newer architectures, Barrier data is the count argument to the arrive-on operation. CudaBarrierArriveNocomplete CudaBarrierInstructionKind = 4 // Barrier arrive operation without phase completion. Barrier data is the count argument to the arrive-on operation. CudaBarrierArriveDropNocomplete CudaBarrierInstructionKind = 5 // Barrier arrive and drop operation without phase completion. Barrier data is the count argument to the arrive-on operation. CudaBarrierWait CudaBarrierInstructionKind = 6 // Barrier wait operation. CudaBarrierInvalidate CudaBarrierInstructionKind = 7 // Barrier invalidation. CudaBarrierCpAsyncArrive CudaBarrierInstructionKind = 8 // Barrier arrive operation issued from cp.async.mbarrier.arrive. Barrier data is the count argument to the arrive-on operation. CudaBarrierCpAsyncArriveNoInc CudaBarrierInstructionKind = 9 // Barrier arrive operation issued from cp.async.mbarrier.arrive.noinc. Barrier data is the count argument to the arrive-on operation. CudaBarrierCompleteTx CudaBarrierInstructionKind = 10 // Barrier complete transaction operation. Barrier data is the transaction count argument to the arrive-on operation. CudaBarrierForceInt CudaBarrierInstructionKind = 0x7fffffff )
func (CudaBarrierInstructionKind) String ¶
func (e CudaBarrierInstructionKind) String() string
String returns the constant name, or a numeric representation for unknown values.
type DeviceMemoryFlags ¶
type DeviceMemoryFlags int32
DeviceMemoryFlags represents flags describing a memory access.
Flags describing a memory access. These values are to be or-combined in the value of \b flags for a SanitizerCallbackMemoryAccess callback.
const ( MemoryDeviceFlagNone DeviceMemoryFlags = 0 // Empty flag. MemoryDeviceFlagRead DeviceMemoryFlags = 1 << 0 // Specifies that the access is a read. MemoryDeviceFlagWrite DeviceMemoryFlags = 1 << 1 // Specifies that the access is a write. MemoryDeviceFlagAtomsys DeviceMemoryFlags = 1 << 2 // Specifies that the access is a system-scoped atomic. MemoryDeviceFlagPrefetch DeviceMemoryFlags = 1 << 3 // Specifies that the access is a cache prefetch. MemoryDeviceFlagScopeCta DeviceMemoryFlags = 1 << 4 // Specifies that the access is strong with CTA scope. MemoryDeviceFlagScopeSm DeviceMemoryFlags = 1 << 5 // Specifies that the access is strong with SM scope. MemoryDeviceFlagScopeGpu DeviceMemoryFlags = 1 << 6 // Specifies that the access is strong with GPU scope. MemoryDeviceFlagScopeSys DeviceMemoryFlags = 1 << 7 // Specifies that the access is strong with system scope. MemoryDeviceFlagAtomicWriteOnly DeviceMemoryFlags = 1 << 8 // Specifies that the access is atomic but it only writes the memory. MemoryDeviceFlagForceInt DeviceMemoryFlags = 0x7fffffff )
func (DeviceMemoryFlags) String ¶
func (e DeviceMemoryFlags) String() string
String returns the constant name, or a numeric representation for unknown values.
type Dim3 ¶
type Dim3 struct {
X, Y, Z uint32
}
Dim3 is an extent along X, Y and Z, such as the size of a grid in blocks or of a block in threads. It has the layout of three consecutive unsigned int members.
type DriverAPICBID ¶
type DriverAPICBID int32
DriverAPICBID specifies the driver apicbid (SANITIZER_CBID_DRIVER_API).
const ( DriverCBIDInvalid DriverAPICBID = 0 DriverCBIDCuInit DriverAPICBID = 1 DriverCBIDCuDriverGetVersion DriverAPICBID = 2 DriverCBIDCuDeviceGet DriverAPICBID = 3 DriverCBIDCuDeviceGetCount DriverAPICBID = 4 DriverCBIDCuDeviceGetName DriverAPICBID = 5 DriverCBIDCuDeviceComputeCapability DriverAPICBID = 6 DriverCBIDCuDeviceTotalMem DriverAPICBID = 7 DriverCBIDCuDeviceGetProperties DriverAPICBID = 8 DriverCBIDCuDeviceGetAttribute DriverAPICBID = 9 DriverCBIDCuCtxCreate DriverAPICBID = 10 DriverCBIDCuCtxDestroy DriverAPICBID = 11 DriverCBIDCuCtxAttach DriverAPICBID = 12 DriverCBIDCuCtxDetach DriverAPICBID = 13 DriverCBIDCuCtxPushCurrent DriverAPICBID = 14 DriverCBIDCuCtxPopCurrent DriverAPICBID = 15 DriverCBIDCuCtxGetDevice DriverAPICBID = 16 DriverCBIDCuCtxSynchronize DriverAPICBID = 17 DriverCBIDCuModuleLoad DriverAPICBID = 18 DriverCBIDCuModuleLoadData DriverAPICBID = 19 DriverCBIDCuModuleLoadDataEx DriverAPICBID = 20 DriverCBIDCuModuleLoadFatBinary DriverAPICBID = 21 DriverCBIDCuModuleUnload DriverAPICBID = 22 DriverCBIDCuModuleGetFunction DriverAPICBID = 23 DriverCBIDCuModuleGetGlobal DriverAPICBID = 24 DriverCBIDCu64ModuleGetGlobal DriverAPICBID = 25 DriverCBIDCuModuleGetTexRef DriverAPICBID = 26 DriverCBIDCuMemGetInfo DriverAPICBID = 27 DriverCBIDCu64MemGetInfo DriverAPICBID = 28 DriverCBIDCuMemAlloc DriverAPICBID = 29 DriverCBIDCu64MemAlloc DriverAPICBID = 30 DriverCBIDCuMemAllocPitch DriverAPICBID = 31 DriverCBIDCu64MemAllocPitch DriverAPICBID = 32 DriverCBIDCuMemFree DriverAPICBID = 33 DriverCBIDCu64MemFree DriverAPICBID = 34 DriverCBIDCuMemGetAddressRange DriverAPICBID = 35 DriverCBIDCu64MemGetAddressRange DriverAPICBID = 36 DriverCBIDCuMemAllocHost DriverAPICBID = 37 DriverCBIDCuMemFreeHost DriverAPICBID = 38 DriverCBIDCuMemHostAlloc DriverAPICBID = 39 DriverCBIDCuMemHostGetDevicePointer DriverAPICBID = 40 DriverCBIDCu64MemHostGetDevicePointer DriverAPICBID = 41 DriverCBIDCuMemHostGetFlags DriverAPICBID = 42 DriverCBIDCuMemcpyHtoD DriverAPICBID = 43 DriverCBIDCu64MemcpyHtoD DriverAPICBID = 44 DriverCBIDCuMemcpyDtoH DriverAPICBID = 45 DriverCBIDCu64MemcpyDtoH DriverAPICBID = 46 DriverCBIDCuMemcpyDtoD DriverAPICBID = 47 DriverCBIDCu64MemcpyDtoD DriverAPICBID = 48 DriverCBIDCuMemcpyDtoA DriverAPICBID = 49 DriverCBIDCu64MemcpyDtoA DriverAPICBID = 50 DriverCBIDCuMemcpyAtoD DriverAPICBID = 51 DriverCBIDCu64MemcpyAtoD DriverAPICBID = 52 DriverCBIDCuMemcpyHtoA DriverAPICBID = 53 DriverCBIDCuMemcpyAtoH DriverAPICBID = 54 DriverCBIDCuMemcpyAtoA DriverAPICBID = 55 DriverCBIDCuMemcpy2D DriverAPICBID = 56 DriverCBIDCuMemcpy2DUnaligned DriverAPICBID = 57 DriverCBIDCuMemcpy3D DriverAPICBID = 58 DriverCBIDCu64Memcpy3D DriverAPICBID = 59 DriverCBIDCuMemcpyHtoDAsync DriverAPICBID = 60 DriverCBIDCu64MemcpyHtoDAsync DriverAPICBID = 61 DriverCBIDCuMemcpyDtoHAsync DriverAPICBID = 62 DriverCBIDCu64MemcpyDtoHAsync DriverAPICBID = 63 DriverCBIDCuMemcpyDtoDAsync DriverAPICBID = 64 DriverCBIDCu64MemcpyDtoDAsync DriverAPICBID = 65 DriverCBIDCuMemcpyHtoAAsync DriverAPICBID = 66 DriverCBIDCuMemcpyAtoHAsync DriverAPICBID = 67 DriverCBIDCuMemcpy2DAsync DriverAPICBID = 68 DriverCBIDCuMemcpy3DAsync DriverAPICBID = 69 DriverCBIDCu64Memcpy3DAsync DriverAPICBID = 70 DriverCBIDCuMemsetD8 DriverAPICBID = 71 DriverCBIDCu64MemsetD8 DriverAPICBID = 72 DriverCBIDCuMemsetD16 DriverAPICBID = 73 DriverCBIDCu64MemsetD16 DriverAPICBID = 74 DriverCBIDCuMemsetD32 DriverAPICBID = 75 DriverCBIDCu64MemsetD32 DriverAPICBID = 76 DriverCBIDCuMemsetD2D8 DriverAPICBID = 77 DriverCBIDCu64MemsetD2D8 DriverAPICBID = 78 DriverCBIDCuMemsetD2D16 DriverAPICBID = 79 DriverCBIDCu64MemsetD2D16 DriverAPICBID = 80 DriverCBIDCuMemsetD2D32 DriverAPICBID = 81 DriverCBIDCu64MemsetD2D32 DriverAPICBID = 82 DriverCBIDCuFuncSetBlockShape DriverAPICBID = 83 DriverCBIDCuFuncGetAttribute DriverAPICBID = 85 DriverCBIDCuFuncSetCacheConfig DriverAPICBID = 86 DriverCBIDCuArrayCreate DriverAPICBID = 87 DriverCBIDCuArrayGetDescriptor DriverAPICBID = 88 DriverCBIDCuArrayDestroy DriverAPICBID = 89 DriverCBIDCuArray3DCreate DriverAPICBID = 90 DriverCBIDCuArray3DGetDescriptor DriverAPICBID = 91 DriverCBIDCuTexRefCreate DriverAPICBID = 92 DriverCBIDCuTexRefDestroy DriverAPICBID = 93 DriverCBIDCuTexRefSetArray DriverAPICBID = 94 DriverCBIDCuTexRefSetAddress DriverAPICBID = 95 DriverCBIDCu64TexRefSetAddress DriverAPICBID = 96 DriverCBIDCuTexRefSetAddress2D DriverAPICBID = 97 DriverCBIDCu64TexRefSetAddress2D DriverAPICBID = 98 DriverCBIDCuTexRefSetFormat DriverAPICBID = 99 DriverCBIDCuTexRefSetAddressMode DriverAPICBID = 100 DriverCBIDCuTexRefSetFilterMode DriverAPICBID = 101 DriverCBIDCuTexRefSetFlags DriverAPICBID = 102 DriverCBIDCuTexRefGetAddress DriverAPICBID = 103 DriverCBIDCu64TexRefGetAddress DriverAPICBID = 104 DriverCBIDCuTexRefGetArray DriverAPICBID = 105 DriverCBIDCuTexRefGetAddressMode DriverAPICBID = 106 DriverCBIDCuTexRefGetFilterMode DriverAPICBID = 107 DriverCBIDCuTexRefGetFormat DriverAPICBID = 108 DriverCBIDCuTexRefGetFlags DriverAPICBID = 109 DriverCBIDCuParamSetSize DriverAPICBID = 110 DriverCBIDCuParamSeti DriverAPICBID = 111 DriverCBIDCuParamSetf DriverAPICBID = 112 DriverCBIDCuParamSetv DriverAPICBID = 113 DriverCBIDCuParamSetTexRef DriverAPICBID = 114 DriverCBIDCuLaunch DriverAPICBID = 115 DriverCBIDCuLaunchGrid DriverAPICBID = 116 DriverCBIDCuLaunchGridAsync DriverAPICBID = 117 DriverCBIDCuEventCreate DriverAPICBID = 118 DriverCBIDCuEventRecord DriverAPICBID = 119 DriverCBIDCuEventQuery DriverAPICBID = 120 DriverCBIDCuEventSynchronize DriverAPICBID = 121 DriverCBIDCuEventDestroy DriverAPICBID = 122 DriverCBIDCuEventElapsedTime DriverAPICBID = 123 DriverCBIDCuStreamCreate DriverAPICBID = 124 DriverCBIDCuStreamQuery DriverAPICBID = 125 DriverCBIDCuStreamSynchronize DriverAPICBID = 126 DriverCBIDCuStreamDestroy DriverAPICBID = 127 DriverCBIDCuGraphicsUnregisterResource DriverAPICBID = 128 DriverCBIDCuGraphicsSubResourceGetMappedArray DriverAPICBID = 129 DriverCBIDCuGraphicsResourceGetMappedPointer DriverAPICBID = 130 DriverCBIDCu64GraphicsResourceGetMappedPointer DriverAPICBID = 131 DriverCBIDCuGraphicsResourceSetMapFlags DriverAPICBID = 132 DriverCBIDCuGraphicsMapResources DriverAPICBID = 133 DriverCBIDCuGraphicsUnmapResources DriverAPICBID = 134 DriverCBIDCuGetExportTable DriverAPICBID = 135 DriverCBIDCuCtxSetLimit DriverAPICBID = 136 DriverCBIDCuCtxGetLimit DriverAPICBID = 137 DriverCBIDCuD3D10GetDevice DriverAPICBID = 138 DriverCBIDCuD3D10CtxCreate DriverAPICBID = 139 DriverCBIDCuGraphicsD3D10RegisterResource DriverAPICBID = 140 DriverCBIDCuD3D10RegisterResource DriverAPICBID = 141 DriverCBIDCuD3D10UnregisterResource DriverAPICBID = 142 DriverCBIDCuD3D10MapResources DriverAPICBID = 143 DriverCBIDCuD3D10UnmapResources DriverAPICBID = 144 DriverCBIDCuD3D10ResourceSetMapFlags DriverAPICBID = 145 DriverCBIDCuD3D10ResourceGetMappedArray DriverAPICBID = 146 DriverCBIDCuD3D10ResourceGetMappedPointer DriverAPICBID = 147 DriverCBIDCuD3D10ResourceGetMappedSize DriverAPICBID = 148 DriverCBIDCuD3D10ResourceGetMappedPitch DriverAPICBID = 149 DriverCBIDCuD3D10ResourceGetSurfaceDimensions DriverAPICBID = 150 DriverCBIDCuD3D11GetDevice DriverAPICBID = 151 DriverCBIDCuD3D11CtxCreate DriverAPICBID = 152 DriverCBIDCuGraphicsD3D11RegisterResource DriverAPICBID = 153 DriverCBIDCuD3D9GetDevice DriverAPICBID = 154 DriverCBIDCuD3D9CtxCreate DriverAPICBID = 155 DriverCBIDCuGraphicsD3D9RegisterResource DriverAPICBID = 156 DriverCBIDCuD3D9GetDirect3DDevice DriverAPICBID = 157 DriverCBIDCuD3D9RegisterResource DriverAPICBID = 158 DriverCBIDCuD3D9UnregisterResource DriverAPICBID = 159 DriverCBIDCuD3D9MapResources DriverAPICBID = 160 DriverCBIDCuD3D9UnmapResources DriverAPICBID = 161 DriverCBIDCuD3D9ResourceSetMapFlags DriverAPICBID = 162 DriverCBIDCuD3D9ResourceGetSurfaceDimensions DriverAPICBID = 163 DriverCBIDCuD3D9ResourceGetMappedArray DriverAPICBID = 164 DriverCBIDCuD3D9ResourceGetMappedPointer DriverAPICBID = 165 DriverCBIDCuD3D9ResourceGetMappedSize DriverAPICBID = 166 DriverCBIDCuD3D9ResourceGetMappedPitch DriverAPICBID = 167 DriverCBIDCuD3D9Begin DriverAPICBID = 168 DriverCBIDCuD3D9End DriverAPICBID = 169 DriverCBIDCuD3D9RegisterVertexBuffer DriverAPICBID = 170 DriverCBIDCuD3D9MapVertexBuffer DriverAPICBID = 171 DriverCBIDCuD3D9UnmapVertexBuffer DriverAPICBID = 172 DriverCBIDCuD3D9UnregisterVertexBuffer DriverAPICBID = 173 DriverCBIDCuGLCtxCreate DriverAPICBID = 174 DriverCBIDCuGraphicsGLRegisterBuffer DriverAPICBID = 175 DriverCBIDCuGraphicsGLRegisterImage DriverAPICBID = 176 DriverCBIDCuWGLGetDevice DriverAPICBID = 177 DriverCBIDCuGLInit DriverAPICBID = 178 DriverCBIDCuGLRegisterBufferObject DriverAPICBID = 179 DriverCBIDCuGLMapBufferObject DriverAPICBID = 180 DriverCBIDCuGLUnmapBufferObject DriverAPICBID = 181 DriverCBIDCuGLUnregisterBufferObject DriverAPICBID = 182 DriverCBIDCuGLSetBufferObjectMapFlags DriverAPICBID = 183 DriverCBIDCuGLMapBufferObjectAsync DriverAPICBID = 184 DriverCBIDCuGLUnmapBufferObjectAsync DriverAPICBID = 185 DriverCBIDCuVDPAUGetDevice DriverAPICBID = 186 DriverCBIDCuVDPAUCtxCreate DriverAPICBID = 187 DriverCBIDCuGraphicsVDPAURegisterVideoSurface DriverAPICBID = 188 DriverCBIDCuGraphicsVDPAURegisterOutputSurface DriverAPICBID = 189 DriverCBIDCuModuleGetSurfRef DriverAPICBID = 190 DriverCBIDCuSurfRefCreate DriverAPICBID = 191 DriverCBIDCuSurfRefDestroy DriverAPICBID = 192 DriverCBIDCuSurfRefSetFormat DriverAPICBID = 193 DriverCBIDCuSurfRefSetArray DriverAPICBID = 194 DriverCBIDCuSurfRefGetFormat DriverAPICBID = 195 DriverCBIDCuSurfRefGetArray DriverAPICBID = 196 DriverCBIDCu64DeviceTotalMem DriverAPICBID = 197 DriverCBIDCu64D3D10ResourceGetMappedPointer DriverAPICBID = 198 DriverCBIDCu64D3D10ResourceGetMappedSize DriverAPICBID = 199 DriverCBIDCu64D3D10ResourceGetMappedPitch DriverAPICBID = 200 DriverCBIDCu64D3D10ResourceGetSurfaceDimensions DriverAPICBID = 201 DriverCBIDCu64D3D9ResourceGetSurfaceDimensions DriverAPICBID = 202 DriverCBIDCu64D3D9ResourceGetMappedPointer DriverAPICBID = 203 DriverCBIDCu64D3D9ResourceGetMappedSize DriverAPICBID = 204 DriverCBIDCu64D3D9ResourceGetMappedPitch DriverAPICBID = 205 DriverCBIDCu64D3D9MapVertexBuffer DriverAPICBID = 206 DriverCBIDCu64GLMapBufferObject DriverAPICBID = 207 DriverCBIDCu64GLMapBufferObjectAsync DriverAPICBID = 208 DriverCBIDCuD3D11GetDevices DriverAPICBID = 209 DriverCBIDCuD3D11CtxCreateOnDevice DriverAPICBID = 210 DriverCBIDCuD3D10GetDevices DriverAPICBID = 211 DriverCBIDCuD3D10CtxCreateOnDevice DriverAPICBID = 212 DriverCBIDCuD3D9GetDevices DriverAPICBID = 213 DriverCBIDCuD3D9CtxCreateOnDevice DriverAPICBID = 214 DriverCBIDCu64MemHostAlloc DriverAPICBID = 215 DriverCBIDCuMemsetD8Async DriverAPICBID = 216 DriverCBIDCu64MemsetD8Async DriverAPICBID = 217 DriverCBIDCuMemsetD16Async DriverAPICBID = 218 DriverCBIDCu64MemsetD16Async DriverAPICBID = 219 DriverCBIDCuMemsetD32Async DriverAPICBID = 220 DriverCBIDCu64MemsetD32Async DriverAPICBID = 221 DriverCBIDCuMemsetD2D8Async DriverAPICBID = 222 DriverCBIDCu64MemsetD2D8Async DriverAPICBID = 223 DriverCBIDCuMemsetD2D16Async DriverAPICBID = 224 DriverCBIDCu64MemsetD2D16Async DriverAPICBID = 225 DriverCBIDCuMemsetD2D32Async DriverAPICBID = 226 DriverCBIDCu64MemsetD2D32Async DriverAPICBID = 227 DriverCBIDCu64ArrayCreate DriverAPICBID = 228 DriverCBIDCu64ArrayGetDescriptor DriverAPICBID = 229 DriverCBIDCu64Array3DCreate DriverAPICBID = 230 DriverCBIDCu64Array3DGetDescriptor DriverAPICBID = 231 DriverCBIDCu64Memcpy2D DriverAPICBID = 232 DriverCBIDCu64Memcpy2DUnaligned DriverAPICBID = 233 DriverCBIDCu64Memcpy2DAsync DriverAPICBID = 234 DriverCBIDCuCtxCreateV2 DriverAPICBID = 235 DriverCBIDCuD3D10CtxCreateV2 DriverAPICBID = 236 DriverCBIDCuD3D11CtxCreateV2 DriverAPICBID = 237 DriverCBIDCuD3D9CtxCreateV2 DriverAPICBID = 238 DriverCBIDCuGLCtxCreateV2 DriverAPICBID = 239 DriverCBIDCuVDPAUCtxCreateV2 DriverAPICBID = 240 DriverCBIDCuModuleGetGlobalV2 DriverAPICBID = 241 DriverCBIDCuMemGetInfoV2 DriverAPICBID = 242 DriverCBIDCuMemAllocV2 DriverAPICBID = 243 DriverCBIDCuMemAllocPitchV2 DriverAPICBID = 244 DriverCBIDCuMemFreeV2 DriverAPICBID = 245 DriverCBIDCuMemGetAddressRangeV2 DriverAPICBID = 246 DriverCBIDCuMemHostGetDevicePointerV2 DriverAPICBID = 247 DriverCBIDCuMemcpyV2 DriverAPICBID = 248 DriverCBIDCuMemsetD8V2 DriverAPICBID = 249 DriverCBIDCuMemsetD16V2 DriverAPICBID = 250 DriverCBIDCuMemsetD32V2 DriverAPICBID = 251 DriverCBIDCuMemsetD2D8V2 DriverAPICBID = 252 DriverCBIDCuMemsetD2D16V2 DriverAPICBID = 253 DriverCBIDCuMemsetD2D32V2 DriverAPICBID = 254 DriverCBIDCuTexRefSetAddressV2 DriverAPICBID = 255 DriverCBIDCuTexRefSetAddress2DV2 DriverAPICBID = 256 DriverCBIDCuTexRefGetAddressV2 DriverAPICBID = 257 DriverCBIDCuGraphicsResourceGetMappedPointerV2 DriverAPICBID = 258 DriverCBIDCuDeviceTotalMemV2 DriverAPICBID = 259 DriverCBIDCuD3D10ResourceGetMappedPointerV2 DriverAPICBID = 260 DriverCBIDCuD3D10ResourceGetMappedSizeV2 DriverAPICBID = 261 DriverCBIDCuD3D10ResourceGetMappedPitchV2 DriverAPICBID = 262 DriverCBIDCuD3D10ResourceGetSurfaceDimensionsV2 DriverAPICBID = 263 DriverCBIDCuD3D9ResourceGetSurfaceDimensionsV2 DriverAPICBID = 264 DriverCBIDCuD3D9ResourceGetMappedPointerV2 DriverAPICBID = 265 DriverCBIDCuD3D9ResourceGetMappedSizeV2 DriverAPICBID = 266 DriverCBIDCuD3D9ResourceGetMappedPitchV2 DriverAPICBID = 267 DriverCBIDCuD3D9MapVertexBufferV2 DriverAPICBID = 268 DriverCBIDCuGLMapBufferObjectV2 DriverAPICBID = 269 DriverCBIDCuGLMapBufferObjectAsyncV2 DriverAPICBID = 270 DriverCBIDCuMemHostAllocV2 DriverAPICBID = 271 DriverCBIDCuArrayCreateV2 DriverAPICBID = 272 DriverCBIDCuArrayGetDescriptorV2 DriverAPICBID = 273 DriverCBIDCuArray3DCreateV2 DriverAPICBID = 274 DriverCBIDCuArray3DGetDescriptorV2 DriverAPICBID = 275 DriverCBIDCuMemcpyHtoDV2 DriverAPICBID = 276 DriverCBIDCuMemcpyHtoDAsyncV2 DriverAPICBID = 277 DriverCBIDCuMemcpyDtoHV2 DriverAPICBID = 278 DriverCBIDCuMemcpyDtoHAsyncV2 DriverAPICBID = 279 DriverCBIDCuMemcpyDtoDV2 DriverAPICBID = 280 DriverCBIDCuMemcpyDtoDAsyncV2 DriverAPICBID = 281 DriverCBIDCuMemcpyAtoHV2 DriverAPICBID = 282 DriverCBIDCuMemcpyAtoHAsyncV2 DriverAPICBID = 283 DriverCBIDCuMemcpyAtoDV2 DriverAPICBID = 284 DriverCBIDCuMemcpyDtoAV2 DriverAPICBID = 285 DriverCBIDCuMemcpyAtoAV2 DriverAPICBID = 286 DriverCBIDCuMemcpy2DV2 DriverAPICBID = 287 DriverCBIDCuMemcpy2DUnalignedV2 DriverAPICBID = 288 DriverCBIDCuMemcpy2DAsyncV2 DriverAPICBID = 289 DriverCBIDCuMemcpy3DV2 DriverAPICBID = 290 DriverCBIDCuMemcpy3DAsyncV2 DriverAPICBID = 291 DriverCBIDCuMemcpyHtoAV2 DriverAPICBID = 292 DriverCBIDCuMemcpyHtoAAsyncV2 DriverAPICBID = 293 DriverCBIDCuMemAllocHostV2 DriverAPICBID = 294 DriverCBIDCuStreamWaitEvent DriverAPICBID = 295 DriverCBIDCuCtxGetApiVersion DriverAPICBID = 296 DriverCBIDCuD3D10GetDirect3DDevice DriverAPICBID = 297 DriverCBIDCuD3D11GetDirect3DDevice DriverAPICBID = 298 DriverCBIDCuCtxGetCacheConfig DriverAPICBID = 299 DriverCBIDCuCtxSetCacheConfig DriverAPICBID = 300 DriverCBIDCuMemHostRegister DriverAPICBID = 301 DriverCBIDCuMemHostUnregister DriverAPICBID = 302 DriverCBIDCuCtxSetCurrent DriverAPICBID = 303 DriverCBIDCuCtxGetCurrent DriverAPICBID = 304 DriverCBIDCuMemcpy DriverAPICBID = 305 DriverCBIDCuMemcpyAsync DriverAPICBID = 306 DriverCBIDCuLaunchKernel DriverAPICBID = 307 DriverCBIDCuProfilerStart DriverAPICBID = 308 DriverCBIDCuProfilerStop DriverAPICBID = 309 DriverCBIDCuPointerGetAttribute DriverAPICBID = 310 DriverCBIDCuProfilerInitialize DriverAPICBID = 311 DriverCBIDCuDeviceCanAccessPeer DriverAPICBID = 312 DriverCBIDCuCtxEnablePeerAccess DriverAPICBID = 313 DriverCBIDCuCtxDisablePeerAccess DriverAPICBID = 314 DriverCBIDCuMemPeerRegister DriverAPICBID = 315 DriverCBIDCuMemPeerUnregister DriverAPICBID = 316 DriverCBIDCuMemPeerGetDevicePointer DriverAPICBID = 317 DriverCBIDCuMemcpyPeer DriverAPICBID = 318 DriverCBIDCuMemcpyPeerAsync DriverAPICBID = 319 DriverCBIDCuMemcpy3DPeer DriverAPICBID = 320 DriverCBIDCuMemcpy3DPeerAsync DriverAPICBID = 321 DriverCBIDCuCtxDestroyV2 DriverAPICBID = 322 DriverCBIDCuCtxPushCurrentV2 DriverAPICBID = 323 DriverCBIDCuCtxPopCurrentV2 DriverAPICBID = 324 DriverCBIDCuEventDestroyV2 DriverAPICBID = 325 DriverCBIDCuStreamDestroyV2 DriverAPICBID = 326 DriverCBIDCuTexRefSetAddress2DV3 DriverAPICBID = 327 DriverCBIDCuIpcGetMemHandle DriverAPICBID = 328 DriverCBIDCuIpcOpenMemHandle DriverAPICBID = 329 DriverCBIDCuIpcCloseMemHandle DriverAPICBID = 330 DriverCBIDCuDeviceGetByPCIBusId DriverAPICBID = 331 DriverCBIDCuDeviceGetPCIBusId DriverAPICBID = 332 DriverCBIDCuGLGetDevices DriverAPICBID = 333 DriverCBIDCuIpcGetEventHandle DriverAPICBID = 334 DriverCBIDCuIpcOpenEventHandle DriverAPICBID = 335 DriverCBIDCuTexObjectCreate DriverAPICBID = 339 DriverCBIDCuTexObjectDestroy DriverAPICBID = 340 DriverCBIDCuTexObjectGetResourceDesc DriverAPICBID = 341 DriverCBIDCuTexObjectGetTextureDesc DriverAPICBID = 342 DriverCBIDCuSurfObjectCreate DriverAPICBID = 343 DriverCBIDCuSurfObjectDestroy DriverAPICBID = 344 DriverCBIDCuSurfObjectGetResourceDesc DriverAPICBID = 345 DriverCBIDCuStreamAddCallback DriverAPICBID = 346 DriverCBIDCuMipmappedArrayCreate DriverAPICBID = 347 DriverCBIDCuMipmappedArrayGetLevel DriverAPICBID = 348 DriverCBIDCuMipmappedArrayDestroy DriverAPICBID = 349 DriverCBIDCuTexRefSetMipmappedArray DriverAPICBID = 350 DriverCBIDCuTexRefSetMipmapFilterMode DriverAPICBID = 351 DriverCBIDCuTexRefSetMipmapLevelBias DriverAPICBID = 352 DriverCBIDCuTexRefSetMipmapLevelClamp DriverAPICBID = 353 DriverCBIDCuTexRefSetMaxAnisotropy DriverAPICBID = 354 DriverCBIDCuTexRefGetMipmappedArray DriverAPICBID = 355 DriverCBIDCuTexRefGetMipmapFilterMode DriverAPICBID = 356 DriverCBIDCuTexRefGetMipmapLevelBias DriverAPICBID = 357 DriverCBIDCuTexRefGetMipmapLevelClamp DriverAPICBID = 358 DriverCBIDCuTexRefGetMaxAnisotropy DriverAPICBID = 359 DriverCBIDCuGraphicsResourceGetMappedMipmappedArray DriverAPICBID = 360 DriverCBIDCuTexObjectGetResourceViewDesc DriverAPICBID = 361 DriverCBIDCuLinkCreate DriverAPICBID = 362 DriverCBIDCuLinkAddData DriverAPICBID = 363 DriverCBIDCuLinkAddFile DriverAPICBID = 364 DriverCBIDCuLinkComplete DriverAPICBID = 365 DriverCBIDCuLinkDestroy DriverAPICBID = 366 DriverCBIDCuStreamCreateWithPriority DriverAPICBID = 367 DriverCBIDCuStreamGetPriority DriverAPICBID = 368 DriverCBIDCuStreamGetFlags DriverAPICBID = 369 DriverCBIDCuCtxGetStreamPriorityRange DriverAPICBID = 370 DriverCBIDCuMemAllocManaged DriverAPICBID = 371 DriverCBIDCuGetErrorString DriverAPICBID = 372 DriverCBIDCuGetErrorName DriverAPICBID = 373 DriverCBIDCuOccupancyMaxActiveBlocksPerMultiprocessor DriverAPICBID = 374 DriverCBIDCuCompilePtx DriverAPICBID = 375 DriverCBIDCuBinaryFree DriverAPICBID = 376 DriverCBIDCuStreamAttachMemAsync DriverAPICBID = 377 DriverCBIDCuPointerSetAttribute DriverAPICBID = 378 DriverCBIDCuMemHostRegisterV2 DriverAPICBID = 379 DriverCBIDCuGraphicsResourceSetMapFlagsV2 DriverAPICBID = 380 DriverCBIDCuLinkCreateV2 DriverAPICBID = 381 DriverCBIDCuLinkAddDataV2 DriverAPICBID = 382 DriverCBIDCuLinkAddFileV2 DriverAPICBID = 383 DriverCBIDCuOccupancyMaxPotentialBlockSize DriverAPICBID = 384 DriverCBIDCuGLGetDevicesV2 DriverAPICBID = 385 DriverCBIDCuDevicePrimaryCtxRetain DriverAPICBID = 386 DriverCBIDCuDevicePrimaryCtxRelease DriverAPICBID = 387 DriverCBIDCuDevicePrimaryCtxSetFlags DriverAPICBID = 388 DriverCBIDCuDevicePrimaryCtxReset DriverAPICBID = 389 DriverCBIDCuGraphicsEGLRegisterImage DriverAPICBID = 390 DriverCBIDCuCtxGetFlags DriverAPICBID = 391 DriverCBIDCuDevicePrimaryCtxGetState DriverAPICBID = 392 DriverCBIDCuEGLStreamConsumerConnect DriverAPICBID = 393 DriverCBIDCuEGLStreamConsumerDisconnect DriverAPICBID = 394 DriverCBIDCuEGLStreamConsumerAcquireFrame DriverAPICBID = 395 DriverCBIDCuEGLStreamConsumerReleaseFrame DriverAPICBID = 396 DriverCBIDCuMemcpyHtoDV2Ptds DriverAPICBID = 397 DriverCBIDCuMemcpyDtoHV2Ptds DriverAPICBID = 398 DriverCBIDCuMemcpyDtoDV2Ptds DriverAPICBID = 399 DriverCBIDCuMemcpyDtoAV2Ptds DriverAPICBID = 400 DriverCBIDCuMemcpyAtoDV2Ptds DriverAPICBID = 401 DriverCBIDCuMemcpyHtoAV2Ptds DriverAPICBID = 402 DriverCBIDCuMemcpyAtoHV2Ptds DriverAPICBID = 403 DriverCBIDCuMemcpyAtoAV2Ptds DriverAPICBID = 404 DriverCBIDCuMemcpy2DV2Ptds DriverAPICBID = 405 DriverCBIDCuMemcpy2DUnalignedV2Ptds DriverAPICBID = 406 DriverCBIDCuMemcpy3DV2Ptds DriverAPICBID = 407 DriverCBIDCuMemcpyPtds DriverAPICBID = 408 DriverCBIDCuMemcpyPeerPtds DriverAPICBID = 409 DriverCBIDCuMemcpy3DPeerPtds DriverAPICBID = 410 DriverCBIDCuMemsetD8V2Ptds DriverAPICBID = 411 DriverCBIDCuMemsetD16V2Ptds DriverAPICBID = 412 DriverCBIDCuMemsetD32V2Ptds DriverAPICBID = 413 DriverCBIDCuMemsetD2D8V2Ptds DriverAPICBID = 414 DriverCBIDCuMemsetD2D16V2Ptds DriverAPICBID = 415 DriverCBIDCuMemsetD2D32V2Ptds DriverAPICBID = 416 DriverCBIDCuGLMapBufferObjectV2Ptds DriverAPICBID = 417 DriverCBIDCuMemcpyAsyncPtsz DriverAPICBID = 418 DriverCBIDCuMemcpyHtoAAsyncV2Ptsz DriverAPICBID = 419 DriverCBIDCuMemcpyAtoHAsyncV2Ptsz DriverAPICBID = 420 DriverCBIDCuMemcpyHtoDAsyncV2Ptsz DriverAPICBID = 421 DriverCBIDCuMemcpyDtoHAsyncV2Ptsz DriverAPICBID = 422 DriverCBIDCuMemcpyDtoDAsyncV2Ptsz DriverAPICBID = 423 DriverCBIDCuMemcpy2DAsyncV2Ptsz DriverAPICBID = 424 DriverCBIDCuMemcpy3DAsyncV2Ptsz DriverAPICBID = 425 DriverCBIDCuMemcpyPeerAsyncPtsz DriverAPICBID = 426 DriverCBIDCuMemcpy3DPeerAsyncPtsz DriverAPICBID = 427 DriverCBIDCuMemsetD8AsyncPtsz DriverAPICBID = 428 DriverCBIDCuMemsetD16AsyncPtsz DriverAPICBID = 429 DriverCBIDCuMemsetD32AsyncPtsz DriverAPICBID = 430 DriverCBIDCuMemsetD2D8AsyncPtsz DriverAPICBID = 431 DriverCBIDCuMemsetD2D16AsyncPtsz DriverAPICBID = 432 DriverCBIDCuMemsetD2D32AsyncPtsz DriverAPICBID = 433 DriverCBIDCuStreamGetPriorityPtsz DriverAPICBID = 434 DriverCBIDCuStreamGetFlagsPtsz DriverAPICBID = 435 DriverCBIDCuStreamWaitEventPtsz DriverAPICBID = 436 DriverCBIDCuStreamAddCallbackPtsz DriverAPICBID = 437 DriverCBIDCuStreamAttachMemAsyncPtsz DriverAPICBID = 438 DriverCBIDCuStreamQueryPtsz DriverAPICBID = 439 DriverCBIDCuStreamSynchronizePtsz DriverAPICBID = 440 DriverCBIDCuEventRecordPtsz DriverAPICBID = 441 DriverCBIDCuLaunchKernelPtsz DriverAPICBID = 442 DriverCBIDCuGraphicsMapResourcesPtsz DriverAPICBID = 443 DriverCBIDCuGraphicsUnmapResourcesPtsz DriverAPICBID = 444 DriverCBIDCuGLMapBufferObjectAsyncV2Ptsz DriverAPICBID = 445 DriverCBIDCuEGLStreamProducerConnect DriverAPICBID = 446 DriverCBIDCuEGLStreamProducerDisconnect DriverAPICBID = 447 DriverCBIDCuEGLStreamProducerPresentFrame DriverAPICBID = 448 DriverCBIDCuGraphicsResourceGetMappedEglFrame DriverAPICBID = 449 DriverCBIDCuPointerGetAttributes DriverAPICBID = 450 DriverCBIDCuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags DriverAPICBID = 451 DriverCBIDCuOccupancyMaxPotentialBlockSizeWithFlags DriverAPICBID = 452 DriverCBIDCuEGLStreamProducerReturnFrame DriverAPICBID = 453 DriverCBIDCuDeviceGetP2PAttribute DriverAPICBID = 454 DriverCBIDCuTexRefSetBorderColor DriverAPICBID = 455 DriverCBIDCuTexRefGetBorderColor DriverAPICBID = 456 DriverCBIDCuMemAdvise DriverAPICBID = 457 DriverCBIDCuStreamWaitValue32 DriverAPICBID = 458 DriverCBIDCuStreamWaitValue32Ptsz DriverAPICBID = 459 DriverCBIDCuStreamWriteValue32 DriverAPICBID = 460 DriverCBIDCuStreamWriteValue32Ptsz DriverAPICBID = 461 DriverCBIDCuStreamBatchMemOp DriverAPICBID = 462 DriverCBIDCuStreamBatchMemOpPtsz DriverAPICBID = 463 DriverCBIDCuNVNbufferGetPointer DriverAPICBID = 464 DriverCBIDCuNVNtextureGetArray DriverAPICBID = 465 DriverCBIDCuNNSetAllocator DriverAPICBID = 466 DriverCBIDCuMemPrefetchAsync DriverAPICBID = 467 DriverCBIDCuMemPrefetchAsyncPtsz DriverAPICBID = 468 DriverCBIDCuEventCreateFromNVNSync DriverAPICBID = 469 DriverCBIDCuEGLStreamConsumerConnectWithFlags DriverAPICBID = 470 DriverCBIDCuMemRangeGetAttribute DriverAPICBID = 471 DriverCBIDCuMemRangeGetAttributes DriverAPICBID = 472 DriverCBIDCuStreamWaitValue64 DriverAPICBID = 473 DriverCBIDCuStreamWaitValue64Ptsz DriverAPICBID = 474 DriverCBIDCuStreamWriteValue64 DriverAPICBID = 475 DriverCBIDCuStreamWriteValue64Ptsz DriverAPICBID = 476 DriverCBIDCuLaunchCooperativeKernel DriverAPICBID = 477 DriverCBIDCuLaunchCooperativeKernelPtsz DriverAPICBID = 478 DriverCBIDCuEventCreateFromEGLSync DriverAPICBID = 479 DriverCBIDCuLaunchCooperativeKernelMultiDevice DriverAPICBID = 480 DriverCBIDCuFuncSetAttribute DriverAPICBID = 481 DriverCBIDCuDeviceGetUuid DriverAPICBID = 482 DriverCBIDCuStreamGetCtx DriverAPICBID = 483 DriverCBIDCuStreamGetCtxPtsz DriverAPICBID = 484 DriverCBIDCuImportExternalMemory DriverAPICBID = 485 DriverCBIDCuExternalMemoryGetMappedBuffer DriverAPICBID = 486 DriverCBIDCuExternalMemoryGetMappedMipmappedArray DriverAPICBID = 487 DriverCBIDCuDestroyExternalMemory DriverAPICBID = 488 DriverCBIDCuImportExternalSemaphore DriverAPICBID = 489 DriverCBIDCuSignalExternalSemaphoresAsync DriverAPICBID = 490 DriverCBIDCuSignalExternalSemaphoresAsyncPtsz DriverAPICBID = 491 DriverCBIDCuWaitExternalSemaphoresAsync DriverAPICBID = 492 DriverCBIDCuWaitExternalSemaphoresAsyncPtsz DriverAPICBID = 493 DriverCBIDCuDestroyExternalSemaphore DriverAPICBID = 494 DriverCBIDCuStreamBeginCapture DriverAPICBID = 495 DriverCBIDCuStreamBeginCapturePtsz DriverAPICBID = 496 DriverCBIDCuStreamEndCapture DriverAPICBID = 497 DriverCBIDCuStreamEndCapturePtsz DriverAPICBID = 498 DriverCBIDCuStreamIsCapturing DriverAPICBID = 499 DriverCBIDCuStreamIsCapturingPtsz DriverAPICBID = 500 DriverCBIDCuGraphCreate DriverAPICBID = 501 DriverCBIDCuGraphAddKernelNode DriverAPICBID = 502 DriverCBIDCuGraphKernelNodeGetParams DriverAPICBID = 503 DriverCBIDCuGraphAddMemcpyNode DriverAPICBID = 504 DriverCBIDCuGraphMemcpyNodeGetParams DriverAPICBID = 505 DriverCBIDCuGraphAddMemsetNode DriverAPICBID = 506 DriverCBIDCuGraphMemsetNodeGetParams DriverAPICBID = 507 DriverCBIDCuGraphMemsetNodeSetParams DriverAPICBID = 508 DriverCBIDCuGraphNodeGetType DriverAPICBID = 509 DriverCBIDCuGraphGetRootNodes DriverAPICBID = 510 DriverCBIDCuGraphNodeGetDependencies DriverAPICBID = 511 DriverCBIDCuGraphNodeGetDependentNodes DriverAPICBID = 512 DriverCBIDCuGraphInstantiate DriverAPICBID = 513 DriverCBIDCuGraphLaunch DriverAPICBID = 514 DriverCBIDCuGraphLaunchPtsz DriverAPICBID = 515 DriverCBIDCuGraphExecDestroy DriverAPICBID = 516 DriverCBIDCuGraphDestroy DriverAPICBID = 517 DriverCBIDCuGraphAddDependencies DriverAPICBID = 518 DriverCBIDCuGraphRemoveDependencies DriverAPICBID = 519 DriverCBIDCuGraphMemcpyNodeSetParams DriverAPICBID = 520 DriverCBIDCuGraphKernelNodeSetParams DriverAPICBID = 521 DriverCBIDCuGraphDestroyNode DriverAPICBID = 522 DriverCBIDCuGraphClone DriverAPICBID = 523 DriverCBIDCuGraphNodeFindInClone DriverAPICBID = 524 DriverCBIDCuGraphAddChildGraphNode DriverAPICBID = 525 DriverCBIDCuGraphAddEmptyNode DriverAPICBID = 526 DriverCBIDCuLaunchHostFunc DriverAPICBID = 527 DriverCBIDCuLaunchHostFuncPtsz DriverAPICBID = 528 DriverCBIDCuGraphChildGraphNodeGetGraph DriverAPICBID = 529 DriverCBIDCuGraphAddHostNode DriverAPICBID = 530 DriverCBIDCuGraphHostNodeGetParams DriverAPICBID = 531 DriverCBIDCuDeviceGetLuid DriverAPICBID = 532 DriverCBIDCuGraphHostNodeSetParams DriverAPICBID = 533 DriverCBIDCuGraphGetNodes DriverAPICBID = 534 DriverCBIDCuGraphGetEdges DriverAPICBID = 535 DriverCBIDCuStreamGetCaptureInfo DriverAPICBID = 536 DriverCBIDCuStreamGetCaptureInfoPtsz DriverAPICBID = 537 DriverCBIDCuGraphExecKernelNodeSetParams DriverAPICBID = 538 DriverCBIDCuStreamBeginCaptureV2 DriverAPICBID = 539 DriverCBIDCuStreamBeginCaptureV2Ptsz DriverAPICBID = 540 DriverCBIDCuThreadExchangeStreamCaptureMode DriverAPICBID = 541 DriverCBIDCuDeviceGetNvSciSyncAttributes DriverAPICBID = 542 DriverCBIDCuOccupancyAvailableDynamicSMemPerBlock DriverAPICBID = 543 DriverCBIDCuDevicePrimaryCtxReleaseV2 DriverAPICBID = 544 DriverCBIDCuDevicePrimaryCtxResetV2 DriverAPICBID = 545 DriverCBIDCuDevicePrimaryCtxSetFlagsV2 DriverAPICBID = 546 DriverCBIDCuMemAddressReserve DriverAPICBID = 547 DriverCBIDCuMemAddressFree DriverAPICBID = 548 DriverCBIDCuMemCreate DriverAPICBID = 549 DriverCBIDCuMemRelease DriverAPICBID = 550 DriverCBIDCuMemMap DriverAPICBID = 551 DriverCBIDCuMemUnmap DriverAPICBID = 552 DriverCBIDCuMemSetAccess DriverAPICBID = 553 DriverCBIDCuMemGetAllocationGranularity DriverAPICBID = 556 DriverCBIDCuMemGetAllocationPropertiesFromHandle DriverAPICBID = 557 DriverCBIDCuMemGetAccess DriverAPICBID = 558 DriverCBIDCuStreamSetFlags DriverAPICBID = 559 DriverCBIDCuStreamSetFlagsPtsz DriverAPICBID = 560 DriverCBIDCuGraphExecUpdate DriverAPICBID = 561 DriverCBIDCuGraphExecMemcpyNodeSetParams DriverAPICBID = 562 DriverCBIDCuGraphExecMemsetNodeSetParams DriverAPICBID = 563 DriverCBIDCuGraphExecHostNodeSetParams DriverAPICBID = 564 DriverCBIDCuMemRetainAllocationHandle DriverAPICBID = 565 DriverCBIDCuFuncGetModule DriverAPICBID = 566 DriverCBIDCuIpcOpenMemHandleV2 DriverAPICBID = 567 DriverCBIDCuCtxResetPersistingL2Cache DriverAPICBID = 568 DriverCBIDCuGraphKernelNodeCopyAttributes DriverAPICBID = 569 DriverCBIDCuGraphKernelNodeGetAttribute DriverAPICBID = 570 DriverCBIDCuGraphKernelNodeSetAttribute DriverAPICBID = 571 DriverCBIDCuStreamCopyAttributes DriverAPICBID = 572 DriverCBIDCuStreamCopyAttributesPtsz DriverAPICBID = 573 DriverCBIDCuStreamGetAttribute DriverAPICBID = 574 DriverCBIDCuStreamGetAttributePtsz DriverAPICBID = 575 DriverCBIDCuStreamSetAttribute DriverAPICBID = 576 DriverCBIDCuStreamSetAttributePtsz DriverAPICBID = 577 DriverCBIDCuGraphInstantiateV2 DriverAPICBID = 578 DriverCBIDCuDeviceGetTexture1DLinearMaxWidth DriverAPICBID = 579 DriverCBIDCuGraphUpload DriverAPICBID = 580 DriverCBIDCuGraphUploadPtsz DriverAPICBID = 581 DriverCBIDCuArrayGetSparseProperties DriverAPICBID = 582 DriverCBIDCuMipmappedArrayGetSparseProperties DriverAPICBID = 583 DriverCBIDCuMemMapArrayAsync DriverAPICBID = 584 DriverCBIDCuMemMapArrayAsyncPtsz DriverAPICBID = 585 DriverCBIDCuGraphExecChildGraphNodeSetParams DriverAPICBID = 586 DriverCBIDCuEventRecordWithFlags DriverAPICBID = 587 DriverCBIDCuEventRecordWithFlagsPtsz DriverAPICBID = 588 DriverCBIDCuGraphAddEventRecordNode DriverAPICBID = 589 DriverCBIDCuGraphAddEventWaitNode DriverAPICBID = 590 DriverCBIDCuGraphEventRecordNodeGetEvent DriverAPICBID = 591 DriverCBIDCuGraphEventWaitNodeGetEvent DriverAPICBID = 592 DriverCBIDCuGraphEventRecordNodeSetEvent DriverAPICBID = 593 DriverCBIDCuGraphEventWaitNodeSetEvent DriverAPICBID = 594 DriverCBIDCuGraphExecEventRecordNodeSetEvent DriverAPICBID = 595 DriverCBIDCuGraphExecEventWaitNodeSetEvent DriverAPICBID = 596 DriverCBIDCuArrayGetPlane DriverAPICBID = 597 DriverCBIDCuMemAllocAsync DriverAPICBID = 598 DriverCBIDCuMemAllocAsyncPtsz DriverAPICBID = 599 DriverCBIDCuMemFreeAsync DriverAPICBID = 600 DriverCBIDCuMemFreeAsyncPtsz DriverAPICBID = 601 DriverCBIDCuMemPoolTrimTo DriverAPICBID = 602 DriverCBIDCuMemPoolSetAttribute DriverAPICBID = 603 DriverCBIDCuMemPoolGetAttribute DriverAPICBID = 604 DriverCBIDCuMemPoolSetAccess DriverAPICBID = 605 DriverCBIDCuDeviceGetDefaultMemPool DriverAPICBID = 606 DriverCBIDCuMemPoolCreate DriverAPICBID = 607 DriverCBIDCuMemPoolDestroy DriverAPICBID = 608 DriverCBIDCuDeviceSetMemPool DriverAPICBID = 609 DriverCBIDCuDeviceGetMemPool DriverAPICBID = 610 DriverCBIDCuMemAllocFromPoolAsync DriverAPICBID = 611 DriverCBIDCuMemAllocFromPoolAsyncPtsz DriverAPICBID = 612 DriverCBIDCuMemPoolExportPointer DriverAPICBID = 615 DriverCBIDCuMemPoolImportPointer DriverAPICBID = 616 DriverCBIDCuMemPoolGetAccess DriverAPICBID = 617 DriverCBIDCuGraphAddExternalSemaphoresSignalNode DriverAPICBID = 618 DriverCBIDCuGraphExternalSemaphoresSignalNodeGetParams DriverAPICBID = 619 DriverCBIDCuGraphExternalSemaphoresSignalNodeSetParams DriverAPICBID = 620 DriverCBIDCuGraphAddExternalSemaphoresWaitNode DriverAPICBID = 621 DriverCBIDCuGraphExternalSemaphoresWaitNodeGetParams DriverAPICBID = 622 DriverCBIDCuGraphExternalSemaphoresWaitNodeSetParams DriverAPICBID = 623 DriverCBIDCuGraphExecExternalSemaphoresSignalNodeSetParams DriverAPICBID = 624 DriverCBIDCuGraphExecExternalSemaphoresWaitNodeSetParams DriverAPICBID = 625 DriverCBIDCuGetProcAddress DriverAPICBID = 626 DriverCBIDCuFlushGPUDirectRDMAWrites DriverAPICBID = 627 DriverCBIDCuGraphDebugDotPrint DriverAPICBID = 628 DriverCBIDCuStreamGetCaptureInfoV2 DriverAPICBID = 629 DriverCBIDCuStreamGetCaptureInfoV2Ptsz DriverAPICBID = 630 DriverCBIDCuStreamUpdateCaptureDependencies DriverAPICBID = 631 DriverCBIDCuStreamUpdateCaptureDependenciesPtsz DriverAPICBID = 632 DriverCBIDCuUserObjectCreate DriverAPICBID = 633 DriverCBIDCuUserObjectRetain DriverAPICBID = 634 DriverCBIDCuUserObjectRelease DriverAPICBID = 635 DriverCBIDCuGraphRetainUserObject DriverAPICBID = 636 DriverCBIDCuGraphReleaseUserObject DriverAPICBID = 637 DriverCBIDCuGraphAddMemAllocNode DriverAPICBID = 638 DriverCBIDCuGraphAddMemFreeNode DriverAPICBID = 639 DriverCBIDCuDeviceGraphMemTrim DriverAPICBID = 640 DriverCBIDCuDeviceGetGraphMemAttribute DriverAPICBID = 641 DriverCBIDCuDeviceSetGraphMemAttribute DriverAPICBID = 642 DriverCBIDCuGraphInstantiateWithFlags DriverAPICBID = 643 DriverCBIDCuDeviceGetExecAffinitySupport DriverAPICBID = 644 DriverCBIDCuCtxCreateV3 DriverAPICBID = 645 DriverCBIDCuCtxGetExecAffinity DriverAPICBID = 646 DriverCBIDCuDeviceGetUuidV2 DriverAPICBID = 647 DriverCBIDCuGraphMemAllocNodeGetParams DriverAPICBID = 648 DriverCBIDCuGraphMemFreeNodeGetParams DriverAPICBID = 649 DriverCBIDCuGraphNodeSetEnabled DriverAPICBID = 650 DriverCBIDCuGraphNodeGetEnabled DriverAPICBID = 651 DriverCBIDCuLaunchKernelEx DriverAPICBID = 652 DriverCBIDCuLaunchKernelExPtsz DriverAPICBID = 653 DriverCBIDCuArrayGetMemoryRequirements DriverAPICBID = 654 DriverCBIDCuMipmappedArrayGetMemoryRequirements DriverAPICBID = 655 DriverCBIDCuGraphInstantiateWithParams DriverAPICBID = 656 DriverCBIDCuGraphInstantiateWithParamsPtsz DriverAPICBID = 657 DriverCBIDCuGraphExecGetFlags DriverAPICBID = 658 DriverCBIDCuStreamWaitValue32V2 DriverAPICBID = 659 DriverCBIDCuStreamWaitValue32V2Ptsz DriverAPICBID = 660 DriverCBIDCuStreamWaitValue64V2 DriverAPICBID = 661 DriverCBIDCuStreamWaitValue64V2Ptsz DriverAPICBID = 662 DriverCBIDCuStreamWriteValue32V2 DriverAPICBID = 663 DriverCBIDCuStreamWriteValue32V2Ptsz DriverAPICBID = 664 DriverCBIDCuStreamWriteValue64V2 DriverAPICBID = 665 DriverCBIDCuStreamWriteValue64V2Ptsz DriverAPICBID = 666 DriverCBIDCuStreamBatchMemOpV2 DriverAPICBID = 667 DriverCBIDCuStreamBatchMemOpV2Ptsz DriverAPICBID = 668 DriverCBIDCuGraphAddBatchMemOpNode DriverAPICBID = 669 DriverCBIDCuGraphBatchMemOpNodeGetParams DriverAPICBID = 670 DriverCBIDCuGraphBatchMemOpNodeSetParams DriverAPICBID = 671 DriverCBIDCuGraphExecBatchMemOpNodeSetParams DriverAPICBID = 672 DriverCBIDCuModuleGetLoadingMode DriverAPICBID = 673 DriverCBIDCuMemGetHandleForAddressRange DriverAPICBID = 674 DriverCBIDCuOccupancyMaxPotentialClusterSize DriverAPICBID = 675 DriverCBIDCuOccupancyMaxActiveClusters DriverAPICBID = 676 DriverCBIDCuGetProcAddressV2 DriverAPICBID = 677 DriverCBIDCuLibraryLoadData DriverAPICBID = 678 DriverCBIDCuLibraryLoadFromFile DriverAPICBID = 679 DriverCBIDCuLibraryUnload DriverAPICBID = 680 DriverCBIDCuLibraryGetKernel DriverAPICBID = 681 DriverCBIDCuLibraryGetModule DriverAPICBID = 682 DriverCBIDCuKernelGetFunction DriverAPICBID = 683 DriverCBIDCuLibraryGetGlobal DriverAPICBID = 684 DriverCBIDCuLibraryGetManaged DriverAPICBID = 685 DriverCBIDCuKernelGetAttribute DriverAPICBID = 686 DriverCBIDCuKernelSetAttribute DriverAPICBID = 687 DriverCBIDCuKernelSetCacheConfig DriverAPICBID = 688 DriverCBIDCuGraphAddKernelNodeV2 DriverAPICBID = 689 DriverCBIDCuGraphKernelNodeGetParamsV2 DriverAPICBID = 690 DriverCBIDCuGraphKernelNodeSetParamsV2 DriverAPICBID = 691 DriverCBIDCuGraphExecKernelNodeSetParamsV2 DriverAPICBID = 692 DriverCBIDCuStreamGetId DriverAPICBID = 693 DriverCBIDCuStreamGetIdPtsz DriverAPICBID = 694 DriverCBIDCuCtxGetId DriverAPICBID = 695 DriverCBIDCuGraphExecUpdateV2 DriverAPICBID = 696 DriverCBIDCuTensorMapEncodeTiled DriverAPICBID = 697 DriverCBIDCuTensorMapEncodeIm2col DriverAPICBID = 698 DriverCBIDCuTensorMapReplaceAddress DriverAPICBID = 699 DriverCBIDCuLibraryGetUnifiedFunction DriverAPICBID = 700 DriverCBIDCuCoredumpGetAttribute DriverAPICBID = 701 DriverCBIDCuCoredumpGetAttributeGlobal DriverAPICBID = 702 DriverCBIDCuCoredumpSetAttribute DriverAPICBID = 703 DriverCBIDCuCoredumpSetAttributeGlobal DriverAPICBID = 704 DriverCBIDCuCtxSetFlags DriverAPICBID = 705 DriverCBIDCuMulticastCreate DriverAPICBID = 706 DriverCBIDCuMulticastAddDevice DriverAPICBID = 707 DriverCBIDCuMulticastBindMem DriverAPICBID = 708 DriverCBIDCuMulticastBindAddr DriverAPICBID = 709 DriverCBIDCuMulticastUnbind DriverAPICBID = 710 DriverCBIDCuMulticastGetGranularity DriverAPICBID = 711 DriverCBIDCuGraphAddNode DriverAPICBID = 712 DriverCBIDCuGraphNodeSetParams DriverAPICBID = 713 DriverCBIDCuGraphExecNodeSetParams DriverAPICBID = 714 DriverCBIDCuMemAdviseV2 DriverAPICBID = 715 DriverCBIDCuMemPrefetchAsyncV2 DriverAPICBID = 716 DriverCBIDCuMemPrefetchAsyncV2Ptsz DriverAPICBID = 717 DriverCBIDCuFuncGetName DriverAPICBID = 718 DriverCBIDCuKernelGetName DriverAPICBID = 719 DriverCBIDCuStreamBeginCaptureToGraph DriverAPICBID = 720 DriverCBIDCuStreamBeginCaptureToGraphPtsz DriverAPICBID = 721 DriverCBIDCuGraphConditionalHandleCreate DriverAPICBID = 722 DriverCBIDCuGraphAddNodeV2 DriverAPICBID = 723 DriverCBIDCuGraphGetEdgesV2 DriverAPICBID = 724 DriverCBIDCuGraphNodeGetDependenciesV2 DriverAPICBID = 725 DriverCBIDCuGraphNodeGetDependentNodesV2 DriverAPICBID = 726 DriverCBIDCuGraphAddDependenciesV2 DriverAPICBID = 727 DriverCBIDCuGraphRemoveDependenciesV2 DriverAPICBID = 728 DriverCBIDCuStreamGetCaptureInfoV3 DriverAPICBID = 729 DriverCBIDCuStreamGetCaptureInfoV3Ptsz DriverAPICBID = 730 DriverCBIDCuStreamUpdateCaptureDependenciesV2 DriverAPICBID = 731 DriverCBIDCuStreamUpdateCaptureDependenciesV2Ptsz DriverAPICBID = 732 DriverCBIDCuFuncGetParamInfo DriverAPICBID = 733 DriverCBIDCuKernelGetParamInfo DriverAPICBID = 734 DriverCBIDCuDeviceRegisterAsyncNotification DriverAPICBID = 735 DriverCBIDCuDeviceUnregisterAsyncNotification DriverAPICBID = 736 DriverCBIDCuModuleGetFunctionCount DriverAPICBID = 737 DriverCBIDCuModuleEnumerateFunctions DriverAPICBID = 738 DriverCBIDCuLibraryGetKernelCount DriverAPICBID = 739 DriverCBIDCuLibraryEnumerateKernels DriverAPICBID = 740 DriverCBIDCuFuncIsLoaded DriverAPICBID = 741 DriverCBIDCuFuncLoad DriverAPICBID = 742 DriverCBIDCuGreenCtxCreate DriverAPICBID = 743 DriverCBIDCuGreenCtxDestroy DriverAPICBID = 744 DriverCBIDCuDeviceGetDevResource DriverAPICBID = 745 DriverCBIDCuCtxGetDevResource DriverAPICBID = 746 DriverCBIDCuGreenCtxGetDevResource DriverAPICBID = 747 DriverCBIDCuDevResourceGenerateDesc DriverAPICBID = 748 DriverCBIDCuGreenCtxRecordEvent DriverAPICBID = 749 DriverCBIDCuGreenCtxWaitEvent DriverAPICBID = 750 DriverCBIDCuDevSmResourceSplitByCount DriverAPICBID = 751 DriverCBIDCuStreamGetGreenCtx DriverAPICBID = 752 DriverCBIDCuCtxFromGreenCtx DriverAPICBID = 753 DriverCBIDCuKernelGetLibrary DriverAPICBID = 754 DriverCBIDCuCtxRecordEvent DriverAPICBID = 755 DriverCBIDCuCtxWaitEvent DriverAPICBID = 756 DriverCBIDCuCtxCreateV4 DriverAPICBID = 757 DriverCBIDCuGreenCtxStreamCreate DriverAPICBID = 758 DriverCBIDCuStreamGetCtxV2 DriverAPICBID = 759 DriverCBIDCuStreamGetCtxV2Ptsz DriverAPICBID = 760 DriverCBIDCuMemBatchDecompressAsync DriverAPICBID = 761 DriverCBIDCuMemBatchDecompressAsyncPtsz DriverAPICBID = 762 DriverCBIDCuLogsRegisterCallback DriverAPICBID = 763 DriverCBIDCuLogsUnregisterCallback DriverAPICBID = 764 DriverCBIDCuLogsCurrent DriverAPICBID = 765 DriverCBIDCuLogsDumpToFile DriverAPICBID = 766 DriverCBIDCuLogsDumpToMemory DriverAPICBID = 767 DriverCBIDCuCheckpointProcessGetRestoreThreadId DriverAPICBID = 768 DriverCBIDCuCheckpointProcessGetState DriverAPICBID = 769 DriverCBIDCuCheckpointProcessLock DriverAPICBID = 770 DriverCBIDCuCheckpointProcessCheckpoint DriverAPICBID = 771 DriverCBIDCuCheckpointProcessRestore DriverAPICBID = 772 DriverCBIDCuCheckpointProcessUnlock DriverAPICBID = 773 DriverCBIDCuStreamGetDevice DriverAPICBID = 774 DriverCBIDCuStreamGetDevicePtsz DriverAPICBID = 775 DriverCBIDCuMemcpyBatchAsync DriverAPICBID = 776 DriverCBIDCuMemcpyBatchAsyncPtsz DriverAPICBID = 777 DriverCBIDCuMemcpy3DBatchAsync DriverAPICBID = 778 DriverCBIDCuMemcpy3DBatchAsyncPtsz DriverAPICBID = 779 DriverCBIDCuEventElapsedTimeV2 DriverAPICBID = 780 DriverCBIDCuTensorMapEncodeIm2colWide DriverAPICBID = 781 DriverCBIDCuGreenCtxGetId DriverAPICBID = 782 DriverCBIDCuStreamBeginCaptureToCig DriverAPICBID = 783 DriverCBIDCuMemPrefetchBatchAsync DriverAPICBID = 784 DriverCBIDCuMemPrefetchBatchAsyncPtsz DriverAPICBID = 785 DriverCBIDCuSemaphoreCreate DriverAPICBID = 786 DriverCBIDCuSemaphoreExport DriverAPICBID = 787 DriverCBIDCuSemaphoreDestroy DriverAPICBID = 788 DriverCBIDCuMemDiscardBatchAsync DriverAPICBID = 789 DriverCBIDCuMemDiscardBatchAsyncPtsz DriverAPICBID = 790 DriverCBIDCuMemDiscardAndPrefetchBatchAsync DriverAPICBID = 791 DriverCBIDCuMemDiscardAndPrefetchBatchAsyncPtsz DriverAPICBID = 792 DriverCBIDCuMultiKernelCooperativeDomainCreate DriverAPICBID = 793 DriverCBIDCuMultiKernelCooperativeDomainDestroy DriverAPICBID = 794 DriverCBIDCuCtxGetDeviceV2 DriverAPICBID = 795 DriverCBIDCuMemcpyBatchAsyncV2 DriverAPICBID = 796 DriverCBIDCuMemcpyBatchAsyncV2Ptsz DriverAPICBID = 797 DriverCBIDCuMemcpy3DBatchAsyncV2 DriverAPICBID = 798 DriverCBIDCuMemcpy3DBatchAsyncV2Ptsz DriverAPICBID = 799 DriverCBIDCuCtxSynchronizeV2 DriverAPICBID = 800 DriverCBIDCuMemGetDefaultMemPool DriverAPICBID = 801 DriverCBIDCuMemGetMemPool DriverAPICBID = 802 DriverCBIDCuMemSetMemPool DriverAPICBID = 803 DriverCBIDCuDeviceGetP2PAtomicCapabilities DriverAPICBID = 804 DriverCBIDCuDeviceGetHostAtomicCapabilities DriverAPICBID = 805 DriverCBIDCuDriverGetGpuCodeIsaVersion DriverAPICBID = 806 DriverCBIDCuStreamGetDevResource DriverAPICBID = 807 DriverCBIDCuStreamGetDevResourcePtsz DriverAPICBID = 808 DriverCBIDCuGraphNodeGetContainingGraph DriverAPICBID = 809 DriverCBIDCuGraphNodeGetLocalId DriverAPICBID = 810 DriverCBIDCuGraphNodeGetToolsId DriverAPICBID = 811 DriverCBIDCuGraphGetId DriverAPICBID = 812 DriverCBIDCuGraphExecGetId DriverAPICBID = 813 DriverCBIDCuStreamBeginCaptureToCigPtsz DriverAPICBID = 814 DriverCBIDCuStreamEndCaptureToCig DriverAPICBID = 815 DriverCBIDCuStreamEndCaptureToCigPtsz DriverAPICBID = 816 DriverCBIDCuGraphCreateWithArguments DriverAPICBID = 817 DriverCBIDCuGraphNodeAddRelocation DriverAPICBID = 818 DriverCBIDCuGraphLaunchWithArguments DriverAPICBID = 819 DriverCBIDCuMulticastBindMemV2 DriverAPICBID = 820 DriverCBIDCuMulticastBindAddrV2 DriverAPICBID = 821 DriverCBIDCuDevSmResourceSplit DriverAPICBID = 822 DriverCBIDReserved823 DriverAPICBID = 823 DriverCBIDReserved824 DriverAPICBID = 824 DriverCBIDReserved825 DriverAPICBID = 825 DriverCBIDReserved826 DriverAPICBID = 826 DriverCBIDReserved827 DriverAPICBID = 827 DriverCBIDReserved828 DriverAPICBID = 828 DriverCBIDReserved829 DriverAPICBID = 829 DriverCBIDReserved830 DriverAPICBID = 830 DriverCBIDCuLaunchHostFuncV2 DriverAPICBID = 831 DriverCBIDCuLaunchHostFuncV2Ptsz DriverAPICBID = 832 DriverCBIDCuFuncGetDeviceCodeInfo DriverAPICBID = 833 DriverCBIDCuKernelGetDeviceCodeInfo DriverAPICBID = 834 DriverCBIDCuFuncGetParamCount DriverAPICBID = 835 DriverCBIDCuKernelGetParamCount DriverAPICBID = 836 DriverCBIDCuMemcpyWithAttributesAsync DriverAPICBID = 837 DriverCBIDCuMemcpyWithAttributesAsyncPtsz DriverAPICBID = 838 DriverCBIDCuMemcpy3DWithAttributesAsync DriverAPICBID = 839 DriverCBIDCuMemcpy3DWithAttributesAsyncPtsz DriverAPICBID = 840 DriverCBIDCuGraphNodeGetParams DriverAPICBID = 841 DriverCBIDCuCoredumpRegisterStartCallback DriverAPICBID = 842 DriverCBIDCuCoredumpRegisterCompleteCallback DriverAPICBID = 843 DriverCBIDCuCoredumpDeregisterStartCallback DriverAPICBID = 844 DriverCBIDCuCoredumpDeregisterCompleteCallback DriverAPICBID = 845 DriverCBIDCuStreamBeginRecaptureToGraph DriverAPICBID = 846 DriverCBIDCuStreamBeginRecaptureToGraphPtsz DriverAPICBID = 847 DriverCBIDCuLogicalEndpointIdReserve DriverAPICBID = 848 DriverCBIDCuLogicalEndpointIdRelease DriverAPICBID = 849 DriverCBIDCuLogicalEndpointCreate DriverAPICBID = 850 DriverCBIDCuLogicalEndpointAddDevice DriverAPICBID = 851 DriverCBIDCuLogicalEndpointDestroy DriverAPICBID = 852 DriverCBIDCuLogicalEndpointBindAddr DriverAPICBID = 853 DriverCBIDCuLogicalEndpointBindMem DriverAPICBID = 854 DriverCBIDCuLogicalEndpointUnbind DriverAPICBID = 855 DriverCBIDCuLogicalEndpointExport DriverAPICBID = 856 DriverCBIDCuLogicalEndpointImport DriverAPICBID = 857 DriverCBIDCuLogicalEndpointGetLimits DriverAPICBID = 858 DriverCBIDCuLogicalEndpointQuery DriverAPICBID = 859 DriverCBIDCuMemGetLocationInfo DriverAPICBID = 860 DriverCBIDCuCheckpointOperationComplete DriverAPICBID = 861 DriverCBIDReserved862 DriverAPICBID = 862 DriverCBIDCuGraphAddNodeV3 DriverAPICBID = 863 DriverCBIDCuGraphNodeSetParamsV2 DriverAPICBID = 864 DriverCBIDCuDeviceGetFabricClusterUuid DriverAPICBID = 865 DriverCBIDCuDeviceGetCliqueCount DriverAPICBID = 866 DriverCBIDCuDeviceGetCliqueInfo DriverAPICBID = 867 DriverCBIDCuLibraryGetExport DriverAPICBID = 868 DriverCBIDCuTeamKeyCreate DriverAPICBID = 869 DriverCBIDCuTeamCreateFromKey DriverAPICBID = 870 DriverCBIDCuTeamDestroy DriverAPICBID = 871 DriverCBIDCuNvtxGetInjectionInitializer DriverAPICBID = 872 DriverCBIDSize DriverAPICBID = 873 DriverCBIDForceInt DriverAPICBID = 0x7fffffff // // Deprecated: NVIDIA withdrew the API behind SANITIZER_CBID_DRIVER_API_cuSubgridScheduleCreate in CUDA 13.4 and left slot 823 allocated, as DriverCBIDReserved823. The value has not moved and still identifies the same call on a driver that implements it, so the name is kept for code built against CUDA 13.1. DriverCBIDCuSubgridScheduleCreate DriverAPICBID = 823 // // Deprecated: NVIDIA withdrew the API behind SANITIZER_CBID_DRIVER_API_cuSubgridWorkerGridCreate in CUDA 13.4 and left slot 824 allocated, as DriverCBIDReserved824. The value has not moved and still identifies the same call on a driver that implements it, so the name is kept for code built against CUDA 13.1. DriverCBIDCuSubgridWorkerGridCreate DriverAPICBID = 824 // // Deprecated: NVIDIA withdrew the API behind SANITIZER_CBID_DRIVER_API_cuSubgridWorksetCreate in CUDA 13.4 and left slot 825 allocated, as DriverCBIDReserved825. The value has not moved and still identifies the same call on a driver that implements it, so the name is kept for code built against CUDA 13.1. DriverCBIDCuSubgridWorksetCreate DriverAPICBID = 825 // // Deprecated: NVIDIA withdrew the API behind SANITIZER_CBID_DRIVER_API_cuSubgridCreate in CUDA 13.4 and left slot 826 allocated, as DriverCBIDReserved826. The value has not moved and still identifies the same call on a driver that implements it, so the name is kept for code built against CUDA 13.1. DriverCBIDCuSubgridCreate DriverAPICBID = 826 // // Deprecated: NVIDIA withdrew the API behind SANITIZER_CBID_DRIVER_API_cuSubgridScheduleFinalize in CUDA 13.4 and left slot 827 allocated, as DriverCBIDReserved827. The value has not moved and still identifies the same call on a driver that implements it, so the name is kept for code built against CUDA 13.1. DriverCBIDCuSubgridScheduleFinalize DriverAPICBID = 827 // // Deprecated: NVIDIA withdrew the API behind SANITIZER_CBID_DRIVER_API_cuSubgridScheduleLaunch in CUDA 13.4 and left slot 828 allocated, as DriverCBIDReserved828. The value has not moved and still identifies the same call on a driver that implements it, so the name is kept for code built against CUDA 13.1. DriverCBIDCuSubgridScheduleLaunch DriverAPICBID = 828 // // Deprecated: NVIDIA withdrew the API behind SANITIZER_CBID_DRIVER_API_cuSubgridScheduleLaunch_ptsz in CUDA 13.4 and left slot 829 allocated, as DriverCBIDReserved829. The value has not moved and still identifies the same call on a driver that implements it, so the name is kept for code built against CUDA 13.1. DriverCBIDCuSubgridScheduleLaunchPtsz DriverAPICBID = 829 // // Deprecated: NVIDIA withdrew the API behind SANITIZER_CBID_DRIVER_API_cuSubgridScheduleDestroy in CUDA 13.4 and left slot 830 allocated, as DriverCBIDReserved830. The value has not moved and still identifies the same call on a driver that implements it, so the name is kept for code built against CUDA 13.1. DriverCBIDCuSubgridScheduleDestroy DriverAPICBID = 830 )
func (DriverAPICBID) String ¶
func (e DriverAPICBID) String() string
String returns the constant name, or a numeric representation for unknown values.
type ErrorLoggingData ¶
ErrorLoggingData represents data passed into an error logging callback function.
Data passed into an error logging callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal tp SANITIZER_CBID_ERROR_LOGGING. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type EventData ¶
type EventData struct {
Event driver.Event
Context driver.Context
// Zero on releases before CUDA 13.1.
GreenCtx GreenContext
Stream driver.Stream
HStream StreamHandle
}
EventData represents data passed into an event callback function.
Data passed into an event callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal tp CbDomainEvents. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type ExternalMemory ¶
type ExternalMemory uintptr
ExternalMemory is an opaque handle to imported external memory.
type ExternalMemoryData ¶
type ExternalMemoryData struct {
Context driver.Context
Device Device
ExtMemory ExternalMemory
Address uint64
Size uint64
}
ExternalMemoryData represents data passed into an external memory callback function.
Data passed into an event callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal tp CbDomainExternalMemory. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type FenceProxyAsyncFlags ¶
type FenceProxyAsyncFlags int32
FenceProxyAsyncFlags represents flags describing a fence.proxy.async instruction.
Flags from independent groups are to be or-combined in the value of \b flags for a SanitizerCallbackFenceProxyAsync callback. Space and access flags describe the ordering guaranteed by the instruction, rather than the qualifiers used to encode it.
const ( FenceProxyAsyncFlagNone FenceProxyAsyncFlags = 0 // Empty flag. FenceProxyAsyncFlagGenericToAsync FenceProxyAsyncFlags = 1 << 0 // Orders prior generic-proxy accesses before subsequent async-proxy accesses. FenceProxyAsyncFlagAccessRead FenceProxyAsyncFlags = 1 << 5 // Orders read accesses. FenceProxyAsyncFlagAccessWrite FenceProxyAsyncFlags = 1 << 6 // Orders write accesses. FenceProxyAsyncFlagSemRelease FenceProxyAsyncFlags = 1 << 8 // The instruction has release semantics. FenceProxyAsyncFlagScopeCta FenceProxyAsyncFlags = 1 << 9 // The instruction has CTA scope. FenceProxyAsyncFlagScopeCluster FenceProxyAsyncFlags = 1 << 10 // The instruction has cluster scope. This flag is set in addition to [FenceProxyAsyncFlagScopeCta] because cluster scope also covers relations within a CTA. FenceProxyAsyncFlagForceInt FenceProxyAsyncFlags = 0x7fffffff )
func (FenceProxyAsyncFlags) String ¶
func (e FenceProxyAsyncFlags) String() string
String returns the constant name, or a numeric representation for unknown values.
type FunctionLoadedStatus ¶
type FunctionLoadedStatus int32
FunctionLoadedStatus specifies the function loaded status (Sanitizer_FunctionLoadedStatus).
const ( FunctionNotLoaded FunctionLoadedStatus = 0x0 // The function is not loaded. FunctionPartiallyLoaded FunctionLoadedStatus = 0x1 // The function is being loaded. FunctionLoaded FunctionLoadedStatus = 0x2 // The function is fully loaded. FunctionLoadedForceInt FunctionLoadedStatus = 0x7fffffff )
func GetFunctionLoadedStatus ¶
func GetFunctionLoadedStatus(func_ Function) (FunctionLoadedStatus, error)
GetFunctionLoadedStatus gets the loading status of a function.
Requires a driver version >=515.
- func_ (in): CUDA function for which the loading status is queried
Errors:
- ErrInvalidParameter: if func is NULL or if loadingStatus is NULL.
- ErrNotSupported: if the loading status cannot be queried with this driver version.
Wraps sanitizerGetFunctionLoadedStatus.
func (FunctionLoadedStatus) String ¶
func (e FunctionLoadedStatus) String() string
String returns the constant name, or a numeric representation for unknown values.
type GraphExec ¶
type GraphExec uintptr
GraphExec is an opaque handle to an instantiated CUDA graph.
type GraphExecData ¶
type GraphExecData struct {
Graph Graph
GraphExec GraphExec
IsDeviceLaunch uint32
ContainsDeviceGraphLaunches uint32
DeviceGraphLaunchesContext driver.Context
}
GraphExecData represents data passed into a graphexec creation callback function.
Data passed into a graphs callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal to CbDomainGraphs and cbid equal to CbidGraphsGraphexecCreating. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type GraphLaunchData ¶
type GraphLaunchData struct {
Context driver.Context
Stream driver.Stream
HStream StreamHandle
GraphExec GraphExec
IsGraphUpload uint32
}
GraphLaunchData represents data passed into a graph launch callback function.
Data passed into a graphs callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal to CbDomainGraphs and cbid equal to CbidGraphsLaunchBegin or CbidGraphsLaunchEnd. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type GraphNodeLaunchData ¶
type GraphNodeLaunchData struct {
GraphExec GraphExec
LaunchId uint32
Node GraphNode
NodeType GraphNodeType
AnonymousUnion [18]uint64
IsGraphUpload uint32
}
GraphNodeLaunchData represents data passed into a graph node launch callback function.
Data passed into a graphs callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal to CbDomainGraphs and cbid equal to SANITIZER_CBID_GRAPHS_LAUNCH_NODE_BEGIN or SANITIZER_CBID_GRAPHS_LAUNCH_NODE_END. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
func (*GraphNodeLaunchData) LaunchData ¶
func (g *GraphNodeLaunchData) LaunchData() *LaunchData
LaunchData returns a pointer to the launchData member of Sanitizer_GraphNodeLaunchData, which shares its storage with every other member of the union.
func (*GraphNodeLaunchData) MemAllocData ¶
func (g *GraphNodeLaunchData) MemAllocData() *ResourceMemoryData
MemAllocData returns a pointer to the memAllocData member of Sanitizer_GraphNodeLaunchData, which shares its storage with every other member of the union.
func (*GraphNodeLaunchData) MemFreeAddress ¶
func (g *GraphNodeLaunchData) MemFreeAddress() *uint64
MemFreeAddress returns a pointer to the memFreeAddress member of Sanitizer_GraphNodeLaunchData, which shares its storage with every other member of the union.
func (*GraphNodeLaunchData) MemcpyData ¶
func (g *GraphNodeLaunchData) MemcpyData() *MemcpyData
MemcpyData returns a pointer to the memcpyData member of Sanitizer_GraphNodeLaunchData, which shares its storage with every other member of the union.
func (*GraphNodeLaunchData) MemsetData ¶
func (g *GraphNodeLaunchData) MemsetData() *MemsetData
MemsetData returns a pointer to the memsetData member of Sanitizer_GraphNodeLaunchData, which shares its storage with every other member of the union.
type GraphNodeType ¶
type GraphNodeType int32
GraphNodeType discriminates the union in GraphNodeLaunchData.
Its values come from cuda.h, not from the sanitizer headers.
const ( GraphNodeTypeKernel GraphNodeType = 0 GraphNodeTypeMemcpy GraphNodeType = 1 GraphNodeTypeMemset GraphNodeType = 2 GraphNodeTypeHost GraphNodeType = 3 GraphNodeTypeGraph GraphNodeType = 4 GraphNodeTypeEmpty GraphNodeType = 5 GraphNodeTypeWaitEvent GraphNodeType = 6 GraphNodeTypeEventRecord GraphNodeType = 7 GraphNodeTypeExtSemasSignal GraphNodeType = 8 GraphNodeTypeExtSemasWait GraphNodeType = 9 GraphNodeTypeMemAlloc GraphNodeType = 10 GraphNodeTypeMemFree GraphNodeType = 11 GraphNodeTypeBatchMemOp GraphNodeType = 12 GraphNodeTypeConditional GraphNodeType = 13 GraphNodeTypeMemcpyBatch GraphNodeType = 14 GraphNodeTypeReserved16 GraphNodeType = 16 GraphNodeTypeExternalEngine GraphNodeType = 17 GraphNodeTypeFabricCpyBatch GraphNodeType = 18 )
func (GraphNodeType) String ¶
func (e GraphNodeType) String() string
String returns the constant name, or a numeric representation for unknown values.
type GreenContext ¶
type GreenContext uintptr
GreenContext is an opaque handle to a CUDA green context.
type InstructionId ¶
type InstructionId int32
InstructionId represents instrumentation.
Instrumentation. Every entry represent an instruction type or a function call where a callback patch can be inserted.
const ( InstructionInvalid InstructionId = 0 // Invalid instruction ID. InstructionBlockEnter InstructionId = 1 // CUDA block enter. This is called prior to any user code. The type of the callback must be SanitizerCallbackBlockEnter. InstructionBlockExit InstructionId = 2 // CUDA block exit. This is called after all user code has executed. The type of the callback must be SanitizerCallbackBlockExit. InstructionGlobalMemoryAccess InstructionId = 3 // Global Memory Access. This can be a store, load or atomic operation. The type of the callback must be SanitizerCallbackMemoryAccess. InstructionLocalMemoryAccess InstructionId = 5 // Local Memory Access. This can be a store or load operation. The type of the callback must be SanitizerCallbackMemoryAccess. InstructionBarrier InstructionId = 6 // Barrier. The type of the callback must be SanitizerCallbackBarrier. InstructionSyncwarp InstructionId = 7 // Syncwarp. The type of the callback must be SanitizerCallbackSyncwarp. InstructionShfl InstructionId = 8 // Shfl. The type of the callback must be SanitizerCallbackShfl. InstructionCall InstructionId = 9 // Function call. The type of the callback must be SanitizerCallbackCall. InstructionRet InstructionId = 10 // Function return. The type of the callback must be SanitizerCallbackRet. InstructionDeviceSideMalloc InstructionId = 11 // Device-side malloc. The type of the callback must be SanitizerCallbackDeviceSideMalloc. InstructionDeviceSideFree InstructionId = 12 // Device-side free. The type of the callback must be SanitizerCallbackDeviceSideFree. InstructionCudaBarrier InstructionId = 13 // CUDA Barrier operation. The type of the callback must be SanitizerCallbackCudaBarrier. InstructionMemcpyAsync InstructionId = 14 // Global to shared memory asynchronous copy. The type of the callback must be SanitizerCallbackMemcpyAsync. InstructionPipelineCommit InstructionId = 15 // Pipeline commit. The type of the callback must be SanitizerCallbackPipelineCommit. InstructionPipelineWait InstructionId = 16 // Pipeline wait. The type of the callback must be SanitizerCallbackPipelineWait. InstructionDeviceAlignedMalloc InstructionId = 18 // Device-side aligned malloc. The type of the callback must be SanitizerCallbackDeviceSideMalloc. InstructionMatrixMemoryAccess InstructionId = 19 // Matrix shared memory access. The type of the callback must be SanitizerCallbackMatrixMemoryAccess. InstructionCacheControl InstructionId = 20 // Cache control instruction. The type of the callback must be SanitizerCallbackCacheControl. InstructionClusterBarrierArrive InstructionId = 21 // Cluster barrier arrive instruction. The type of the callback must be SanitizerCallbackClusterBarrierArrive. InstructionClusterBarrierWait InstructionId = 22 // Cluster barrier wait instruction. The type of the callback must be SanitizerCallbackClusterBarrierWait. InstructionWarpgroupMmaAsync InstructionId = 23 // Warpgroup aligned async MMA instruction. The type of the callback must be SanitizerCallbackWarpgroupMMAAsync. InstructionWarpgroupWaitGroup InstructionId = 24 // Warpgroup wait MMA group instruction. The type of the callback must be SanitizerCallbackWarpgroupWaitGroup. InstructionWarpgroupFence InstructionId = 25 // Warpgroup fence instruction. The type of the callback must be SanitizerCallbackWarpgroupFence. InstructionAsyncStore InstructionId = 26 // Asynchronous store instruction. The type of the callback must be SanitizerCallbackAsyncStore. InstructionAsyncReduction InstructionId = 27 // Asynchronous reduction instruction. The type of the callback must be SanitizerCallbackAsyncReduction. InstructionBarrierRelease InstructionId = 29 // Barrier after it is released. The type of the callback must be SanitizerCallbackBarrier. InstructionTensorCoreBarrier InstructionId = 31 // Tensor Core barrier. The type of the callback must be SanitizerCallbackTensorCoreBarrier. InstructionSyncwarpRelease InstructionId = 33 // Syncwarp after it is released. The type of the callback must be SanitizerCallbackSyncwarp. InstructionMemcpyAsyncBarrier InstructionId = 34 // Usage of a Cuda Barrier for memcpy async completion. The type of the callback must be SanitizerCallbackMemcpyAsyncBarrier. InstructionCudaBarrierAttempt InstructionId = 39 // CUDA Barrier operation (potentially unsuccessful). The type of the callback must be SanitizerCallbackCudaBarrierAttempt. InstructionClusterBarrierWaitEntry InstructionId = 40 // Entering cluster barrier wait instruction. The type of the callback must be SanitizerCallbackClusterBarrierWait. InstructionWarpgroupFenceRelease InstructionId = 41 // Warpgroup fence instruction. The type of the callback must be SanitizerCallbackWarpgroupFence. InstructionWarpgroupMmaAsyncRelease InstructionId = 42 // Warpgroup aligned async MMA instruction release. The type of the callback must be SanitizerCallbackWarpgroupMMAAsync. InstructionTmaLoad InstructionId = 43 // TMA load instruction. Copy data from Tensor in global memory to shared memory The type of the callback must be SanitizerCallbackTensorMemoryLoad. InstructionTmaStore InstructionId = 44 // TMA store instruction. Copy data from shared memory to Tensor in global memory The type of the callback must be SanitizerCallbackTensorMemoryStore. InstructionDeviceResizeShmem InstructionId = 46 // Device-size resize of shared memory. The type of the callback must be SanitizerCallbackDeviceResizeShmem InstructionClusterLaunchControl InstructionId = 47 // Clusterlaunchcontrol operation. The type of the callback must be SanitizerCallbackClusterLaunchControl. InstructionForceInt InstructionId = 0x7fffffff )
func (InstructionId) String ¶
func (e InstructionId) String() string
String returns the constant name, or a numeric representation for unknown values.
type LaunchData ¶
type LaunchData struct {
Context driver.Context
Stream driver.Stream
HStream StreamHandle
Module Module
Function Function
FunctionName uintptr
GridDim Dim3
BlockDim Dim3
ClusterDim Dim3
GridId uint64
HLaunch LaunchHandle
Device Device
ApiContext driver.Context
ApiStream driver.Stream
HApiStream StreamHandle
// Zero on releases before CUDA 13.4.
SplitLaunchPart uint32
}
LaunchData represents data passed into a launch callback function.
Data passed into a launch callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal to CbDomainLaunch. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type LaunchHandle ¶
type LaunchHandle uintptr
LaunchHandle is an opaque handle for Sanitizer_LaunchHandle.
func (LaunchHandle) SetCallbackData ¶
func (l LaunchHandle) SetCallbackData(kernel Function, stream StreamHandle, userdata uintptr) error
SetCallbackData specifies the user data pointer for callbacks.
Mark launch to use userdata pointer as the device memory buffer to pass in to callback functions. This function is only available if the driver version is 455 or newer.
- kernel: CUDA function associated with the kernel launch
- stream: CUDA stream associated with the stream launch
- userdata: Device memory buffer. This data will be passed to callback functions via the userdata parameter
Wraps sanitizerSetLaunchCallbackData.
type LibraryAttempt ¶
LibraryAttempt records one failed attempt to open the shared library.
type LibraryConflictError ¶
type LibraryConflictError struct {
Loaded string
Requested string
// Implicit reports that the loaded library was opened lazily and no
// successful Load has since acknowledged it. A
// caller that sees this called some
// other function first, and that call took the default search list.
Implicit bool
}
LibraryConflictError reports a Load call naming a different library than the one already loaded. Only one library is loaded per process.
func (*LibraryConflictError) Error ¶
func (e *LibraryConflictError) Error() string
Error reports the conflicting library paths, and whether the library that is already loaded got there without a Load call.
type LibraryError ¶
type LibraryError struct {
Library string
Env string
Path string
Attempts []LibraryAttempt
Hint string
}
LibraryError reports that libsanitizer-public could not be opened. Attempts lists every name tried in order. Path is set when an explicit path, from Load or SANITIZER_LIB_PATH, was requested and failed. Hint reports pkg-config discovery results and query failures, when discovery ran.
func (*LibraryError) Error ¶
func (e *LibraryError) Error() string
Error describes the library load attempts and their errors.
func (*LibraryError) Unwrap ¶
func (e *LibraryError) Unwrap() []error
Unwrap returns the error from each attempt.
type LoadAttempt ¶
LoadAttempt records one candidate path and the error opening it produced.
type LogLevel ¶
type LogLevel int32
LogLevel is a CUDA driver log level.
Its values come from cuda.h, not from the sanitizer headers.
type LogicalEndpointCapabilityFlags ¶
type LogicalEndpointCapabilityFlags int32
LogicalEndpointCapabilityFlags represents capabilities a logical endpoint was created with.
Bitmask describing the capabilities requested when the logical endpoint was created.
const ( LogicalEndpointCapabilityNone LogicalEndpointCapabilityFlags = 0 LogicalEndpointCapabilityCountedOps LogicalEndpointCapabilityFlags = 1 << 0 // The logical endpoint was created with support for counted operations. LogicalEndpointCapabilityForceInt LogicalEndpointCapabilityFlags = 0x7fffffff )
func (LogicalEndpointCapabilityFlags) String ¶
func (e LogicalEndpointCapabilityFlags) String() string
String returns the constant name, or a numeric representation for unknown values.
type LogicalEndpointType ¶
type LogicalEndpointType int32
LogicalEndpointType is a type of a logical endpoint.
const ( LogicalEndpointTypeUnknown LogicalEndpointType = 0 // The logical endpoint type is unknown or could not be determined. LogicalEndpointTypeUnicast LogicalEndpointType = 1 // The logical endpoint targets a single device (unicast). LogicalEndpointTypeMulticast LogicalEndpointType = 2 // The logical endpoint targets a group of devices (multicast). LogicalEndpointTypeForceInt LogicalEndpointType = 0x7fffffff )
func (LogicalEndpointType) String ¶
func (e LogicalEndpointType) String() string
String returns the constant name, or a numeric representation for unknown values.
type MemcpyData ¶
type MemcpyData struct {
SrcContext driver.Context
DstContext driver.Context
SrcStream driver.Stream
HSrcStream StreamHandle
DstStream driver.Stream
HDstStream StreamHandle
SrcAddress uint64
DstAddress uint64
Size uint64
Width uint64
Height uint64
Depth uint64
SrcPitch uint64
DstPitch uint64
IsAsync uint32
Direction MemcpyDirection
// Zero on releases before CUDA 12.4.
ApiContext driver.Context
// Zero on releases before CUDA 12.4.
ApiStream driver.Stream
// Zero on releases before CUDA 12.4.
HApiStream StreamHandle
}
MemcpyData represents data passed into a memcpy callback function.
Data passed into a launch callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal to CbDomainMemcpy. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type MemcpyDirection ¶
type MemcpyDirection int32
MemcpyDirection represents memcpy direction.
Indicates the direction of a memcpy, passed inside Sanitizer_Memcpydata.
const ( MemcpyDirectionUnknown MemcpyDirection = 0 // Unknown memcpy direction. MemcpyDirectionHostToHost MemcpyDirection = 1 // Memcpy from host to host. MemcpyDirectionHostToDevice MemcpyDirection = 2 // Memcpy from host to device. MemcpyDirectionDeviceToHost MemcpyDirection = 3 // Memcpy from device to host. MemcpyDirectionDeviceToDevice MemcpyDirection = 4 // Memcpy from device to device. MemcpyDirectionSize MemcpyDirection = 5 MemcpyDirectionForceInt MemcpyDirection = 0x7fffffff )
func (MemcpyDirection) String ¶
func (e MemcpyDirection) String() string
String returns the constant name, or a numeric representation for unknown values.
type MemoryVisibility ¶
type MemoryVisibility int32
MemoryVisibility specifies the visibility of an allocation.
Specifies the visibility of an allocation. This is typically GLOBAL on allocations made via cudaMalloc, cudaHostAlloc and similar APIs. This can be GLOBAL or HOST for cudaMallocManaged allocations depending on the flags parameter. This can be changed after allocation time using cudaMemAttachSingle API (see CbidUvmAttachMem for the corresponding callback).
const ( MemoryVisibilityInvalid MemoryVisibility = 0 // Invalid memory visibility. MemoryVisibilityGlobal MemoryVisibility = 1 // Memory can be accessed by any stream on any device (see cudaMemAttachGlobal). MemoryVisibilityHost MemoryVisibility = 2 // Memory cannot be accessed by any stream on any device (see cudaMemAttachHost). MemoryVisibilityStream MemoryVisibility = 3 // Memory can only be accessed by a single stream on the associated device (see cudaMemAttachSingle). MemoryVisibilityForceInt MemoryVisibility = 0x7fffffff )
func (MemoryVisibility) String ¶
func (e MemoryVisibility) String() string
String returns the constant name, or a numeric representation for unknown values.
type MemsetData ¶
type MemsetData struct {
Context driver.Context
Stream driver.Stream
HStream StreamHandle
Address uint64
Width uint64
Height uint64
Pitch uint64
ElementSize uint32
Value uint32
IsAsync uint32
}
MemsetData represents data passed into a memset callback function.
Data passed into a launch callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal to CbDomainMemset. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type NotFoundError ¶
type NotFoundError struct {
// Tried holds one entry per candidate, in the order attempted.
Tried []LoadAttempt
}
NotFoundError reports that the library could not be opened, listing every candidate that was tried and why each failed.
Reporting the whole list matters here more than for the other NVIDIA libraries: this one is not on the loader's search path, so the usual failure is a correct install in a prefix the list does not cover, and the fix is to set SANITIZER_LIB_PATH to a path the message already shows the shape of.
func (*NotFoundError) Error ¶
func (e *NotFoundError) Error() string
type PatchResult ¶
type PatchResult int32
PatchResult represents sanitizer patch result codes.
Error and result codes returned by Sanitizer patches. If a patch returns PatchError, the full warp which the thread belongs to will be exited.
const ( PatchSuccess PatchResult = 0 // No error. PatchError PatchResult = 1 // An error was detected in the patch. PatchForceInt PatchResult = 0x7fffffff )
func (PatchResult) String ¶
func (e PatchResult) String() string
String returns the constant name, or a numeric representation for unknown values.
type ResourceArrayData ¶
type ResourceArrayData struct {
Context driver.Context
HArray Array
Width uint64
Height uint64
Depth uint64
}
ResourceArrayData represents data passed into a CUDA array callback function.
Data passed into a CUDA array callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal tp CbDomainResource and cbid equal to CbidResourceArrayCreated or CbidResourceArrayDestroyed. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type ResourceContextData ¶
type ResourceContextData struct {
Context driver.Context
// Zero on releases before CUDA 13.1.
GreenContext GreenContext
Device Device
}
ResourceContextData represents data passed into a context resource callback function.
Data passed into a context resource callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal to CbDomainResource and cbid equal to CbidResourceContextCreationStarting, CbidResourceContextCreationFinished, CbidResourceContextDestroyStarting or CbidResourceContextDestroyFinished. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type ResourceFunctionsLazyLoadedData ¶
type ResourceFunctionsLazyLoadedData struct {
Context driver.Context
Module Module
Functions uintptr
NumFunctions uint32
}
ResourceFunctionsLazyLoadedData represents data passed into a CUDA function callback function.
Data passed into a CUDA function callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal tp CbDomainResource and cbid equal to CbidResourceFunctionsLazyLoaded or CbidResourceFunctionsLazyPatched. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type ResourceLogicalEndpointData ¶
type ResourceLogicalEndpointData struct {
Address uint64
Size uint64
LeId uint32
Type uint32
AnonymousUnion [1]uint32
Capabilities uint32
}
ResourceLogicalEndpointData represents data passed into a logical endpoint resource callback function.
Data passed into a logical endpoint resource callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal to CbDomainResource and cbid equal to CbidResourceLogicalEndpointCreated or CbidResourceLogicalEndpointDestroyed. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
func (*ResourceLogicalEndpointData) DeviceId ¶
func (r *ResourceLogicalEndpointData) DeviceId() *uint32
DeviceId returns a pointer to the deviceId member of Sanitizer_ResourceLogicalEndpointData, which shares its storage with every other member of the union.
func (*ResourceLogicalEndpointData) TeamSize ¶
func (r *ResourceLogicalEndpointData) TeamSize() *uint32
TeamSize returns a pointer to the teamSize member of Sanitizer_ResourceLogicalEndpointData, which shares its storage with every other member of the union.
type ResourceMemoryData ¶
type ResourceMemoryData struct {
Address uint64
Size uint64
Context driver.Context
Device Device
Stream driver.Stream
HStream StreamHandle
MemoryPool MemoryPool
Flags uint32
Permissions uint32
Visibility MemoryVisibility
SourceDevice Device
}
ResourceMemoryData represents data passed into a memory resource callback function.
Data passed into a memory resource callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal to CbDomainResource and cbid equal to CbidResourceDeviceMemoryAlloc, CbidResourceDeviceMemoryFree, CbidResourceHostMemoryAlloc, CbidResourceHostMemoryFree, CbidResourceMemoryAllocAsync, CbidResourceMemoryFreeAsync or CbidResourceMemoryFreeAsyncDone or CbidResourceMempoolImportPointer. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type ResourceMemoryFlags ¶
type ResourceMemoryFlags int32
ResourceMemoryFlags represents flags describing a memory allocation.
Flags describing a memory allocation. These values are to be used in order to interpret the value of [ResourceMemoryData]flags.
const ( MemoryFlagNone ResourceMemoryFlags = 0 // Empty flag. MemoryFlagModule ResourceMemoryFlags = 0x1 // Specifies that the allocation is static scoped to a module. MemoryFlagManaged ResourceMemoryFlags = 0x2 // Specifies that the allocation is managed memory. MemoryFlagHostMapped ResourceMemoryFlags = 0x4 // Species that the allocation accessible from the host. MemoryFlagHostPinned ResourceMemoryFlags = 0x8 // Specifies that the allocation is pinned on the host. MemoryFlagPeer ResourceMemoryFlags = 0x10 // Specifies that the allocation is located on a peer GPU. MemoryFlagPeerAtomic ResourceMemoryFlags = 0x20 // Specifies that the allocation is located on a peer GPU supporting native atomics. This implies that [MemoryFlagPeer] is set as well. MemoryFlagCgRuntime ResourceMemoryFlags = 0x40 // Specifies that the allocation is used by the Cooperative Groups runtime functions. MemoryFlagCnp ResourceMemoryFlags = 0x80 // Specifies that this is an allocation used for CUDA Dynamic Parallelism purposes. MemoryFlagForceInt ResourceMemoryFlags = 0x7fffffff )
func (ResourceMemoryFlags) String ¶
func (e ResourceMemoryFlags) String() string
String returns the constant name, or a numeric representation for unknown values.
type ResourceMemoryPermissions ¶
type ResourceMemoryPermissions int32
ResourceMemoryPermissions represents permissions for a memory allocation.
Permissions for a memory allocation. These values are to be used in order to interpret the value of [ResourceMemoryData]permissions.
const ( MemoryPermissionNone ResourceMemoryPermissions = 0 // No permissions. MemoryPermissionRead ResourceMemoryPermissions = 0x1 // Specifies that the allocation is readable. MemoryPermissionWrite ResourceMemoryPermissions = 0x2 // Specifies that the allocation is writable. MemoryPermissionAtomic ResourceMemoryPermissions = 0x4 // Specifies that the allocation is readable/writable with atomic operations. MemoryPermissionAll ResourceMemoryPermissions = 0x7 // Specifies that the allocation has all permissions. MemoryPermissionForceInt ResourceMemoryPermissions = 0x7fffffff )
func (ResourceMemoryPermissions) String ¶
func (e ResourceMemoryPermissions) String() string
String returns the constant name, or a numeric representation for unknown values.
type ResourceMempoolData ¶
type ResourceMempoolData struct {
MemoryPool MemoryPool
Device Device
PeerDevice Device
}
ResourceMempoolData represents data passed into a mempool resource callback function.
Data passed into a mempool resource callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal to CbDomainResource and cbid equal to CbidResourceMempoolCreated, CbidResourceMempoolDestroying, CbidResourceMempoolPeerAccessEnabled or CbidResourceMempoolPeerAccessDisabling. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type ResourceModuleData ¶
type ResourceModuleData struct {
Context driver.Context
Module Module
CubinSize uint
PCubin uintptr
Library Library
}
ResourceModuleData represents data passed into a module resource callback function.
Data passed into a module resource callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal to CbDomainResource and cbid equal to CbidResourceModuleLoaded or CbidResourceModuleUnloadStarting. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type ResourceStreamData ¶
type ResourceStreamData struct {
Context driver.Context
// Zero on releases before CUDA 13.1.
GreenContext GreenContext
Stream driver.Stream
HStream StreamHandle
}
ResourceStreamData represents data passed into a stream resource callback function.
Data passed into a stream resource callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal to CbDomainResource and cbid equal to CbidResourceStreamCreated, CbidResourceStreamDestroyStarting or CbidResourceStreamDestroyFinished. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type ResourceVirtualRange ¶
ResourceVirtualRange represents data passed into a VA reservation callback function.
Data passed into a VA reservation callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal tp CbDomainResource and cbid equal to CbidResourceVirtualReserve. or CbidResourceVirtualRelease. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it. Available with a driver version of 535 or newer.
type Result ¶
type Result int32
Result represents a sanitizer-public API error code (SanitizerResult).
When the library is loaded, Result.Error returns rich messages from GetResultString. When the library is not loaded, it falls back to the numeric error code and Go-defined name.
const ( Success Result = 0 // No error. ErrInvalidParameter Result = 1 // One or more of the parameters is invalid. ErrInvalidDevice Result = 2 // The device does not correspond to a valid CUDA device. ErrInvalidContext Result = 3 // The context is NULL or not valid. ErrInvalidDomainId Result = 4 // The domain ID is invalid. ErrInvalidCallbackId Result = 5 // The callback ID is invalid. ErrInvalidOperation Result = 6 // The current operation cannot be performed due to dependency on other factors. ErrOutOfMemory Result = 7 // Unable to allocate enough memory to perform the requested operation. ErrParameterSizeNotSufficient Result = 8 // The output buffer size is not sufficient to return all requested data. ErrApiNotImplemented Result = 9 // API is not implemented. ErrMaxLimitReached Result = 10 // The maximum limit is reached. ErrNotReady Result = 11 // The object is not ready to perform the requested operation. ErrNotCompatible Result = 12 // The current operation is not compatible with the current state of the object. ErrNotInitialized Result = 13 // Sanitizer is unable to initialize its connection to the CUDA driver. ErrNotSupported Result = 14 // The attempted operation is not supported on the current system or device. ErrAddressNotInDeviceMemory Result = 15 // The attempted device operation has a parameter not in device memory. ErrUnknown Result = 999 // An unknown internal error has occurred. ErrForceInt Result = 0x7fffffff )
sanitizer-public error codes from sanitizer.h.
type RuntimeAPICBID ¶
type RuntimeAPICBID int32
RuntimeAPICBID specifies the runtime apicbid (SANITIZER_CBID_RUNTIME_API).
const ( RuntimeCBIDInvalid RuntimeAPICBID = 0 RuntimeCBIDCudaDriverGetVersion RuntimeAPICBID = 1 RuntimeCBIDCudaRuntimeGetVersion RuntimeAPICBID = 2 RuntimeCBIDCudaGetDeviceCount RuntimeAPICBID = 3 RuntimeCBIDCudaChooseDevice RuntimeAPICBID = 5 RuntimeCBIDCudaGetChannelDesc RuntimeAPICBID = 6 RuntimeCBIDCudaCreateChannelDesc RuntimeAPICBID = 7 RuntimeCBIDCudaGetLastError RuntimeAPICBID = 10 RuntimeCBIDCudaPeekAtLastError RuntimeAPICBID = 11 RuntimeCBIDCudaGetErrorString RuntimeAPICBID = 12 RuntimeCBIDCudaFuncSetCacheConfig RuntimeAPICBID = 14 RuntimeCBIDCudaFuncGetAttributes RuntimeAPICBID = 15 RuntimeCBIDCudaSetDevice RuntimeAPICBID = 16 RuntimeCBIDCudaGetDevice RuntimeAPICBID = 17 RuntimeCBIDCudaSetValidDevices RuntimeAPICBID = 18 RuntimeCBIDCudaSetDeviceFlags RuntimeAPICBID = 19 RuntimeCBIDCudaMalloc RuntimeAPICBID = 20 RuntimeCBIDCudaMallocPitch RuntimeAPICBID = 21 RuntimeCBIDCudaFree RuntimeAPICBID = 22 RuntimeCBIDCudaMallocArray RuntimeAPICBID = 23 RuntimeCBIDCudaFreeArray RuntimeAPICBID = 24 RuntimeCBIDCudaMallocHost RuntimeAPICBID = 25 RuntimeCBIDCudaFreeHost RuntimeAPICBID = 26 RuntimeCBIDCudaHostAlloc RuntimeAPICBID = 27 RuntimeCBIDCudaHostGetDevicePointer RuntimeAPICBID = 28 RuntimeCBIDCudaHostGetFlags RuntimeAPICBID = 29 RuntimeCBIDCudaMemGetInfo RuntimeAPICBID = 30 RuntimeCBIDCudaMemcpy RuntimeAPICBID = 31 RuntimeCBIDCudaMemcpy2D RuntimeAPICBID = 32 RuntimeCBIDCudaMemcpyToArray RuntimeAPICBID = 33 RuntimeCBIDCudaMemcpy2DToArray RuntimeAPICBID = 34 RuntimeCBIDCudaMemcpyFromArray RuntimeAPICBID = 35 RuntimeCBIDCudaMemcpy2DFromArray RuntimeAPICBID = 36 RuntimeCBIDCudaMemcpyArrayToArray RuntimeAPICBID = 37 RuntimeCBIDCudaMemcpy2DArrayToArray RuntimeAPICBID = 38 RuntimeCBIDCudaMemcpyToSymbol RuntimeAPICBID = 39 RuntimeCBIDCudaMemcpyFromSymbol RuntimeAPICBID = 40 RuntimeCBIDCudaMemcpyAsync RuntimeAPICBID = 41 RuntimeCBIDCudaMemcpyToArrayAsync RuntimeAPICBID = 42 RuntimeCBIDCudaMemcpyFromArrayAsync RuntimeAPICBID = 43 RuntimeCBIDCudaMemcpy2DAsync RuntimeAPICBID = 44 RuntimeCBIDCudaMemcpy2DToArrayAsync RuntimeAPICBID = 45 RuntimeCBIDCudaMemcpy2DFromArrayAsync RuntimeAPICBID = 46 RuntimeCBIDCudaMemcpyToSymbolAsync RuntimeAPICBID = 47 RuntimeCBIDCudaMemcpyFromSymbolAsync RuntimeAPICBID = 48 RuntimeCBIDCudaMemset RuntimeAPICBID = 49 RuntimeCBIDCudaMemset2D RuntimeAPICBID = 50 RuntimeCBIDCudaMemsetAsync RuntimeAPICBID = 51 RuntimeCBIDCudaMemset2DAsync RuntimeAPICBID = 52 RuntimeCBIDCudaGetSymbolAddress RuntimeAPICBID = 53 RuntimeCBIDCudaGetSymbolSize RuntimeAPICBID = 54 RuntimeCBIDCudaGLSetGLDevice RuntimeAPICBID = 63 RuntimeCBIDCudaGLRegisterBufferObject RuntimeAPICBID = 64 RuntimeCBIDCudaGLMapBufferObject RuntimeAPICBID = 65 RuntimeCBIDCudaGLUnmapBufferObject RuntimeAPICBID = 66 RuntimeCBIDCudaGLUnregisterBufferObject RuntimeAPICBID = 67 RuntimeCBIDCudaGLSetBufferObjectMapFlags RuntimeAPICBID = 68 RuntimeCBIDCudaGLMapBufferObjectAsync RuntimeAPICBID = 69 RuntimeCBIDCudaGLUnmapBufferObjectAsync RuntimeAPICBID = 70 RuntimeCBIDCudaWGLGetDevice RuntimeAPICBID = 71 RuntimeCBIDCudaGraphicsGLRegisterImage RuntimeAPICBID = 72 RuntimeCBIDCudaGraphicsGLRegisterBuffer RuntimeAPICBID = 73 RuntimeCBIDCudaGraphicsUnregisterResource RuntimeAPICBID = 74 RuntimeCBIDCudaGraphicsResourceSetMapFlags RuntimeAPICBID = 75 RuntimeCBIDCudaGraphicsMapResources RuntimeAPICBID = 76 RuntimeCBIDCudaGraphicsUnmapResources RuntimeAPICBID = 77 RuntimeCBIDCudaGraphicsResourceGetMappedPointer RuntimeAPICBID = 78 RuntimeCBIDCudaGraphicsSubResourceGetMappedArray RuntimeAPICBID = 79 RuntimeCBIDCudaVDPAUGetDevice RuntimeAPICBID = 80 RuntimeCBIDCudaVDPAUSetVDPAUDevice RuntimeAPICBID = 81 RuntimeCBIDCudaGraphicsVDPAURegisterVideoSurface RuntimeAPICBID = 82 RuntimeCBIDCudaGraphicsVDPAURegisterOutputSurface RuntimeAPICBID = 83 RuntimeCBIDCudaD3D11GetDevice RuntimeAPICBID = 84 RuntimeCBIDCudaD3D11GetDevices RuntimeAPICBID = 85 RuntimeCBIDCudaD3D11SetDirect3DDevice RuntimeAPICBID = 86 RuntimeCBIDCudaGraphicsD3D11RegisterResource RuntimeAPICBID = 87 RuntimeCBIDCudaD3D10GetDevice RuntimeAPICBID = 88 RuntimeCBIDCudaD3D10GetDevices RuntimeAPICBID = 89 RuntimeCBIDCudaD3D10SetDirect3DDevice RuntimeAPICBID = 90 RuntimeCBIDCudaGraphicsD3D10RegisterResource RuntimeAPICBID = 91 RuntimeCBIDCudaD3D10RegisterResource RuntimeAPICBID = 92 RuntimeCBIDCudaD3D10UnregisterResource RuntimeAPICBID = 93 RuntimeCBIDCudaD3D10MapResources RuntimeAPICBID = 94 RuntimeCBIDCudaD3D10UnmapResources RuntimeAPICBID = 95 RuntimeCBIDCudaD3D10ResourceSetMapFlags RuntimeAPICBID = 96 RuntimeCBIDCudaD3D10ResourceGetSurfaceDimensions RuntimeAPICBID = 97 RuntimeCBIDCudaD3D10ResourceGetMappedArray RuntimeAPICBID = 98 RuntimeCBIDCudaD3D10ResourceGetMappedPointer RuntimeAPICBID = 99 RuntimeCBIDCudaD3D10ResourceGetMappedSize RuntimeAPICBID = 100 RuntimeCBIDCudaD3D10ResourceGetMappedPitch RuntimeAPICBID = 101 RuntimeCBIDCudaD3D9GetDevice RuntimeAPICBID = 102 RuntimeCBIDCudaD3D9GetDevices RuntimeAPICBID = 103 RuntimeCBIDCudaD3D9SetDirect3DDevice RuntimeAPICBID = 104 RuntimeCBIDCudaD3D9GetDirect3DDevice RuntimeAPICBID = 105 RuntimeCBIDCudaGraphicsD3D9RegisterResource RuntimeAPICBID = 106 RuntimeCBIDCudaD3D9RegisterResource RuntimeAPICBID = 107 RuntimeCBIDCudaD3D9UnregisterResource RuntimeAPICBID = 108 RuntimeCBIDCudaD3D9MapResources RuntimeAPICBID = 109 RuntimeCBIDCudaD3D9UnmapResources RuntimeAPICBID = 110 RuntimeCBIDCudaD3D9ResourceSetMapFlags RuntimeAPICBID = 111 RuntimeCBIDCudaD3D9ResourceGetSurfaceDimensions RuntimeAPICBID = 112 RuntimeCBIDCudaD3D9ResourceGetMappedArray RuntimeAPICBID = 113 RuntimeCBIDCudaD3D9ResourceGetMappedPointer RuntimeAPICBID = 114 RuntimeCBIDCudaD3D9ResourceGetMappedSize RuntimeAPICBID = 115 RuntimeCBIDCudaD3D9ResourceGetMappedPitch RuntimeAPICBID = 116 RuntimeCBIDCudaD3D9Begin RuntimeAPICBID = 117 RuntimeCBIDCudaD3D9End RuntimeAPICBID = 118 RuntimeCBIDCudaD3D9RegisterVertexBuffer RuntimeAPICBID = 119 RuntimeCBIDCudaD3D9UnregisterVertexBuffer RuntimeAPICBID = 120 RuntimeCBIDCudaD3D9MapVertexBuffer RuntimeAPICBID = 121 RuntimeCBIDCudaD3D9UnmapVertexBuffer RuntimeAPICBID = 122 RuntimeCBIDCudaStreamCreate RuntimeAPICBID = 129 RuntimeCBIDCudaStreamSynchronize RuntimeAPICBID = 131 RuntimeCBIDCudaStreamQuery RuntimeAPICBID = 132 RuntimeCBIDCudaEventCreate RuntimeAPICBID = 133 RuntimeCBIDCudaEventCreateWithFlags RuntimeAPICBID = 134 RuntimeCBIDCudaEventRecord RuntimeAPICBID = 135 RuntimeCBIDCudaEventDestroy RuntimeAPICBID = 136 RuntimeCBIDCudaEventSynchronize RuntimeAPICBID = 137 RuntimeCBIDCudaEventQuery RuntimeAPICBID = 138 RuntimeCBIDCudaMalloc3D RuntimeAPICBID = 140 RuntimeCBIDCudaMalloc3DArray RuntimeAPICBID = 141 RuntimeCBIDCudaMemset3D RuntimeAPICBID = 142 RuntimeCBIDCudaMemset3DAsync RuntimeAPICBID = 143 RuntimeCBIDCudaMemcpy3D RuntimeAPICBID = 144 RuntimeCBIDCudaMemcpy3DAsync RuntimeAPICBID = 145 RuntimeCBIDCudaStreamWaitEvent RuntimeAPICBID = 147 RuntimeCBIDCudaD3D11GetDirect3DDevice RuntimeAPICBID = 148 RuntimeCBIDCudaD3D10GetDirect3DDevice RuntimeAPICBID = 149 RuntimeCBIDCudaPointerGetAttributes RuntimeAPICBID = 151 RuntimeCBIDCudaHostRegister RuntimeAPICBID = 152 RuntimeCBIDCudaHostUnregister RuntimeAPICBID = 153 RuntimeCBIDCudaDeviceCanAccessPeer RuntimeAPICBID = 154 RuntimeCBIDCudaDeviceEnablePeerAccess RuntimeAPICBID = 155 RuntimeCBIDCudaDeviceDisablePeerAccess RuntimeAPICBID = 156 RuntimeCBIDCudaMemcpyPeer RuntimeAPICBID = 160 RuntimeCBIDCudaMemcpyPeerAsync RuntimeAPICBID = 161 RuntimeCBIDCudaMemcpy3DPeer RuntimeAPICBID = 162 RuntimeCBIDCudaMemcpy3DPeerAsync RuntimeAPICBID = 163 RuntimeCBIDCudaDeviceReset RuntimeAPICBID = 164 RuntimeCBIDCudaDeviceSynchronize RuntimeAPICBID = 165 RuntimeCBIDCudaDeviceGetLimit RuntimeAPICBID = 166 RuntimeCBIDCudaDeviceSetLimit RuntimeAPICBID = 167 RuntimeCBIDCudaDeviceGetCacheConfig RuntimeAPICBID = 168 RuntimeCBIDCudaDeviceSetCacheConfig RuntimeAPICBID = 169 RuntimeCBIDCudaProfilerStart RuntimeAPICBID = 171 RuntimeCBIDCudaProfilerStop RuntimeAPICBID = 172 RuntimeCBIDCudaDeviceGetByPCIBusId RuntimeAPICBID = 173 RuntimeCBIDCudaDeviceGetPCIBusId RuntimeAPICBID = 174 RuntimeCBIDCudaGLGetDevices RuntimeAPICBID = 175 RuntimeCBIDCudaIpcGetEventHandle RuntimeAPICBID = 176 RuntimeCBIDCudaIpcOpenEventHandle RuntimeAPICBID = 177 RuntimeCBIDCudaIpcGetMemHandle RuntimeAPICBID = 178 RuntimeCBIDCudaIpcOpenMemHandle RuntimeAPICBID = 179 RuntimeCBIDCudaIpcCloseMemHandle RuntimeAPICBID = 180 RuntimeCBIDCudaArrayGetInfo RuntimeAPICBID = 181 RuntimeCBIDCudaCreateTextureObject RuntimeAPICBID = 185 RuntimeCBIDCudaDestroyTextureObject RuntimeAPICBID = 186 RuntimeCBIDCudaGetTextureObjectResourceDesc RuntimeAPICBID = 187 RuntimeCBIDCudaGetTextureObjectTextureDesc RuntimeAPICBID = 188 RuntimeCBIDCudaCreateSurfaceObject RuntimeAPICBID = 189 RuntimeCBIDCudaDestroySurfaceObject RuntimeAPICBID = 190 RuntimeCBIDCudaGetSurfaceObjectResourceDesc RuntimeAPICBID = 191 RuntimeCBIDCudaMallocMipmappedArray RuntimeAPICBID = 192 RuntimeCBIDCudaGetMipmappedArrayLevel RuntimeAPICBID = 193 RuntimeCBIDCudaFreeMipmappedArray RuntimeAPICBID = 194 RuntimeCBIDCudaGraphicsResourceGetMappedMipmappedArray RuntimeAPICBID = 196 RuntimeCBIDCudaStreamAddCallback RuntimeAPICBID = 197 RuntimeCBIDCudaStreamCreateWithFlags RuntimeAPICBID = 198 RuntimeCBIDCudaGetTextureObjectResourceViewDesc RuntimeAPICBID = 199 RuntimeCBIDCudaDeviceGetAttribute RuntimeAPICBID = 200 RuntimeCBIDCudaStreamDestroy RuntimeAPICBID = 201 RuntimeCBIDCudaStreamCreateWithPriority RuntimeAPICBID = 202 RuntimeCBIDCudaStreamGetPriority RuntimeAPICBID = 203 RuntimeCBIDCudaStreamGetFlags RuntimeAPICBID = 204 RuntimeCBIDCudaDeviceGetStreamPriorityRange RuntimeAPICBID = 205 RuntimeCBIDCudaMallocManaged RuntimeAPICBID = 206 RuntimeCBIDCudaStreamAttachMemAsync RuntimeAPICBID = 208 RuntimeCBIDCudaGetErrorName RuntimeAPICBID = 209 RuntimeCBIDCudaOccupancyMaxActiveBlocksPerMultiprocessor RuntimeAPICBID = 210 RuntimeCBIDCudaLaunchKernel RuntimeAPICBID = 211 RuntimeCBIDCudaGetDeviceFlags RuntimeAPICBID = 212 RuntimeCBIDCudaLaunchKernelPtsz RuntimeAPICBID = 214 RuntimeCBIDCudaMemcpyPtds RuntimeAPICBID = 215 RuntimeCBIDCudaMemcpy2DPtds RuntimeAPICBID = 216 RuntimeCBIDCudaMemcpyToArrayPtds RuntimeAPICBID = 217 RuntimeCBIDCudaMemcpy2DToArrayPtds RuntimeAPICBID = 218 RuntimeCBIDCudaMemcpyFromArrayPtds RuntimeAPICBID = 219 RuntimeCBIDCudaMemcpy2DFromArrayPtds RuntimeAPICBID = 220 RuntimeCBIDCudaMemcpyArrayToArrayPtds RuntimeAPICBID = 221 RuntimeCBIDCudaMemcpy2DArrayToArrayPtds RuntimeAPICBID = 222 RuntimeCBIDCudaMemcpyToSymbolPtds RuntimeAPICBID = 223 RuntimeCBIDCudaMemcpyFromSymbolPtds RuntimeAPICBID = 224 RuntimeCBIDCudaMemcpyAsyncPtsz RuntimeAPICBID = 225 RuntimeCBIDCudaMemcpyToArrayAsyncPtsz RuntimeAPICBID = 226 RuntimeCBIDCudaMemcpyFromArrayAsyncPtsz RuntimeAPICBID = 227 RuntimeCBIDCudaMemcpy2DAsyncPtsz RuntimeAPICBID = 228 RuntimeCBIDCudaMemcpy2DToArrayAsyncPtsz RuntimeAPICBID = 229 RuntimeCBIDCudaMemcpy2DFromArrayAsyncPtsz RuntimeAPICBID = 230 RuntimeCBIDCudaMemcpyToSymbolAsyncPtsz RuntimeAPICBID = 231 RuntimeCBIDCudaMemcpyFromSymbolAsyncPtsz RuntimeAPICBID = 232 RuntimeCBIDCudaMemsetPtds RuntimeAPICBID = 233 RuntimeCBIDCudaMemset2DPtds RuntimeAPICBID = 234 RuntimeCBIDCudaMemsetAsyncPtsz RuntimeAPICBID = 235 RuntimeCBIDCudaMemset2DAsyncPtsz RuntimeAPICBID = 236 RuntimeCBIDCudaStreamGetPriorityPtsz RuntimeAPICBID = 237 RuntimeCBIDCudaStreamGetFlagsPtsz RuntimeAPICBID = 238 RuntimeCBIDCudaStreamSynchronizePtsz RuntimeAPICBID = 239 RuntimeCBIDCudaStreamQueryPtsz RuntimeAPICBID = 240 RuntimeCBIDCudaStreamAttachMemAsyncPtsz RuntimeAPICBID = 241 RuntimeCBIDCudaEventRecordPtsz RuntimeAPICBID = 242 RuntimeCBIDCudaMemset3DPtds RuntimeAPICBID = 243 RuntimeCBIDCudaMemset3DAsyncPtsz RuntimeAPICBID = 244 RuntimeCBIDCudaMemcpy3DPtds RuntimeAPICBID = 245 RuntimeCBIDCudaMemcpy3DAsyncPtsz RuntimeAPICBID = 246 RuntimeCBIDCudaStreamWaitEventPtsz RuntimeAPICBID = 247 RuntimeCBIDCudaStreamAddCallbackPtsz RuntimeAPICBID = 248 RuntimeCBIDCudaMemcpy3DPeerPtds RuntimeAPICBID = 249 RuntimeCBIDCudaMemcpy3DPeerAsyncPtsz RuntimeAPICBID = 250 RuntimeCBIDCudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags RuntimeAPICBID = 251 RuntimeCBIDCudaDeviceGetP2PAttribute RuntimeAPICBID = 255 RuntimeCBIDCudaGraphicsEGLRegisterImage RuntimeAPICBID = 256 RuntimeCBIDCudaEGLStreamConsumerConnect RuntimeAPICBID = 257 RuntimeCBIDCudaEGLStreamConsumerDisconnect RuntimeAPICBID = 258 RuntimeCBIDCudaEGLStreamConsumerAcquireFrame RuntimeAPICBID = 259 RuntimeCBIDCudaEGLStreamConsumerReleaseFrame RuntimeAPICBID = 260 RuntimeCBIDCudaEGLStreamProducerConnect RuntimeAPICBID = 261 RuntimeCBIDCudaEGLStreamProducerDisconnect RuntimeAPICBID = 262 RuntimeCBIDCudaEGLStreamProducerPresentFrame RuntimeAPICBID = 263 RuntimeCBIDCudaEGLStreamProducerReturnFrame RuntimeAPICBID = 264 RuntimeCBIDCudaGraphicsResourceGetMappedEglFrame RuntimeAPICBID = 265 RuntimeCBIDCudaMemRangeGetAttribute RuntimeAPICBID = 266 RuntimeCBIDCudaMemRangeGetAttributes RuntimeAPICBID = 267 RuntimeCBIDCudaEGLStreamConsumerConnectWithFlags RuntimeAPICBID = 268 RuntimeCBIDCudaLaunchCooperativeKernel RuntimeAPICBID = 269 RuntimeCBIDCudaLaunchCooperativeKernelPtsz RuntimeAPICBID = 270 RuntimeCBIDCudaEventCreateFromEGLSync RuntimeAPICBID = 271 RuntimeCBIDCudaFuncSetAttribute RuntimeAPICBID = 273 RuntimeCBIDCudaImportExternalMemory RuntimeAPICBID = 274 RuntimeCBIDCudaExternalMemoryGetMappedBuffer RuntimeAPICBID = 275 RuntimeCBIDCudaExternalMemoryGetMappedMipmappedArray RuntimeAPICBID = 276 RuntimeCBIDCudaDestroyExternalMemory RuntimeAPICBID = 277 RuntimeCBIDCudaImportExternalSemaphore RuntimeAPICBID = 278 RuntimeCBIDCudaDestroyExternalSemaphore RuntimeAPICBID = 283 RuntimeCBIDCudaLaunchHostFunc RuntimeAPICBID = 284 RuntimeCBIDCudaLaunchHostFuncPtsz RuntimeAPICBID = 285 RuntimeCBIDCudaGraphCreate RuntimeAPICBID = 286 RuntimeCBIDCudaGraphKernelNodeGetParams RuntimeAPICBID = 287 RuntimeCBIDCudaGraphKernelNodeSetParams RuntimeAPICBID = 288 RuntimeCBIDCudaGraphAddKernelNode RuntimeAPICBID = 289 RuntimeCBIDCudaGraphAddMemcpyNode RuntimeAPICBID = 290 RuntimeCBIDCudaGraphMemcpyNodeGetParams RuntimeAPICBID = 291 RuntimeCBIDCudaGraphMemcpyNodeSetParams RuntimeAPICBID = 292 RuntimeCBIDCudaGraphAddMemsetNode RuntimeAPICBID = 293 RuntimeCBIDCudaGraphMemsetNodeGetParams RuntimeAPICBID = 294 RuntimeCBIDCudaGraphMemsetNodeSetParams RuntimeAPICBID = 295 RuntimeCBIDCudaGraphAddHostNode RuntimeAPICBID = 296 RuntimeCBIDCudaGraphHostNodeGetParams RuntimeAPICBID = 297 RuntimeCBIDCudaGraphAddChildGraphNode RuntimeAPICBID = 298 RuntimeCBIDCudaGraphChildGraphNodeGetGraph RuntimeAPICBID = 299 RuntimeCBIDCudaGraphAddEmptyNode RuntimeAPICBID = 300 RuntimeCBIDCudaGraphClone RuntimeAPICBID = 301 RuntimeCBIDCudaGraphNodeFindInClone RuntimeAPICBID = 302 RuntimeCBIDCudaGraphNodeGetType RuntimeAPICBID = 303 RuntimeCBIDCudaGraphGetRootNodes RuntimeAPICBID = 304 RuntimeCBIDCudaGraphDestroyNode RuntimeAPICBID = 309 RuntimeCBIDCudaGraphLaunch RuntimeAPICBID = 311 RuntimeCBIDCudaGraphLaunchPtsz RuntimeAPICBID = 312 RuntimeCBIDCudaGraphExecDestroy RuntimeAPICBID = 313 RuntimeCBIDCudaGraphDestroy RuntimeAPICBID = 314 RuntimeCBIDCudaStreamBeginCapture RuntimeAPICBID = 315 RuntimeCBIDCudaStreamBeginCapturePtsz RuntimeAPICBID = 316 RuntimeCBIDCudaStreamIsCapturing RuntimeAPICBID = 317 RuntimeCBIDCudaStreamIsCapturingPtsz RuntimeAPICBID = 318 RuntimeCBIDCudaStreamEndCapture RuntimeAPICBID = 319 RuntimeCBIDCudaStreamEndCapturePtsz RuntimeAPICBID = 320 RuntimeCBIDCudaGraphHostNodeSetParams RuntimeAPICBID = 321 RuntimeCBIDCudaGraphGetNodes RuntimeAPICBID = 322 RuntimeCBIDCudaGraphExecKernelNodeSetParams RuntimeAPICBID = 326 RuntimeCBIDCudaThreadExchangeStreamCaptureMode RuntimeAPICBID = 327 RuntimeCBIDCudaDeviceGetNvSciSyncAttributes RuntimeAPICBID = 328 RuntimeCBIDCudaOccupancyAvailableDynamicSMemPerBlock RuntimeAPICBID = 329 RuntimeCBIDCudaGraphExecMemcpyNodeSetParams RuntimeAPICBID = 332 RuntimeCBIDCudaGraphExecMemsetNodeSetParams RuntimeAPICBID = 333 RuntimeCBIDCudaGraphExecHostNodeSetParams RuntimeAPICBID = 334 RuntimeCBIDCudaGraphExecUpdate RuntimeAPICBID = 335 RuntimeCBIDCudaGetFuncBySymbol RuntimeAPICBID = 336 RuntimeCBIDCudaCtxResetPersistingL2Cache RuntimeAPICBID = 337 RuntimeCBIDCudaGraphKernelNodeCopyAttributes RuntimeAPICBID = 338 RuntimeCBIDCudaGraphKernelNodeGetAttribute RuntimeAPICBID = 339 RuntimeCBIDCudaGraphKernelNodeSetAttribute RuntimeAPICBID = 340 RuntimeCBIDCudaStreamCopyAttributes RuntimeAPICBID = 341 RuntimeCBIDCudaStreamCopyAttributesPtsz RuntimeAPICBID = 342 RuntimeCBIDCudaStreamGetAttribute RuntimeAPICBID = 343 RuntimeCBIDCudaStreamGetAttributePtsz RuntimeAPICBID = 344 RuntimeCBIDCudaStreamSetAttribute RuntimeAPICBID = 345 RuntimeCBIDCudaStreamSetAttributePtsz RuntimeAPICBID = 346 RuntimeCBIDCudaDeviceGetTexture1DLinearMaxWidth RuntimeAPICBID = 347 RuntimeCBIDCudaGraphUpload RuntimeAPICBID = 348 RuntimeCBIDCudaGraphUploadPtsz RuntimeAPICBID = 349 RuntimeCBIDCudaGraphAddMemcpyNodeToSymbol RuntimeAPICBID = 350 RuntimeCBIDCudaGraphAddMemcpyNodeFromSymbol RuntimeAPICBID = 351 RuntimeCBIDCudaGraphAddMemcpyNode1D RuntimeAPICBID = 352 RuntimeCBIDCudaGraphMemcpyNodeSetParamsToSymbol RuntimeAPICBID = 353 RuntimeCBIDCudaGraphMemcpyNodeSetParamsFromSymbol RuntimeAPICBID = 354 RuntimeCBIDCudaGraphMemcpyNodeSetParams1D RuntimeAPICBID = 355 RuntimeCBIDCudaGraphExecMemcpyNodeSetParamsToSymbol RuntimeAPICBID = 356 RuntimeCBIDCudaGraphExecMemcpyNodeSetParamsFromSymbol RuntimeAPICBID = 357 RuntimeCBIDCudaGraphExecMemcpyNodeSetParams1D RuntimeAPICBID = 358 RuntimeCBIDCudaArrayGetSparseProperties RuntimeAPICBID = 359 RuntimeCBIDCudaMipmappedArrayGetSparseProperties RuntimeAPICBID = 360 RuntimeCBIDCudaGraphExecChildGraphNodeSetParams RuntimeAPICBID = 361 RuntimeCBIDCudaGraphAddEventRecordNode RuntimeAPICBID = 362 RuntimeCBIDCudaGraphEventRecordNodeGetEvent RuntimeAPICBID = 363 RuntimeCBIDCudaGraphEventRecordNodeSetEvent RuntimeAPICBID = 364 RuntimeCBIDCudaGraphAddEventWaitNode RuntimeAPICBID = 365 RuntimeCBIDCudaGraphEventWaitNodeGetEvent RuntimeAPICBID = 366 RuntimeCBIDCudaGraphEventWaitNodeSetEvent RuntimeAPICBID = 367 RuntimeCBIDCudaGraphExecEventRecordNodeSetEvent RuntimeAPICBID = 368 RuntimeCBIDCudaGraphExecEventWaitNodeSetEvent RuntimeAPICBID = 369 RuntimeCBIDCudaEventRecordWithFlags RuntimeAPICBID = 370 RuntimeCBIDCudaEventRecordWithFlagsPtsz RuntimeAPICBID = 371 RuntimeCBIDCudaDeviceGetDefaultMemPool RuntimeAPICBID = 372 RuntimeCBIDCudaMallocAsync RuntimeAPICBID = 373 RuntimeCBIDCudaMallocAsyncPtsz RuntimeAPICBID = 374 RuntimeCBIDCudaFreeAsync RuntimeAPICBID = 375 RuntimeCBIDCudaFreeAsyncPtsz RuntimeAPICBID = 376 RuntimeCBIDCudaMemPoolTrimTo RuntimeAPICBID = 377 RuntimeCBIDCudaMemPoolSetAttribute RuntimeAPICBID = 378 RuntimeCBIDCudaMemPoolGetAttribute RuntimeAPICBID = 379 RuntimeCBIDCudaMemPoolSetAccess RuntimeAPICBID = 380 RuntimeCBIDCudaArrayGetPlane RuntimeAPICBID = 381 RuntimeCBIDCudaMemPoolGetAccess RuntimeAPICBID = 382 RuntimeCBIDCudaMemPoolCreate RuntimeAPICBID = 383 RuntimeCBIDCudaMemPoolDestroy RuntimeAPICBID = 384 RuntimeCBIDCudaDeviceSetMemPool RuntimeAPICBID = 385 RuntimeCBIDCudaDeviceGetMemPool RuntimeAPICBID = 386 RuntimeCBIDCudaMemPoolExportPointer RuntimeAPICBID = 389 RuntimeCBIDCudaMemPoolImportPointer RuntimeAPICBID = 390 RuntimeCBIDCudaMallocFromPoolAsync RuntimeAPICBID = 391 RuntimeCBIDCudaMallocFromPoolAsyncPtsz RuntimeAPICBID = 392 RuntimeCBIDCudaSignalExternalSemaphoresAsync RuntimeAPICBID = 393 RuntimeCBIDCudaSignalExternalSemaphoresAsyncPtsz RuntimeAPICBID = 394 RuntimeCBIDCudaWaitExternalSemaphoresAsync RuntimeAPICBID = 395 RuntimeCBIDCudaWaitExternalSemaphoresAsyncPtsz RuntimeAPICBID = 396 RuntimeCBIDCudaGraphAddExternalSemaphoresSignalNode RuntimeAPICBID = 397 RuntimeCBIDCudaGraphExternalSemaphoresSignalNodeGetParams RuntimeAPICBID = 398 RuntimeCBIDCudaGraphExternalSemaphoresSignalNodeSetParams RuntimeAPICBID = 399 RuntimeCBIDCudaGraphAddExternalSemaphoresWaitNode RuntimeAPICBID = 400 RuntimeCBIDCudaGraphExternalSemaphoresWaitNodeGetParams RuntimeAPICBID = 401 RuntimeCBIDCudaGraphExternalSemaphoresWaitNodeSetParams RuntimeAPICBID = 402 RuntimeCBIDCudaGraphExecExternalSemaphoresSignalNodeSetParams RuntimeAPICBID = 403 RuntimeCBIDCudaGraphExecExternalSemaphoresWaitNodeSetParams RuntimeAPICBID = 404 RuntimeCBIDCudaDeviceFlushGPUDirectRDMAWrites RuntimeAPICBID = 405 RuntimeCBIDCudaGetDriverEntryPoint RuntimeAPICBID = 406 RuntimeCBIDCudaGetDriverEntryPointPtsz RuntimeAPICBID = 407 RuntimeCBIDCudaGraphDebugDotPrint RuntimeAPICBID = 408 RuntimeCBIDCudaUserObjectCreate RuntimeAPICBID = 413 RuntimeCBIDCudaUserObjectRetain RuntimeAPICBID = 414 RuntimeCBIDCudaUserObjectRelease RuntimeAPICBID = 415 RuntimeCBIDCudaGraphRetainUserObject RuntimeAPICBID = 416 RuntimeCBIDCudaGraphReleaseUserObject RuntimeAPICBID = 417 RuntimeCBIDCudaGraphInstantiateWithFlags RuntimeAPICBID = 418 RuntimeCBIDCudaGraphAddMemAllocNode RuntimeAPICBID = 419 RuntimeCBIDCudaGraphMemAllocNodeGetParams RuntimeAPICBID = 420 RuntimeCBIDCudaGraphAddMemFreeNode RuntimeAPICBID = 421 RuntimeCBIDCudaGraphMemFreeNodeGetParams RuntimeAPICBID = 422 RuntimeCBIDCudaDeviceGraphMemTrim RuntimeAPICBID = 423 RuntimeCBIDCudaDeviceGetGraphMemAttribute RuntimeAPICBID = 424 RuntimeCBIDCudaDeviceSetGraphMemAttribute RuntimeAPICBID = 425 RuntimeCBIDCudaGraphNodeSetEnabled RuntimeAPICBID = 426 RuntimeCBIDCudaGraphNodeGetEnabled RuntimeAPICBID = 427 RuntimeCBIDCudaArrayGetMemoryRequirements RuntimeAPICBID = 428 RuntimeCBIDCudaMipmappedArrayGetMemoryRequirements RuntimeAPICBID = 429 RuntimeCBIDCudaLaunchKernelExC RuntimeAPICBID = 430 RuntimeCBIDCudaLaunchKernelExCPtsz RuntimeAPICBID = 431 RuntimeCBIDCudaOccupancyMaxPotentialClusterSize RuntimeAPICBID = 432 RuntimeCBIDCudaOccupancyMaxActiveClusters RuntimeAPICBID = 433 RuntimeCBIDCudaGraphInstantiateWithParams RuntimeAPICBID = 436 RuntimeCBIDCudaGraphInstantiateWithParamsPtsz RuntimeAPICBID = 437 RuntimeCBIDCudaGraphExecGetFlags RuntimeAPICBID = 438 RuntimeCBIDCudaGetKernel RuntimeAPICBID = 439 RuntimeCBIDCudaGetDeviceProperties RuntimeAPICBID = 440 RuntimeCBIDCudaStreamGetId RuntimeAPICBID = 441 RuntimeCBIDCudaStreamGetIdPtsz RuntimeAPICBID = 442 RuntimeCBIDCudaGraphInstantiate RuntimeAPICBID = 443 RuntimeCBIDCudaInitDevice RuntimeAPICBID = 444 RuntimeCBIDCudaGraphNodeSetParams RuntimeAPICBID = 446 RuntimeCBIDCudaGraphExecNodeSetParams RuntimeAPICBID = 447 RuntimeCBIDCudaMemAdvise RuntimeAPICBID = 448 RuntimeCBIDCudaMemPrefetchAsync RuntimeAPICBID = 449 RuntimeCBIDCudaMemPrefetchAsyncPtsz RuntimeAPICBID = 450 RuntimeCBIDCudaFuncGetName RuntimeAPICBID = 451 RuntimeCBIDCudaStreamBeginCaptureToGraph RuntimeAPICBID = 452 RuntimeCBIDCudaStreamBeginCaptureToGraphPtsz RuntimeAPICBID = 453 RuntimeCBIDCudaGraphConditionalHandleCreate RuntimeAPICBID = 454 RuntimeCBIDCudaGraphGetEdges RuntimeAPICBID = 455 RuntimeCBIDCudaGraphNodeGetDependencies RuntimeAPICBID = 456 RuntimeCBIDCudaGraphNodeGetDependentNodes RuntimeAPICBID = 457 RuntimeCBIDCudaGraphAddDependencies RuntimeAPICBID = 458 RuntimeCBIDCudaGraphRemoveDependencies RuntimeAPICBID = 459 RuntimeCBIDCudaGraphAddNode RuntimeAPICBID = 460 RuntimeCBIDCudaStreamGetCaptureInfo RuntimeAPICBID = 461 RuntimeCBIDCudaStreamGetCaptureInfoPtsz RuntimeAPICBID = 462 RuntimeCBIDCudaStreamUpdateCaptureDependencies RuntimeAPICBID = 463 RuntimeCBIDCudaStreamUpdateCaptureDependenciesPtsz RuntimeAPICBID = 464 RuntimeCBIDCudaDeviceRegisterAsyncNotification RuntimeAPICBID = 465 RuntimeCBIDCudaDeviceUnregisterAsyncNotification RuntimeAPICBID = 466 RuntimeCBIDCudaFuncGetParamInfo RuntimeAPICBID = 467 RuntimeCBIDCudaGetDriverEntryPointByVersion RuntimeAPICBID = 468 RuntimeCBIDCudaGetDriverEntryPointByVersionPtsz RuntimeAPICBID = 469 RuntimeCBIDCudaLibraryLoadData RuntimeAPICBID = 470 RuntimeCBIDCudaLibraryLoadFromFile RuntimeAPICBID = 471 RuntimeCBIDCudaLibraryUnload RuntimeAPICBID = 472 RuntimeCBIDCudaLibraryGetKernel RuntimeAPICBID = 473 RuntimeCBIDCudaLibraryGetGlobal RuntimeAPICBID = 474 RuntimeCBIDCudaLibraryGetManaged RuntimeAPICBID = 475 RuntimeCBIDCudaLibraryGetUnifiedFunction RuntimeAPICBID = 476 RuntimeCBIDCudaLibraryGetKernelCount RuntimeAPICBID = 477 RuntimeCBIDCudaLibraryEnumerateKernels RuntimeAPICBID = 478 RuntimeCBIDCudaKernelSetAttributeForDevice RuntimeAPICBID = 479 RuntimeCBIDCudaStreamGetDevice RuntimeAPICBID = 480 RuntimeCBIDCudaStreamGetDevicePtsz RuntimeAPICBID = 481 RuntimeCBIDCudaEventElapsedTime RuntimeAPICBID = 486 RuntimeCBIDCudaMemPrefetchBatchAsync RuntimeAPICBID = 487 RuntimeCBIDCudaMemPrefetchBatchAsyncPtsz RuntimeAPICBID = 488 RuntimeCBIDCudaMemDiscardBatchAsync RuntimeAPICBID = 489 RuntimeCBIDCudaMemDiscardBatchAsyncPtsz RuntimeAPICBID = 490 RuntimeCBIDCudaMemDiscardAndPrefetchBatchAsync RuntimeAPICBID = 491 RuntimeCBIDCudaMemDiscardAndPrefetchBatchAsyncPtsz RuntimeAPICBID = 492 RuntimeCBIDCudaGetExportTable RuntimeAPICBID = 493 RuntimeCBIDCudaRegisterFatBinary RuntimeAPICBID = 494 RuntimeCBIDCudaRegisterFatBinaryEnd RuntimeAPICBID = 495 RuntimeCBIDCudaUnregisterFatBinary RuntimeAPICBID = 496 RuntimeCBIDCudaRegisterVar RuntimeAPICBID = 497 RuntimeCBIDCudaRegisterHostVar RuntimeAPICBID = 498 RuntimeCBIDCudaRegisterFunction RuntimeAPICBID = 499 RuntimeCBIDCudaRegisterManagedVar RuntimeAPICBID = 500 RuntimeCBIDCudaInitModule RuntimeAPICBID = 501 RuntimeCBIDCudaPushCallConfiguration RuntimeAPICBID = 502 RuntimeCBIDCudaPopCallConfiguration RuntimeAPICBID = 503 RuntimeAPICBIDRuntimeCBIDCudaGetKernel RuntimeAPICBID = 504 RuntimeAPICBIDRuntimeCBIDCudaLaunchKernel RuntimeAPICBID = 505 RuntimeAPICBIDRuntimeCBIDCudaLaunchKernelPtsz RuntimeAPICBID = 506 RuntimeCBIDCudaRegisterUnifiedTable RuntimeAPICBID = 507 RuntimeCBIDCudaGetProcAddress RuntimeAPICBID = 508 RuntimeCBIDCudaMemcpyBatchAsync RuntimeAPICBID = 509 RuntimeCBIDCudaMemcpyBatchAsyncPtsz RuntimeAPICBID = 510 RuntimeCBIDCudaMemcpy3DBatchAsync RuntimeAPICBID = 511 RuntimeCBIDCudaMemcpy3DBatchAsyncPtsz RuntimeAPICBID = 512 RuntimeCBIDCudaLogsRegisterCallback RuntimeAPICBID = 513 RuntimeCBIDCudaLogsUnregisterCallback RuntimeAPICBID = 514 RuntimeCBIDCudaLogsCurrent RuntimeAPICBID = 515 RuntimeCBIDCudaLogsDumpToFile RuntimeAPICBID = 516 RuntimeCBIDCudaLogsDumpToMemory RuntimeAPICBID = 517 RuntimeCBIDCudaMemGetDefaultMemPool RuntimeAPICBID = 518 RuntimeCBIDCudaMemGetMemPool RuntimeAPICBID = 519 RuntimeCBIDCudaMemSetMemPool RuntimeAPICBID = 520 RuntimeCBIDCudaDeviceGetHostAtomicCapabilities RuntimeAPICBID = 521 RuntimeCBIDCudaDeviceGetP2PAtomicCapabilities RuntimeAPICBID = 522 RuntimeCBIDCudaDeviceGetDevResource RuntimeAPICBID = 523 RuntimeCBIDCudaDevSmResourceSplitByCount RuntimeAPICBID = 524 RuntimeCBIDCudaDevResourceGenerateDesc RuntimeAPICBID = 525 RuntimeCBIDCudaGreenCtxCreate RuntimeAPICBID = 526 RuntimeCBIDCudaExecutionCtxDestroy RuntimeAPICBID = 527 RuntimeCBIDCudaExecutionCtxGetDevResource RuntimeAPICBID = 528 RuntimeCBIDCudaExecutionCtxGetDevice RuntimeAPICBID = 529 RuntimeCBIDCudaExecutionCtxGetId RuntimeAPICBID = 530 RuntimeCBIDCuda531 RuntimeAPICBID = 531 RuntimeCBIDCuda532 RuntimeAPICBID = 532 RuntimeCBIDCudaExecutionCtxStreamCreate RuntimeAPICBID = 533 RuntimeCBIDCudaExecutionCtxSynchronize RuntimeAPICBID = 534 RuntimeCBIDCudaGraphConditionalHandleCreateV2 RuntimeAPICBID = 535 RuntimeCBIDCudaStreamGetDevResource RuntimeAPICBID = 536 RuntimeCBIDCudaStreamGetDevResourcePtsz RuntimeAPICBID = 537 RuntimeCBIDCudaGraphNodeGetContainingGraph RuntimeAPICBID = 538 RuntimeCBIDCudaGraphNodeGetLocalId RuntimeAPICBID = 539 RuntimeCBIDCudaGraphNodeGetToolsId RuntimeAPICBID = 540 RuntimeCBIDCudaGraphGetId RuntimeAPICBID = 541 RuntimeCBIDCudaGraphExecGetId RuntimeAPICBID = 542 RuntimeCBIDCudaExecutionCtxRecordEvent RuntimeAPICBID = 543 RuntimeCBIDCudaExecutionCtxWaitEvent RuntimeAPICBID = 544 RuntimeCBIDCuda545 RuntimeAPICBID = 545 RuntimeCBIDCuda546 RuntimeAPICBID = 546 RuntimeCBIDCuda547 RuntimeAPICBID = 547 RuntimeCBIDCudaDeviceGetExecutionCtx RuntimeAPICBID = 548 RuntimeCBIDCudaDevSmResourceSplit RuntimeAPICBID = 549 RuntimeCBIDCudaLaunchHostFuncV2 RuntimeAPICBID = 550 RuntimeCBIDCudaLaunchHostFuncV2Ptsz RuntimeAPICBID = 551 RuntimeCBIDCudaFuncGetParamCount RuntimeAPICBID = 552 RuntimeCBIDCuda553 RuntimeAPICBID = 553 RuntimeCBIDCudaMemcpyWithAttributesAsync RuntimeAPICBID = 554 RuntimeCBIDCudaMemcpyWithAttributesAsyncPtsz RuntimeAPICBID = 555 RuntimeCBIDCudaMemcpy3DWithAttributesAsync RuntimeAPICBID = 556 RuntimeCBIDCudaMemcpy3DWithAttributesAsyncPtsz RuntimeAPICBID = 557 RuntimeCBIDCudaGraphNodeGetParams RuntimeAPICBID = 558 RuntimeCBIDCuda559 RuntimeAPICBID = 559 RuntimeCBIDCuda560 RuntimeAPICBID = 560 RuntimeCBIDCuda561 RuntimeAPICBID = 561 RuntimeCBIDCudaStreamBeginRecaptureToGraph RuntimeAPICBID = 562 RuntimeCBIDCudaStreamBeginRecaptureToGraphPtsz RuntimeAPICBID = 563 RuntimeCBIDCuda564 RuntimeAPICBID = 564 RuntimeCBIDCudaMemGetLocationInfo RuntimeAPICBID = 565 RuntimeCBIDCuda566 RuntimeAPICBID = 566 RuntimeCBIDSize RuntimeAPICBID = 567 RuntimeCBIDForceInt RuntimeAPICBID = 0x7fffffff // // Deprecated: Use RuntimeCBIDCuda559. CUDA 13.5 renamed SANITIZER_CBID_RUNTIME_API_reserved559; the value is unchanged. RuntimeCBIDReserved559 = RuntimeCBIDCuda559 // // Deprecated: Use RuntimeCBIDCuda560. CUDA 13.5 renamed SANITIZER_CBID_RUNTIME_API_reserved560; the value is unchanged. RuntimeCBIDReserved560 = RuntimeCBIDCuda560 // // Deprecated: Use RuntimeCBIDCuda561. CUDA 13.5 renamed SANITIZER_CBID_RUNTIME_API_reserved561; the value is unchanged. RuntimeCBIDReserved561 = RuntimeCBIDCuda561 // RuntimeCBIDCudaBindSurfaceToArray is SANITIZER_CBID_RUNTIME_API_cudaBindSurfaceToArray, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 61 for it. RuntimeCBIDCudaBindSurfaceToArray RuntimeAPICBID = 786493 // RuntimeCBIDCudaBindTexture is SANITIZER_CBID_RUNTIME_API_cudaBindTexture, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 55 for it. RuntimeCBIDCudaBindTexture RuntimeAPICBID = 786487 // RuntimeCBIDCudaBindTexture2D is SANITIZER_CBID_RUNTIME_API_cudaBindTexture2D, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 56 for it. RuntimeCBIDCudaBindTexture2D RuntimeAPICBID = 786488 // RuntimeCBIDCudaBindTextureToArray is SANITIZER_CBID_RUNTIME_API_cudaBindTextureToArray, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 57 for it. RuntimeCBIDCudaBindTextureToArray RuntimeAPICBID = 786489 // RuntimeCBIDCudaBindTextureToMipmappedArray is SANITIZER_CBID_RUNTIME_API_cudaBindTextureToMipmappedArray, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 195 for it. RuntimeCBIDCudaBindTextureToMipmappedArray RuntimeAPICBID = 786627 // RuntimeCBIDCudaEventElapsedTimeV2 is SANITIZER_CBID_RUNTIME_API_cudaEventElapsedTime_v2, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 486 for it. RuntimeCBIDCudaEventElapsedTimeV2 RuntimeAPICBID = 786918 // RuntimeCBIDCudaGetDevicePropertiesV1 is SANITIZER_CBID_RUNTIME_API_cudaGetDeviceProperties_v1, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 4 for it. RuntimeCBIDCudaGetDevicePropertiesV1 RuntimeAPICBID = 786436 // RuntimeCBIDCudaGetSurfaceReference is SANITIZER_CBID_RUNTIME_API_cudaGetSurfaceReference, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 62 for it. RuntimeCBIDCudaGetSurfaceReference RuntimeAPICBID = 786494 // RuntimeCBIDCudaGetTextureAlignmentOffset is SANITIZER_CBID_RUNTIME_API_cudaGetTextureAlignmentOffset, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 59 for it. RuntimeCBIDCudaGetTextureAlignmentOffset RuntimeAPICBID = 786491 // RuntimeCBIDCudaGetTextureReference is SANITIZER_CBID_RUNTIME_API_cudaGetTextureReference, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 60 for it. RuntimeCBIDCudaGetTextureReference RuntimeAPICBID = 786492 // RuntimeCBIDCudaGraphAddDependenciesV2 is SANITIZER_CBID_RUNTIME_API_cudaGraphAddDependencies_v2, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 458 for it. RuntimeCBIDCudaGraphAddDependenciesV2 RuntimeAPICBID = 786890 // RuntimeCBIDCudaGraphAddNodeV2 is SANITIZER_CBID_RUNTIME_API_cudaGraphAddNode_v2, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 460 for it. RuntimeCBIDCudaGraphAddNodeV2 RuntimeAPICBID = 786892 // RuntimeCBIDCudaGraphGetEdgesV2 is SANITIZER_CBID_RUNTIME_API_cudaGraphGetEdges_v2, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 455 for it. RuntimeCBIDCudaGraphGetEdgesV2 RuntimeAPICBID = 786887 // RuntimeCBIDCudaGraphNodeGetDependenciesV2 is SANITIZER_CBID_RUNTIME_API_cudaGraphNodeGetDependencies_v2, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 456 for it. RuntimeCBIDCudaGraphNodeGetDependenciesV2 RuntimeAPICBID = 786888 // RuntimeCBIDCudaGraphNodeGetDependentNodesV2 is SANITIZER_CBID_RUNTIME_API_cudaGraphNodeGetDependentNodes_v2, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 457 for it. RuntimeCBIDCudaGraphNodeGetDependentNodesV2 RuntimeAPICBID = 786889 // RuntimeCBIDCudaGraphRemoveDependenciesV2 is SANITIZER_CBID_RUNTIME_API_cudaGraphRemoveDependencies_v2, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 459 for it. RuntimeCBIDCudaGraphRemoveDependenciesV2 RuntimeAPICBID = 786891 // RuntimeCBIDCudaLaunchCooperativeKernelMultiDevice is SANITIZER_CBID_RUNTIME_API_cudaLaunchCooperativeKernelMultiDevice, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 272 for it. RuntimeCBIDCudaLaunchCooperativeKernelMultiDevice RuntimeAPICBID = 786704 // RuntimeCBIDCudaMemAdviseV1 is SANITIZER_CBID_RUNTIME_API_cudaMemAdvise_v1, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 254 for it. RuntimeCBIDCudaMemAdviseV1 RuntimeAPICBID = 786686 // RuntimeCBIDCudaMemPrefetchAsyncPtszV1 is SANITIZER_CBID_RUNTIME_API_cudaMemPrefetchAsync_ptsz_v1, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 253 for it. RuntimeCBIDCudaMemPrefetchAsyncPtszV1 RuntimeAPICBID = 786685 // RuntimeCBIDCudaMemPrefetchAsyncV1 is SANITIZER_CBID_RUNTIME_API_cudaMemPrefetchAsync_v1, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 252 for it. RuntimeCBIDCudaMemPrefetchAsyncV1 RuntimeAPICBID = 786684 // RuntimeCBIDCudaSetDoubleForDevice is SANITIZER_CBID_RUNTIME_API_cudaSetDoubleForDevice, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 124 for it. RuntimeCBIDCudaSetDoubleForDevice RuntimeAPICBID = 786556 // RuntimeCBIDCudaSetDoubleForHost is SANITIZER_CBID_RUNTIME_API_cudaSetDoubleForHost, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 125 for it. RuntimeCBIDCudaSetDoubleForHost RuntimeAPICBID = 786557 // RuntimeCBIDCudaSignalExternalSemaphoresAsyncPtszV1 is SANITIZER_CBID_RUNTIME_API_cudaSignalExternalSemaphoresAsync_ptsz_v1, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 280 for it. RuntimeCBIDCudaSignalExternalSemaphoresAsyncPtszV1 RuntimeAPICBID = 786712 // RuntimeCBIDCudaSignalExternalSemaphoresAsyncV1 is SANITIZER_CBID_RUNTIME_API_cudaSignalExternalSemaphoresAsync_v1, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 279 for it. RuntimeCBIDCudaSignalExternalSemaphoresAsyncV1 RuntimeAPICBID = 786711 // RuntimeCBIDCudaStreamGetCaptureInfoV2 is SANITIZER_CBID_RUNTIME_API_cudaStreamGetCaptureInfo_v2, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 409 for it. RuntimeCBIDCudaStreamGetCaptureInfoV2 RuntimeAPICBID = 786841 // RuntimeCBIDCudaStreamGetCaptureInfoV2Ptsz is SANITIZER_CBID_RUNTIME_API_cudaStreamGetCaptureInfo_v2_ptsz, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 410 for it. RuntimeCBIDCudaStreamGetCaptureInfoV2Ptsz RuntimeAPICBID = 786842 // RuntimeCBIDCudaStreamGetCaptureInfoV3 is SANITIZER_CBID_RUNTIME_API_cudaStreamGetCaptureInfo_v3, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 461 for it. RuntimeCBIDCudaStreamGetCaptureInfoV3 RuntimeAPICBID = 786893 // RuntimeCBIDCudaStreamGetCaptureInfoV3Ptsz is SANITIZER_CBID_RUNTIME_API_cudaStreamGetCaptureInfo_v3_ptsz, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 462 for it. RuntimeCBIDCudaStreamGetCaptureInfoV3Ptsz RuntimeAPICBID = 786894 // RuntimeCBIDCudaStreamUpdateCaptureDependenciesV2 is SANITIZER_CBID_RUNTIME_API_cudaStreamUpdateCaptureDependencies_v2, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 463 for it. RuntimeCBIDCudaStreamUpdateCaptureDependenciesV2 RuntimeAPICBID = 786895 // RuntimeCBIDCudaStreamUpdateCaptureDependenciesV2Ptsz is SANITIZER_CBID_RUNTIME_API_cudaStreamUpdateCaptureDependencies_v2_ptsz, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 464 for it. RuntimeCBIDCudaStreamUpdateCaptureDependenciesV2Ptsz RuntimeAPICBID = 786896 // RuntimeCBIDCudaThreadExit is SANITIZER_CBID_RUNTIME_API_cudaThreadExit, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 123 for it. RuntimeCBIDCudaThreadExit RuntimeAPICBID = 786555 // RuntimeCBIDCudaThreadGetCacheConfig is SANITIZER_CBID_RUNTIME_API_cudaThreadGetCacheConfig, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 150 for it. RuntimeCBIDCudaThreadGetCacheConfig RuntimeAPICBID = 786582 // RuntimeCBIDCudaThreadGetLimit is SANITIZER_CBID_RUNTIME_API_cudaThreadGetLimit, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 127 for it. RuntimeCBIDCudaThreadGetLimit RuntimeAPICBID = 786559 // RuntimeCBIDCudaThreadSetCacheConfig is SANITIZER_CBID_RUNTIME_API_cudaThreadSetCacheConfig, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 146 for it. RuntimeCBIDCudaThreadSetCacheConfig RuntimeAPICBID = 786578 // RuntimeCBIDCudaThreadSetLimit is SANITIZER_CBID_RUNTIME_API_cudaThreadSetLimit, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 128 for it. RuntimeCBIDCudaThreadSetLimit RuntimeAPICBID = 786560 // RuntimeCBIDCudaThreadSynchronize is SANITIZER_CBID_RUNTIME_API_cudaThreadSynchronize, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 126 for it. RuntimeCBIDCudaThreadSynchronize RuntimeAPICBID = 786558 // RuntimeCBIDCudaUnbindTexture is SANITIZER_CBID_RUNTIME_API_cudaUnbindTexture, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 58 for it. RuntimeCBIDCudaUnbindTexture RuntimeAPICBID = 786490 // RuntimeCBIDCudaWaitExternalSemaphoresAsyncPtszV1 is SANITIZER_CBID_RUNTIME_API_cudaWaitExternalSemaphoresAsync_ptsz_v1, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 282 for it. RuntimeCBIDCudaWaitExternalSemaphoresAsyncPtszV1 RuntimeAPICBID = 786714 // RuntimeCBIDCudaWaitExternalSemaphoresAsyncV1 is SANITIZER_CBID_RUNTIME_API_cudaWaitExternalSemaphoresAsync_v1, which only CUDA 12 declares. // CUDA 12 only: a CUDA 12 library uses 281 for it. RuntimeCBIDCudaWaitExternalSemaphoresAsyncV1 RuntimeAPICBID = 786713 )
func (RuntimeAPICBID) String ¶
func (e RuntimeAPICBID) String() string
String returns the constant name, or a numeric representation for unknown values.
type StreamHandle ¶
type StreamHandle uintptr
StreamHandle is an opaque handle for Sanitizer_StreamHandle.
func GetStreamHandle ¶
GetStreamHandle retrieves a StreamHandle handle from a driver.Stream handle
- ctx (in): Context owning the stream. If NULL, the current context will be used
- stream (in): driver.Stream handle. If NULL, the NULL stream will be used
Errors:
- ErrInvalidParameter: if stream is not a valid driver.Stream handle or if hStream is NULL.
Wraps sanitizerGetStreamHandle.
func (StreamHandle) MemcpyDeviceToHost ¶
MemcpyDeviceToHost copies data from device to host.
Equivalent of cudaMemcpy that can be called within a callback function. The function will return once the copy has completed.
- dst: Destination memory address
- src: Source memory address
- count: Size in bytes to copy
Wraps sanitizerMemcpyDeviceToHost.
func (StreamHandle) MemcpyHostToDeviceAsync ¶
MemcpyHostToDeviceAsync copies data from host to device.
Equivalent of cudaMemcpyAsync that can be called within a callback function. The function will return once the pageable buffer has been copied to the staging memory for DMA transfer to device memory, but the DMA to final destination may not have completed.
- dst: Destination memory address
- src: Source memory address
- count: Size in bytes to copy
Wraps sanitizerMemcpyHostToDeviceAsync.
func (StreamHandle) Memset ¶
func (s StreamHandle) Memset(devPtr uintptr, value int32, count uint) error
Memset initializes or sets device memory to a value.
Equivalent of cudaMemset that can be called within a callback function.
- devPtr: Pointer to device memory
- value: value to set for each byte of specified memory
- count: Size in bytes to set
Wraps sanitizerMemset.
func (StreamHandle) SetDeviceGraphData ¶
func (s StreamHandle) SetDeviceGraphData(graphExec GraphExec, userdata uintptr) error
SetDeviceGraphData specifies the user data pointer accessible from callbacks in the device-launched graphs launched by the specified host-launched graphExec.
Mark all subsequent launch of graphExec to make available userdata in device callbacks from device-launched graphs. userdata will not be set in the callback userdata parameter but must be accessed through another mean instead. Please refer to the Sanitizer API reference manual. This function is only available if the driver version is 535 or newer.
- graphExec: CUDA graphExec that will launch CUDA graphs from the device
- userdata: Device memory buffer
Wraps sanitizerSetDeviceGraphData.
func (StreamHandle) Stream ¶
func (s StreamHandle) Stream() (driver.Stream, error)
Stream retrieves a driver.Stream handle from a StreamHandle handle.
- stream (out): Output driver.Stream handle
Errors:
- ErrInvalidParameter: if hStream is not a valid Sanitizer stream handle or if stream is NULL.
Wraps sanitizerGetStream.
func (StreamHandle) Synchronize ¶
func (s StreamHandle) Synchronize() error
Synchronize synchronizes a given stream.
Equivalent of cudaStreamSynchronize that can be called with a sanitizer stream handle ¶
Wraps sanitizerStreamSynchronize.
type Subscriber ¶
type Subscriber uintptr
Subscriber is an opaque handle for Sanitizer_SubscriberHandle.
func Subscribe ¶
func Subscribe(callback uintptr, userdata uintptr) (Subscriber, error)
Subscribe initializes a callback subscriber with a callback function and user data.
Initialize a callback subscriber with a callback function and (optionally) a pointer to user data. The returned subscriber handle can be used to enable and disable the callback for specific domains and callback IDs.
- callback: The callback function (see CallbackFunc)
- userdata: A pointer to user data. This data will be passed to the callback function via the userdata parameter
Errors:
- ErrNotInitialized: if unable to initialize the sanitizer.
- SANITIZER_ERROR_MAX_LIMIT_RACHED: if there is already a sanitizer subscriber.
- ErrInvalidParameter: if subscriber is NULL.
Wraps sanitizerSubscribe.
func (Subscriber) CallbackState ¶
func (s Subscriber) CallbackState(domain CallbackDomain, cbid uint32) (uint32, error)
CallbackState gets the current enabled/disabled state of a callback for a specific domain and function ID.
Returns non-zero if the callback for a domain and callback ID is enabled, and zero if not enabled.
Subscriber.CallbackState, Subscriber.EnableCallback, Subscriber.EnableDomain, and Subscriber.EnableAllDomains. For example, if Subscriber.CallbackState(sub, d, c) and Subscriber.EnableCallback(sub, d, c) are called concurrently, the results are undefined.
- enable: Returns non-zero if callback enabled, zero if not enabled
- domain: The domain of the callback
- cbid: The ID of the callback
Errors:
- ErrNotInitialized: if unable to initialize the sanitizer.
- ErrInvalidParameter: if enabled is NULL, or if subscriber, domain or cbid is invalid.
Wraps sanitizerGetCallbackState.
func (Subscriber) EnableAllDomains ¶
func (s Subscriber) EnableAllDomains(enable uint32) error
EnableAllDomains enables or disables all callbacks in all domains.
Subscriber.CallbackState, Subscriber.EnableCallback, Subscriber.EnableDomain, and Subscriber.EnableAllDomains. For example, if Subscriber.CallbackState(sub, d, *) and Subscriber.EnableAllDomains(sub) are called concurrently, the results are undefined.
- enable: New enable state for all callbacks in all domains. Zero disables all callbacks, non-zero enables all callbacks
Errors:
- ErrNotInitialized: if unable to initialize the sanitizer.
- ErrInvalidParameter: if subscriber is invalid.
Wraps sanitizerEnableAllDomains.
func (Subscriber) EnableCallback ¶
func (s Subscriber) EnableCallback(enable uint32, domain CallbackDomain, cbid uint32) error
EnableCallback enables or disables callbacks for a specific domain and callback ID
Enable or disable callbacks for a subscriber for a specific domain and callback ID.
Subscriber.CallbackState, Subscriber.EnableCallback, Subscriber.EnableDomain, and Subscriber.EnableAllDomains. For example, if Subscriber.CallbackState(sub, d, c) and Subscriber.EnableCallback(sub, d, c) are called concurrently, the results are undefined.
- enable: New enable state for the callback. Zero disables the callback, non-zero enables the callback
- domain: The domain of the callback
- cbid: The ID of the callback
Errors:
- ErrNotInitialized: if unable to initialize the sanitizer.
- ErrInvalidParameter: if subscriber, domain or cbid is invalid.
Wraps sanitizerEnableCallback.
func (Subscriber) EnableDomain ¶
func (s Subscriber) EnableDomain(enable uint32, domain CallbackDomain) error
EnableDomain enables or disables all callbacks for a specific domain.
Subscriber.CallbackState, Subscriber.EnableCallback, Subscriber.EnableDomain, and Subscriber.EnableAllDomains. For example, if sanitizerGetCallbackEnabled(sub, d, *) and Subscriber.EnableDomain(sub, d) are called concurrently, the results are undefined.
- enable: New enable state for all callbacks in the domain. Zero disables all callbacks, non-zero enables all callbacks
- domain: The domain of the callback
Errors:
- ErrNotInitialized: if unable to initialize the sanitizer.
- ErrInvalidParameter: if subscriber or domain is invalid.
Wraps sanitizerEnableDomain.
func (Subscriber) Unsubscribe ¶
func (s Subscriber) Unsubscribe() error
Unsubscribe unregisters a callback subscriber.
Removes a callback subscriber so that no future callback will be issued to that subscriber.
Errors:
- ErrNotInitialized: if unable to initialize the sanitizer.
- ErrInvalidParameter: if subscriber is NULL or not initialized.
Wraps sanitizerUnsubscribe.
type Subscription ¶
type Subscription struct {
// contains filtered or unexported fields
}
A Subscription is one registered callback subscriber.
One subscriber per process ¶
The native API admits at most one active subscriber at a time. A second sanitizerSubscribe while one is live fails with SANITIZER_ERROR_MAX_LIMIT_REACHED, reported here as ErrMaxLimitReached. SubscribeFunc does not pre-check that condition and does not serialize callers behind a Go-side "is one already active" flag: the library is the authority on whether a subscriber exists, including subscribers registered by code this package never sees (a preloaded tool, a C library in the same process). A Go-side check would either duplicate that answer or contradict it, and contradicting it would replace the real error with an invented one.
The single-subscriber rule is why this type exists at all rather than a bare Subscriber handle: a *Subscription is an owned resource with an Subscription.Unsubscribe that must be called, which is harder to misread as something you can freely make a second of.
Subscribe before CUDA ¶
For complete reporting, subscribe before the process makes any CUDA call. Callbacks describe events the sanitizer observes from the point of subscription onward; contexts, modules and allocations created earlier are not replayed. In a Go program that generally means subscribing from an init function, or from main before any package touches the driver. Note that another package's init can beat main to the driver.
Calling CUDA from inside a callback ¶
The headers state that there are restrictions on calling CUDA functions from within a callback, and supply a small set of sanitizer-provided replacements meant to be used instead: StreamHandle.MemcpyDeviceToHost, StreamHandle.MemcpyHostToDeviceAsync, StreamHandle.Memset, StreamHandle.Synchronize, Alloc, AllocHost, Free and FreeHost, each documented as "can be called within a callback function".
The pinned headers do not state the complete rule. They do not enumerate which CUDA entry points are safe, nor define the behavior of calling one that is not. This package therefore does not document a rule it cannot support: use the sanitizer-provided replacements above, treat any other CUDA call from inside a callback as unspecified, and consult the Sanitizer API reference manual for the release you are running against. IsInsideRecursiveCallback exists to let a callback detect that it was reached from within another callback.
Concurrency ¶
The headers state that the enable and query calls are not thread safe with respect to each other, and that concurrent use gives undefined results. The methods on *Subscription hold a mutex so that concurrent calls through one Subscription are serialized. That does not extend to calls made through the raw Subscriber handle from Subscription.Handle, which are outside this type's control.
func SubscribeFunc ¶
func SubscribeFunc(fn CallbackFunc, userdata uintptr) (*Subscription, error)
SubscribeFunc registers fn as the process's callback subscriber and returns the resulting subscription.
No callback is delivered until a domain is enabled; see Subscription.EnableDomain and Subscription.EnableAllDomains. Subscribe before the process makes any CUDA call, and read Subscription for the single-subscriber rule and the restrictions that apply inside fn.
userdata is passed back to fn unchanged on every callback. It must not be a Go pointer. The library stores it and hands it back from a C thread, which is exactly the case Go's cgo pointer rules forbid: the collector cannot see the copy the library holds, so a Go pointer parked there can be moved or collected while the library still has it. Pass an index, a handle, or a pointer into memory the library or the C allocator owns, and keep the Go state in a package-level map keyed by that value.
fn is kept alive by this package for the whole subscription and dropped by Subscription.Unsubscribe. Its cbdata argument points into memory the library owns and is valid only for the duration of the call: copy out anything needed afterwards. In particular the functionParams field of a driver or runtime API callback must not be dereferenced after fn returns.
If the library is missing, SubscribeFunc returns the loader's error; if the symbol is missing it returns *SymbolError; if a subscriber already exists it returns the library's own ErrMaxLimitReached. A library older than CUDA 12.2, whose runtime callback IDs this package cannot translate, is unsubscribed again and reported as an error. It never panics.
Example (SecondSubscriber) ¶
ExampleSubscribeFunc_secondSubscriber shows that the one-subscriber-per-process rule is enforced by the library, not by this package: a second subscribe returns the library's own ErrMaxLimitReached.
package main
import (
"errors"
"fmt"
"log"
"sync/atomic"
"unsafe"
"github.com/tmc/lib/nvidia/sanitizer"
)
// allocated counts device allocations the sanitizer reported. It is a
// package-level variable, and the callback touches nothing else, because the
// callback runs on a thread this package did not create.
var allocated atomic.Int64
// onCallback is invoked by the sanitizer for every enabled callback point.
//
// cbdata points into memory the library owns. It is valid only for the
// duration of this call, so anything worth keeping is copied out here.
func onCallback(userdata uintptr, domain sanitizer.CallbackDomain, cbid uint32, cbdata unsafe.Pointer) {
if domain != sanitizer.CbDomainResource {
return
}
if sanitizer.CallbackIdResource(cbid) != sanitizer.CbidResourceDeviceMemoryAlloc {
return
}
data := *(*sanitizer.ResourceMemoryData)(cbdata)
allocated.Add(int64(data.Size))
}
func main() {
first, err := sanitizer.SubscribeFunc(onCallback, 0)
if err != nil {
log.Fatal(err)
}
defer first.Unsubscribe()
_, err = sanitizer.SubscribeFunc(onCallback, 0)
if errors.Is(err, sanitizer.ErrMaxLimitReached) {
fmt.Println("a subscriber already exists in this process")
}
}
Output:
func (*Subscription) CallbackState ¶
func (s *Subscription) CallbackState(domain CallbackDomain, cbid uint32) (bool, error)
CallbackState reports whether one callback in one domain is enabled. A runtime API cbid is a RuntimeAPICBID; see CallbackFunc.
func (*Subscription) EnableAllDomains ¶
func (s *Subscription) EnableAllDomains(enable bool) error
EnableAllDomains enables or disables every callback in every domain.
func (*Subscription) EnableCallback ¶
func (s *Subscription) EnableCallback(enable bool, domain CallbackDomain, cbid uint32) error
EnableCallback enables or disables one callback in one domain. A runtime API cbid is a RuntimeAPICBID; see CallbackFunc.
func (*Subscription) EnableDomain ¶
func (s *Subscription) EnableDomain(enable bool, domain CallbackDomain) error
EnableDomain enables or disables every callback in domain.
func (*Subscription) Handle ¶
func (s *Subscription) Handle() Subscriber
Handle returns the raw subscriber handle, for the generated Subscriber methods and for calls this type does not wrap.
Calls made through the handle bypass the mutex documented on Subscription and take runtime callback IDs in the library's own numbering, not this package's; unsubscribing through it leaves this Subscription believing it still owns a live subscriber.
func (*Subscription) Unsubscribe ¶
func (s *Subscription) Unsubscribe() error
Unsubscribe removes the subscriber and drops the callback.
It is idempotent: the underlying sanitizerUnsubscribe runs once and every later call returns that first result. After it returns, the library issues no further callbacks; a callback still executing when it is called runs to completion, and one that somehow reaches the trampoline afterwards finds an empty handler slot and returns without calling Go code.
The C-callable trampoline address is not freed, because purego cannot free one. What is released is the reference to the Go function, which is what keeps the callback's captured state alive.
type SymbolError ¶
SymbolError reports that a symbol is not callable.
Err distinguishes the two ways that happens. A nil Err means the loaded library does not export the symbol, which is what an installation older than the symbol looks like. A non-nil Err means the library does export it and the binding itself failed; the library is not at fault.
func (*SymbolError) Error ¶
func (e *SymbolError) Error() string
Error reports the uncallable library symbol and, when the symbol was present but could not be bound, why.
func (*SymbolError) Unwrap ¶
func (e *SymbolError) Unwrap() error
Unwrap returns the reason the symbol could not be bound, or nil when the loaded library does not export it.
type SynchronizeData ¶
type SynchronizeData struct {
Context driver.Context
Stream driver.Stream
HStream StreamHandle
// Zero on releases before CUDA 13.1.
GreenContext GreenContext
}
SynchronizeData represents data passed into a synchronization callback function.
Data passed into a synchronization callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal to CbDomainSynchronize. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type UvmData ¶
type UvmData struct {
Context driver.Context
Visibility MemoryVisibility
Stream driver.Stream
HStream StreamHandle
Address uint64
}
UvmData represents data passed into a managed memory callback function.
Data passed into a managed memory callback function as the cbdata argument to CallbackFunc. The cbdata will be this type for domain equal to CbDomainUvm. The callback data is only valid within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of it.
type WarpgroupMMAAsyncFlags ¶
type WarpgroupMMAAsyncFlags int32
WarpgroupMMAAsyncFlags represents flags describing a warpgroup aligned MMA async.
Flags describing a warpgroup aligned MMA async. These values are to be or-combined in the value of \b flags for a SanitizerCallbackWarpgroupMMAAsync callback.
const ( WarpgroupMmaAsyncFlagNone WarpgroupMMAAsyncFlags = 0 // Empty flag. WarpgroupMmaAsyncFlagCommitGroup WarpgroupMMAAsyncFlags = 0x1 // Specifies that the MMA async delimits a MMA async group of which it is the last instruction. Please refer to the PTX documentation for wgmma_async.commit_group for more details. This property is valid even if the warpMask is zero. WarpgroupMmaAsyncFlagForceInt WarpgroupMMAAsyncFlags = 0x7fffffff )
func (WarpgroupMMAAsyncFlags) String ¶
func (e WarpgroupMMAAsyncFlags) String() string
String returns the constant name, or a numeric representation for unknown values.