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

Function get_split_size

src/fuse_pointwise_reduce.cpp:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36MIGRAPHX_DECLARE_ENV_VAR(MIGRAPHX_DISABLE_MULTI_OUTPUT_FUSION);
37
38static std::size_t get_split_size(std::size_t default_split)
39{
40 std::string value = string_value_of(MIGRAPHX_SPLIT_REDUCE_SIZE{});
41 if(value.empty())
42 return default_split;
43 return std::stoul(value);
44}
45
46void fuse_pointwise_reduce::apply(module_pass_manager& mpm) const
47{

Callers 1

applyMethod · 0.85

Calls 2

string_value_ofFunction · 0.70
emptyMethod · 0.45

Tested by

no test coverage detected