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

Method set_launch_params

src/targets/gpu/compile_hip_code_object.cpp:128–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void hip_compile_options::set_launch_params(
129 const value& v,
130 const std::function<std::size_t(std::size_t local)>& compute_global,
131 std::size_t default_local)
132{
133 local = v.get("local", default_local);
134 if(v.contains("global"))
135 global = v.at("global").to<std::size_t>();
136 else
137 global = compute_global(local);
138}
139
140static bool hip_accept_non_uniform_wg()
141{

Callers

nothing calls this directly

Calls 3

atMethod · 0.80
getMethod · 0.45
containsMethod · 0.45

Tested by

no test coverage detected