fix build on Jetson TX1 and TX2
* enable_if_t is a c++14 feature
This commit is contained in:
parent
a7cdc42140
commit
77fa1a20bf
@ -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…
Reference in New Issue
Block a user