MCPcopy Create free account
hub / github.com/NVIDIA/DALI / MakeVersionNumber

Function MakeVersionNumber

include/dali/core/version_util.h:34–39  ·  view source on GitHub ↗

gets single int that can be represented as int value

Source from the content-addressed store, hash-verified

32
33// gets single int that can be represented as int value
34constexpr int MakeVersionNumber(int major, int minor, int patch = 0) {
35 if (major < 0 || minor < 0 || patch < 0) {
36 return -1;
37 }
38 return major*1000 + minor*10 + patch;
39}
40
41} // namespace dali
42

Callers 4

ParseSampleDescFunction · 0.85
ParseIndexVersionFunction · 0.85
NPPGetVersionFunction · 0.85
cufftGetVersionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected