fixed compilation on 1.1 CC
This commit is contained in:
parent
06776b612c
commit
7ab9c4ccee
@ -114,7 +114,9 @@ namespace icf {
|
||||
excluded = excluded || (suppessed == i);
|
||||
}
|
||||
|
||||
#if __CUDA_ARCH__ >= 120
|
||||
if (__all(excluded)) break;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -312,7 +314,9 @@ __device void CascadeInvoker<Policy>::detect(Detection* objects, const uint ndet
|
||||
PrefixSum<Policy>::apply(impact);
|
||||
confidence += impact;
|
||||
|
||||
#if __CUDA_ARCH__ >= 120
|
||||
if(__any((confidence <= stages[(st + threadIdx.x)]))) st += 2048;
|
||||
#endif
|
||||
}
|
||||
|
||||
if(!threadIdx.x && st == stEnd && ((confidence - FLT_EPSILON) >= 0))
|
||||
@ -367,4 +371,4 @@ template void CascadeInvoker<GK107PolicyX4>::operator()(const PtrStepSzb& roi, c
|
||||
PtrStepSz<uchar4> objects, const int downscales, const cudaStream_t& stream) const;
|
||||
|
||||
}
|
||||
}}}
|
||||
}}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user