From 77fa1a20bf2fc305a7959f78c66a70b0fbc15a02 Mon Sep 17 00:00:00 2001 From: Tomoaki Teshima Date: Fri, 19 Jun 2020 07:56:37 +0900 Subject: [PATCH] fix build on Jetson TX1 and TX2 * enable_if_t is a c++14 feature --- modules/cudaoptflow/src/cuda/tvl1flow.cu | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/cudaoptflow/src/cuda/tvl1flow.cu b/modules/cudaoptflow/src/cuda/tvl1flow.cu index 2688e05..a84b9a3 100644 --- a/modules/cudaoptflow/src/cuda/tvl1flow.cu +++ b/modules/cudaoptflow/src/cuda/tvl1flow.cu @@ -154,8 +154,7 @@ namespace tvl1flow }; template < - typename T, - typename = std::enable_if_t::value> + typename T > __global__ void warpBackwardKernel( const PtrStepSzf I0, const T src, const PtrStepf u1, const PtrStepf u2, -- 2.7.4