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);
|
excluded = excluded || (suppessed == i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if __CUDA_ARCH__ >= 120
|
||||||
if (__all(excluded)) break;
|
if (__all(excluded)) break;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -312,7 +314,9 @@ __device void CascadeInvoker<Policy>::detect(Detection* objects, const uint ndet
|
|||||||
PrefixSum<Policy>::apply(impact);
|
PrefixSum<Policy>::apply(impact);
|
||||||
confidence += impact;
|
confidence += impact;
|
||||||
|
|
||||||
|
#if __CUDA_ARCH__ >= 120
|
||||||
if(__any((confidence <= stages[(st + threadIdx.x)]))) st += 2048;
|
if(__any((confidence <= stages[(st + threadIdx.x)]))) st += 2048;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!threadIdx.x && st == stEnd && ((confidence - FLT_EPSILON) >= 0))
|
if(!threadIdx.x && st == stEnd && ((confidence - FLT_EPSILON) >= 0))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user