Skip to content

Commit 77fa1a2

Browse files
committed
fix build on Jetson TX1 and TX2
* enable_if_t is a c++14 feature
1 parent a7cdc42 commit 77fa1a2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/cudaoptflow/src/cuda/tvl1flow.cu

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ namespace tvl1flow
154154
};
155155

156156
template <
157-
typename T,
158-
typename = std::enable_if_t<std::is_base_of<SrcTex, T>::value>
157+
typename T
159158
>
160159
__global__ void warpBackwardKernel(
161160
const PtrStepSzf I0, const T src, const PtrStepf u1, const PtrStepf u2,

0 commit comments

Comments
 (0)