MCPcopy 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
545inline int32_t getCudaRuntimeVersion()
546{
547 int32_t version{-1};
548 cudaCheck(cudaRuntimeGetVersion(&version));
549 return version;
550}
551
552} // namespace sample
553

Callers 1

mainFunction · 0.85

Calls 1

cudaCheckFunction · 0.85

Tested by

no test coverage detected