fixed hundreds of "anonymous" warnings for gpu module.
This commit is contained in:
@@ -231,7 +231,7 @@ __device__ Ncv32u d_outMaskPosition;
|
||||
|
||||
__device__ void compactBlockWriteOutAnchorParallel(Ncv32u threadPassFlag, Ncv32u threadElem, Ncv32u *vectorOut)
|
||||
{
|
||||
#if __CUDA_ARCH__ >= 110
|
||||
#if __CUDA_ARCH__ && __CUDA_ARCH__ >= 110
|
||||
|
||||
__shared__ Ncv32u shmem[NUM_THREADS_ANCHORSPARALLEL * 2];
|
||||
__shared__ Ncv32u numPassed;
|
||||
@@ -587,7 +587,7 @@ __global__ void applyHaarClassifierClassifierParallel(Ncv32u *d_IImg, Ncv32u IIm
|
||||
}
|
||||
else
|
||||
{
|
||||
#if __CUDA_ARCH__ >= 110
|
||||
#if __CUDA_ARCH__ && __CUDA_ARCH__ >= 110
|
||||
if (bPass && !threadIdx.x)
|
||||
{
|
||||
Ncv32u outMaskOffset = atomicAdd(&d_outMaskPosition, 1);
|
||||
|
@@ -41,7 +41,7 @@
|
||||
|
||||
#ifndef _ncvruntimetemplates_hpp_
|
||||
#define _ncvruntimetemplates_hpp_
|
||||
#if _MSC_VER >= 1200
|
||||
#if defined _MSC_VER &&_MSC_VER >= 1200
|
||||
#pragma warning( disable: 4800 )
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user