Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ getCudaRuntimeVersion
Function
getCudaRuntimeVersion
samples/common/sampleDevice.h:545–550 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
543
}
544
545
inline int32_t getCudaRuntimeVersion()
546
{
547
int32_t version{-1};
548
cudaCheck(cudaRuntimeGetVersion(&version));
549
return version;
550
}
551
552
} // namespace sample
553
Callers
1
main
Function · 0.85
Calls
1
cudaCheck
Function · 0.85
Tested by
no test coverage detected