Searched refs:devProp (Results 1 - 14 of 14) sorted by relevance

/external/opencv3/modules/cudalegacy/test/
H A DNCVTest.hpp88 ncvAssertPrintReturn(cudaSuccess == cudaGetDeviceProperties(&this->devProp, devId), "Error returned from cudaGetDeviceProperties", );
153 cudaDeviceProp devProp; member in class:NCVTestProvider
163 this->allocatorGPU.reset(new NCVMemStackAllocator(static_cast<Ncv32u>(devProp.textureAlignment)));
164 this->allocatorCPU.reset(new NCVMemStackAllocator(static_cast<Ncv32u>(devProp.textureAlignment)));
185 this->allocatorGPU.reset(new NCVMemStackAllocator(NCVMemoryTypeDevice, maxGPUsize, static_cast<Ncv32u>(devProp.textureAlignment)));
187 this->allocatorCPU.reset(new NCVMemStackAllocator(NCVMemoryTypeHostPinned, maxCPUsize, static_cast<Ncv32u>(devProp.textureAlignment)));
H A DNCVTestSourceProvider.hpp64 cudaDeviceProp devProp;
66 ncvAssertPrintReturn(cudaSuccess == cudaGetDeviceProperties(&devProp, devId), "Error returned from cudaGetDeviceProperties", );
68 //Ncv32u maxWpitch = alignUp(maxWidth * sizeof(T), devProp.textureAlignment);
70 allocatorCPU.reset(new NCVMemNativeAllocator(NCVMemoryTypeHostPinned, static_cast<Ncv32u>(devProp.textureAlignment)));
101 cudaDeviceProp devProp; local
103 ncvAssertPrintReturn(cudaSuccess == cudaGetDeviceProperties(&devProp, devId), "Error returned from cudaGetDeviceProperties", );
105 allocatorCPU.reset(new NCVMemNativeAllocator(NCVMemoryTypeHostPinned, static_cast<Ncv32u>(devProp.textureAlignment)));
H A DTestCompact.cpp106 ncvStat = nppsStCompactGetSize_32u(this->length, &bufSize, this->devProp);
118 d_tmpBuf.ptr(), bufSize, this->devProp);
H A DTestIntegralImageSquared.cpp91 ncvStat = nppiStSqrIntegralGetSize_8u64u(NcvSize32u(this->width, this->height), &bufSize, this->devProp);
107 d_tmpBuf.ptr(), bufSize, this->devProp);
H A DTestIntegralImage.cpp99 ncvStat = nppiStIntegralGetSize_8u32u(NcvSize32u(this->width, this->height), &bufSize, this->devProp);
104 ncvStat = nppiStIntegralGetSize_32f32f(NcvSize32u(this->width, this->height), &bufSize, this->devProp);
128 d_tmpBuf.ptr(), bufSize, this->devProp);
136 d_tmpBuf.ptr(), bufSize, this->devProp);
H A DTestRectStdDev.cpp121 ncvStat = nppiStIntegralGetSize_8u32u(NcvSize32u(this->width, this->height), &bufSizeII, this->devProp);
123 ncvStat = nppiStSqrIntegralGetSize_8u64u(NcvSize32u(this->width, this->height), &bufSizeSII, this->devProp);
139 d_tmpBuf.ptr(), bufSize, this->devProp);
145 d_tmpBuf.ptr(), bufSize, this->devProp);
H A DTestHaarCascadeApplication.cpp202 nppStat = nppiStIntegralGetSize_8u32u(NcvSize32u(this->width, this->height), &szTmpBufIntegral, this->devProp);
204 nppStat = nppiStSqrIntegralGetSize_8u64u(NcvSize32u(this->width, this->height), &szTmpBufSqIntegral, this->devProp);
222 d_tmpIIbuf.ptr(), szTmpBufIntegral, this->devProp);
228 d_tmpIIbuf.ptr(), szTmpBufSqIntegral, this->devProp);
/external/opencv3/samples/gpu/
H A Dcascadeclassifier_nvidia_api.cpp94 cudaDeviceProp &devProp)
135 gpuAllocator, cpuAllocator, devProp, 0);
214 cudaDeviceProp devProp;
215 ncvAssertCUDAReturn(cudaGetDeviceProperties(&devProp, devId), -1);
216 cout << "Using GPU: " << devId << "(" << devProp.name <<
217 "), arch=" << devProp.major << "." << devProp.minor << endl;
226 NCVMemNativeAllocator gpuCascadeAllocator(NCVMemoryTypeDevice, static_cast<Ncv32u>(devProp.textureAlignment));
228 NCVMemNativeAllocator cpuCascadeAllocator(NCVMemoryTypeHostPinned, static_cast<Ncv32u>(devProp.textureAlignment));
267 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp
[all...]
H A Dopticalflow_nvidia_api.cpp403 cudaDeviceProp devProp; local
404 ncvAssertCUDAReturn(cudaGetDeviceProperties(&devProp, devId), -1);
405 std::cout << "Using GPU: " << devId << "(" << devProp.name <<
406 "), arch=" << devProp.major << "." << devProp.minor << std::endl;
408 g_pGPUMemAllocator = Ptr<INCVMemAllocator> (new NCVMemNativeAllocator (NCVMemoryTypeDevice, static_cast<Ncv32u>(devProp.textureAlignment)));
411 g_pHostMemAllocator = Ptr<INCVMemAllocator> (new NCVMemNativeAllocator (NCVMemoryTypeHostPageable, static_cast<Ncv32u>(devProp.textureAlignment)));
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/
H A DNPP_staging.hpp670 * \param devProp [IN] CUDA device properties structure, containing texture alignment information
675 NCVStatus nppiStIntegralGetSize_8u32u(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp);
683 NCVStatus nppiStIntegralGetSize_32f32f(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp);
696 * \param devProp [IN] CUDA device properties structure, containing texture alignment information
703 Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp);
713 Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp);
746 * \param devProp [IN] CUDA device properties structure, containing texture alignment information
751 NCVStatus nppiStSqrIntegralGetSize_8u64u(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp);
764 * \param devProp [IN] CUDA device properties structure, containing texture alignment information
771 Ncv8u *pBuffer, Ncv32u bufSize, cudaDeviceProp &devProp);
[all...]
H A DNCVHaarObjectDetection.hpp379 cudaDeviceProp &devProp,
402 cudaDeviceProp &devProp,
/external/opencv3/modules/cudaobjdetect/src/
H A Dcascadeclassifier.cpp137 cudaDeviceProp devProp;
232 ncvAssertCUDAReturn(cudaGetDeviceProperties(&devProp, devId), NCV_CUDA_ERROR);
235 gpuCascadeAllocator = makePtr<NCVMemNativeAllocator>(NCVMemoryTypeDevice, static_cast<int>(devProp.textureAlignment));
236 cpuCascadeAllocator = makePtr<NCVMemNativeAllocator>(NCVMemoryTypeHostPinned, static_cast<int>(devProp.textureAlignment));
282 NCVMemStackAllocator gpuCounter(static_cast<int>(devProp.textureAlignment));
283 NCVMemStackAllocator cpuCounter(static_cast<int>(devProp.textureAlignment));
302 *d_haarStages, *d_haarNodes, *d_haarFeatures, haar.ClassifierSize, 4, 1.2f, 1, 0, gpuCounter, cpuCounter, devProp, 0);
307 gpuAllocator = makePtr<NCVMemStackAllocator>(NCVMemoryTypeDevice, gpuCounter.maxSize(), static_cast<int>(devProp.textureAlignment));
308 cpuAllocator = makePtr<NCVMemStackAllocator>(NCVMemoryTypeHostPinned, cpuCounter.maxSize(), static_cast<int>(devProp.textureAlignment));
329 NCVMatrixReuse<Ncv8u> d_src(src_seg, static_cast<int>(devProp
[all...]
/external/opencv3/modules/cudalegacy/src/cuda/
H A DNPP_staging.cu487 NCVStatus nppiStIntegralGetSize_8u32u(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp)
492 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp.textureAlignment));
505 NCVStatus nppiStIntegralGetSize_32f32f(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp)
510 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp.textureAlignment));
523 NCVStatus nppiStSqrIntegralGetSize_8u64u(NcvSize32u roiSize, Ncv32u *pBufsize, cudaDeviceProp &devProp)
528 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp.textureAlignment));
544 Ncv32u bufSize, cudaDeviceProp &devProp)
546 NCVMemStackAllocator gpuAllocator(NCVMemoryTypeDevice, bufSize, static_cast<Ncv32u>(devProp.textureAlignment), pBuffer);
559 Ncv32u bufSize, cudaDeviceProp &devProp)
561 NCVMemStackAllocator gpuAllocator(NCVMemoryTypeDevice, bufSize, static_cast<Ncv32u>(devProp
[all...]
H A DNCVHaarObjectDetection.cu972 cudaDeviceProp &devProp,
1087 NcvBool bTexCacheCascade = devProp.major < 2;
1089 NcvBool bDoAtomicCompaction = devProp.major >= 2 || (devProp.major == 1 && devProp.minor >= 3);
1095 nppsStCompactGetSize_32u(static_cast<Ncv32u>(d_vecPixelMask.length()), &szNppCompactTmpBuf, devProp);
1198 d_tmpBufCompact.ptr(), szNppCompactTmpBuf, devProp);
1253 d_tmpBufCompact.ptr(), szNppCompactTmpBuf, devProp);
1323 d_tmpBufCompact.ptr(), szNppCompactTmpBuf, devProp);
1384 d_tmpBufCompact.ptr(), szNppCompactTmpBuf, devProp);
[all...]

Completed in 290 milliseconds