MCPcopy 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
538inline int32_t getCudaDriverVersion()
539{
540 int32_t version{-1};
541 cudaCheck(cudaDriverGetVersion(&version));
542 return version;
543}
544
545inline int32_t getCudaRuntimeVersion()
546{

Callers 1

mainFunction · 0.85

Calls 1

cudaCheckFunction · 0.85

Tested by

no test coverage detected