MCPcopy Create free account
hub / github.com/ARM-software/armnn / EncodeVersion

Function EncodeVersion

profiling/common/include/EncodeVersion.hpp:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16{
17
18constexpr inline uint32_t EncodeVersion(uint32_t major, uint32_t minor, uint32_t patch)
19{
20 return (major << 22) | (minor << 12) | patch;
21}
22
23// Encodes a semantic version https://semver.org/ into a 32 bit integer in the following fashion
24//

Callers 3

GetEncodedValueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected