fix build on Jetson TX1 and TX2

* enable_if_t is a c++14 feature
This commit is contained in:
Tomoaki Teshima 2020-06-19 07:56:37 +09:00
parent a7cdc42140
commit 77fa1a20bf

View File

@ -154,8 +154,7 @@ namespace tvl1flow
};
template <
typename T,
typename = std::enable_if_t<std::is_base_of<SrcTex, T>::value>
typename T
>
__global__ void warpBackwardKernel(
const PtrStepSzf I0, const T src, const PtrStepf u1, const PtrStepf u2,