"src/vscode:/vscode.git/clone" did not exist on "162643a4b17edc24426980e4eddcdcfd7c3f7970"
Commit 059fa4cc authored by Paul's avatar Paul
Browse files

Format

parent c027803e
......@@ -43,10 +43,7 @@ auto get_arch_name(rank<1>, const HipDeviceProp& props) -> decltype(std::string(
return std::string(props.gcnArchName);
}
std::string get_arch_name(const hipDeviceProp_t& props)
{
return get_arch_name(rank<1>{}, props);
}
std::string get_arch_name(const hipDeviceProp_t& props) { return get_arch_name(rank<1>{}, props); }
int get_device_id()
{
......
......@@ -171,7 +171,7 @@ struct hip_device
std::size_t stream_id() const { return current_stream; }
std::string get_device_name() const { return get_arch_name(device_props); }
std::string get_gfx_name() const { return trim(split_string(get_device_name(), ':').front()); }
std::size_t get_device_major() const { return device_props.major; }
......
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