Skip to main content

Module driver_entry

Module driver_entry 

Source
Expand description

Runtime-to-Driver entry-point bridge — cudaGetDriverEntryPoint.

Most code using this crate goes through the typed Driver loader in baracuda-driver. The runtime’s cudaGetDriverEntryPoint is useful for one narrow case: asking the installed runtime which driver symbol name / fptr it would resolve for a given API, without touching libcuda directly. Handy for diagnostic tools and for picking up versioned symbol variants (_ptsz, _v2, …).

Structs§

DriverEntryPoint
Typed outcome of driver_entry_point. status mirrors the cudaDriverEntryPointQueryResult enum reported by the runtime: 0 = Success, 1 = SymbolNotFound, 2 = VersionNotSufficient.

Functions§

driver_entry_point
Resolve a Driver-API symbol by name through the Runtime API (cudaGetDriverEntryPoint). flags = 0 = default; bit 0 = legacy stream, bit 1 = per-thread stream (mirrors cuGetProcAddress).