MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / split_string

Function split_string

src/include/migraphx/stringutils.hpp:86–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86inline std::vector<std::string> split_string(const std::string& s, char delim)
87{
88 std::vector<std::string> elems;
89 std::stringstream ss(s + delim);
90 std::string item;
91 while(std::getline(ss, item, delim))
92 {
93 elems.push_back(item);
94 }
95 return elems;
96}
97
98template <class F>
99std::string trim(const std::string& s, F f)

Callers 15

TEST_CASEFunction · 0.85
applyMethod · 0.85
is_pass_disabledFunction · 0.85
get_compute_fp32_flagFunction · 0.85
MIGRAPHX_PRED_MATCHERFunction · 0.85
get_usageFunction · 0.85
MIGRAPHX_PRED_MATCHERFunction · 0.85
dump_tuning_cfgMethod · 0.85
load_tuning_tableMethod · 0.85
compile_hip_srcFunction · 0.85

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected