MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / GetValueString

Method GetValueString

Common/param.h:99–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 int GetIntValue() { return (int)*m_ptr; }
98
99 std::string GetValueString() {
100 std::ostringstream ost;
101 ost << std::setprecision(m_precision) << std::fixed;
102 ost << *m_ptr;
103 return ost.str();
104 }
105
106 void SetPrecision(int x) { m_precision = x; }
107

Callers 1

RenderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected