MCPcopy Create free account
hub / github.com/NVIDIA/cuda-tile / toString

Method toString

include/cuda_tile/Bytecode/Common/Version.h:67–71  ·  view source on GitHub ↗

Convert the version to a human-readable string format.

Source from the content-addressed store, hash-verified

65
66 /// Convert the version to a human-readable string format.
67 std::string toString() const {
68 if (verTag)
69 return llvm::formatv("{0}.{1}.{2}", verMajor, verMinor, verTag).str();
70 return llvm::formatv("{0}.{1}", verMajor, verMinor).str();
71 }
72
73 //===--------------------------------------------------------------------===//
74 // Version Definitions

Callers 1

Version.hFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected