"src/include/gridwise_convolution_wrapper.hpp" did not exist on "0b41ca2d9e20ad41dc522942aaffb2ebc8ef9b92"
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) ...@@ -312,13 +312,11 @@ inline __device__ float exp<float>(float x)
return __expf(x); return __expf(x);
} }
/*
template <> template <>
inline __device__ half_t exp<half_t>(half_t x) inline __device__ half_t exp<half_t>(half_t x)
{ {
return hexp(x); return hexp(x);
}; };
*/
template <> template <>
inline __device__ double exp<double>(double x) inline __device__ double exp<double>(double x)
...@@ -348,13 +346,11 @@ inline __device__ T log(T x) ...@@ -348,13 +346,11 @@ inline __device__ T log(T x)
return ck::type_convert<T>(__logf(ck::type_convert<float>(x))); return ck::type_convert<T>(__logf(ck::type_convert<float>(x)));
}; };
/*
template <> template <>
inline __device__ half_t log<half_t>(half_t x) inline __device__ half_t log<half_t>(half_t x)
{ {
return hlog(x); return hlog(x);
}; };
*/
template <> template <>
inline __device__ float log<float>(float x) 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