MCPcopy Create free account
hub / github.com/AdaptiveCpp/AdaptiveCpp / to_string

Function to_string

src/runtime/kernel_configuration.cpp:86–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84
85
86std::string to_string(kernel_build_flag f) {
87 const auto& map = string_build_config_mapper::get().build_flag_to_string_map();
88 auto it = map.find(f);
89 if(it == map.end())
90 return {};
91 return it->second;
92}
93
94std::string to_string(kernel_build_option o) {
95 const auto& map = string_build_config_mapper::get().build_option_to_string_map();

Callers 15

list_device_detailsFunction · 0.85
addABITagFunction · 0.85
hiprtcJitLinkMethod · 0.85
clangJitLinkMethod · 0.85

Calls 3

getFunction · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected