Unverified Commit e3c9dcc4 authored by Umang Yadav's avatar Umang Yadav Committed by GitHub
Browse files

Update src/targets/gpu/include/migraphx/gpu/miopen.hpp


Co-authored-by: default avatarkahmed10 <15948690+kahmed10@users.noreply.github.com>
parent 2d5080ed
......@@ -109,9 +109,7 @@ inline std::string get_miopen_version()
{
MIGRAPHX_THROW("MIOpen failed to retrieve miopen version info");
}
std::string version =
std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(patch);
return version;
return to_string_range({major,minor,patch}, ".");
}
inline tensor_descriptor make_tensor(const migraphx::shape& os, bool pack = false)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment