Commit 2f4725b4 authored by Paul's avatar Paul
Browse files

Formatting

parent 644e42a8
...@@ -75,17 +75,14 @@ device_type<T>* device_cast(T* x) ...@@ -75,17 +75,14 @@ device_type<T>* device_cast(T* x)
return reinterpret_cast<device_type<T>*>(x); return reinterpret_cast<device_type<T>*>(x);
} }
template<class T> template <class T>
T to_hip_type(T x) T to_hip_type(T x)
{ {
return x; return x;
} }
// Hip doens't support __fp16 // Hip doens't support __fp16
inline float to_hip_type(gpu_half x) inline float to_hip_type(gpu_half x) { return x; }
{
return x;
}
} // namespace device } // namespace device
} // namespace gpu } // namespace gpu
......
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