Skip to content

Commit

Permalink
fix build on Jetson TX1 and TX2
Browse files Browse the repository at this point in the history
  * enable_if_t is a c++14 feature
  • Loading branch information
tomoaki0705 committed Jun 18, 2020
1 parent a7cdc42 commit 77fa1a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/cudaoptflow/src/cuda/tvl1flow.cu
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 77fa1a2

Please sign in to comment.