MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / to_string_physical

Method to_string_physical

src/core/include/megbrain/comp_node.h:433–435  ·  view source on GitHub ↗

get string representation of physical device

Source from the content-addressed store, hash-verified

431
432 //! get string representation of physical device
433 std::string to_string_physical() const {
434 return m_impl ? m_impl->locator().to_string() : "invalid";
435 }
436
437 //! get string representation of logical device
438 std::string to_string_logical() const {

Callers 3

init_commonFunction · 0.80
load_cuda_cnFunction · 0.80
unload_cuda_cnFunction · 0.80

Calls 2

to_stringMethod · 0.45
locatorMethod · 0.45

Tested by

no test coverage detected