Home
last modified time | relevance | path

Searched refs:NCVMemStackAllocator (Results 1 – 7 of 7) sorted by relevance

/external/opencv3/modules/cudalegacy/src/
DNCV.cpp329 NCVMemStackAllocator::NCVMemStackAllocator(Ncv32u alignment_) : in NCVMemStackAllocator() function in NCVMemStackAllocator
344 NCVMemStackAllocator::NCVMemStackAllocator(NCVMemoryType memT, size_t capacity, Ncv32u alignment_, … in NCVMemStackAllocator() function in NCVMemStackAllocator
393 NCVMemStackAllocator::~NCVMemStackAllocator() in ~NCVMemStackAllocator()
421 NCVStatus NCVMemStackAllocator::alloc(NCVMemSegment &seg, size_t size) in alloc()
445 NCVStatus NCVMemStackAllocator::dealloc(NCVMemSegment &seg) in dealloc()
463 NcvBool NCVMemStackAllocator::isInitialized(void) const in isInitialized()
469 NcvBool NCVMemStackAllocator::isCounting(void) const in isCounting()
475 NCVMemoryType NCVMemStackAllocator::memType(void) const in memType()
481 Ncv32u NCVMemStackAllocator::alignment(void) const in alignment()
487 size_t NCVMemStackAllocator::maxSize(void) const in maxSize()
/external/opencv3/modules/cudalegacy/test/
DNCVTest.hpp163 … this->allocatorGPU.reset(new NCVMemStackAllocator(static_cast<Ncv32u>(devProp.textureAlignment))); in initMemory()
164 … this->allocatorCPU.reset(new NCVMemStackAllocator(static_cast<Ncv32u>(devProp.textureAlignment))); in initMemory()
185 …this->allocatorGPU.reset(new NCVMemStackAllocator(NCVMemoryTypeDevice, maxGPUsize, static_cast<Ncv… in initMemory()
187 …this->allocatorCPU.reset(new NCVMemStackAllocator(NCVMemoryTypeHostPinned, maxCPUsize, static_cast… in initMemory()
/external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/
DNCV.hpp483 class CV_EXPORTS NCVMemStackAllocator : public INCVMemAllocator class
485 NCVMemStackAllocator();
486 NCVMemStackAllocator(const NCVMemStackAllocator &);
490 explicit NCVMemStackAllocator(Ncv32u alignment);
491NCVMemStackAllocator(NCVMemoryType memT, size_t capacity, Ncv32u alignment, void *reusePtr=NULL);
492 virtual ~NCVMemStackAllocator();
/external/opencv3/samples/gpu/
Dcascadeclassifier_nvidia_api.cpp267 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp.textureAlignment)); in main()
269 NCVMemStackAllocator cpuCounter(static_cast<Ncv32u>(devProp.textureAlignment)); in main()
279NCVMemStackAllocator gpuAllocator(NCVMemoryTypeDevice, gpuCounter.maxSize(), static_cast<Ncv32u>(d… in main()
281NCVMemStackAllocator cpuAllocator(NCVMemoryTypeHostPinned, cpuCounter.maxSize(), static_cast<Ncv32… in main()
/external/opencv3/modules/cudaoptflow/src/
Dbrox.cpp115 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(textureAlignment)); in getBufSize()
180NCVMemStackAllocator gpuAllocator(NCVMemoryTypeDevice, bufSize, static_cast<Ncv32u>(textureAlignme… in calc()
/external/opencv3/modules/cudaobjdetect/src/
Dcascadeclassifier.cpp134 Ptr<NCVMemStackAllocator> gpuAllocator;
135 Ptr<NCVMemStackAllocator> cpuAllocator;
282 NCVMemStackAllocator gpuCounter(static_cast<int>(devProp.textureAlignment)); in calculateMemReqsAndAllocate()
283 NCVMemStackAllocator cpuCounter(static_cast<int>(devProp.textureAlignment)); in calculateMemReqsAndAllocate()
307 …gpuAllocator = makePtr<NCVMemStackAllocator>(NCVMemoryTypeDevice, gpuCounter.maxSize(), static_cas… in calculateMemReqsAndAllocate()
308 …cpuAllocator = makePtr<NCVMemStackAllocator>(NCVMemoryTypeHostPinned, cpuCounter.maxSize(), static… in calculateMemReqsAndAllocate()
/external/opencv3/modules/cudalegacy/src/cuda/
DNPP_staging.cu492 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp.textureAlignment)); in nppiStIntegralGetSize_8u32u()
510 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp.textureAlignment)); in nppiStIntegralGetSize_32f32f()
528 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp.textureAlignment)); in nppiStSqrIntegralGetSize_8u64u()
546NCVMemStackAllocator gpuAllocator(NCVMemoryTypeDevice, bufSize, static_cast<Ncv32u>(devProp.textur… in nppiStIntegral_8u32u_C1R()
561NCVMemStackAllocator gpuAllocator(NCVMemoryTypeDevice, bufSize, static_cast<Ncv32u>(devProp.textur… in nppiStIntegral_32f32f_C1R()
576NCVMemStackAllocator gpuAllocator(NCVMemoryTypeDevice, bufSize, static_cast<Ncv32u>(devProp.textur… in nppiStSqrIntegral_8u64u_C1R()
1546 NCVMemStackAllocator gpuCounter(static_cast<Ncv32u>(devProp.textureAlignment)); in nppsStCompactGetSize_32u()
1575NCVMemStackAllocator gpuAllocator(NCVMemoryTypeDevice, bufSize, static_cast<Ncv32u>(devProp.textur… in nppsStCompact_32u()