fix build on Jetson TX1 and TX2

* enable_if_t is a c++14 feature
pull/17587/head
Tomoaki Teshima 5 years ago
parent a7cdc42140
commit 77fa1a20bf
  1. 3
      modules/cudaoptflow/src/cuda/tvl1flow.cu

@ -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,

Loading…
Cancel
Save