Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ getCudaDriverVersion
Function
getCudaDriverVersion
samples/common/sampleDevice.h:538–543 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
536
}
537
538
inline int32_t getCudaDriverVersion()
539
{
540
int32_t version{-1};
541
cudaCheck(cudaDriverGetVersion(&version));
542
return version;
543
}
544
545
inline int32_t getCudaRuntimeVersion()
546
{
Callers
1
main
Function · 0.85
Calls
1
cudaCheck
Function · 0.85
Tested by
no test coverage detected