Unverified Commit 80f0da37 authored by Chao Liu's avatar Chao Liu Committed by GitHub
Browse files

fix build (#46)

parent ca2105a4
......@@ -312,13 +312,11 @@ inline __device__ float exp<float>(float x)
return __expf(x);
}
/*
template <>
inline __device__ half_t exp<half_t>(half_t x)
{
return hexp(x);
};
*/
template <>
inline __device__ double exp<double>(double x)
......@@ -348,13 +346,11 @@ inline __device__ T log(T x)
return ck::type_convert<T>(__logf(ck::type_convert<float>(x)));
};
/*
template <>
inline __device__ half_t log<half_t>(half_t x)
{
return hlog(x);
};
*/
template <>
inline __device__ float log<float>(float x)
......
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