MCPcopy Create free account
hub / github.com/NVIDIA/cutlass / lexical_cast

Function lexical_cast

tools/profiler/src/problem_space.cpp:51–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50template <typename T>
51static T lexical_cast(std::string const &str) {
52 std::stringstream ss;
53 T value;
54
55 ss << str;
56 ss >> value;
57
58 return value;
59}
60
61/////////////////////////////////////////////////////////////////////////////////////////////////
62

Callers 1

arg_as_scalarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected