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§
- Driver
Entry Point - Typed outcome of
driver_entry_point.statusmirrors thecudaDriverEntryPointQueryResultenum 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 (mirrorscuGetProcAddress).