Home
last modified time | relevance | path

Searched refs:_MemCapGPU (Results 1 – 5 of 5) sorted by relevance

/dports/graphics/colmap/colmap-3.6/lib/SiftGPU/
H A DGlobalUtil.cpp74 int GlobalParam:: _MemCapGPU = 0; member in GlobalParam
356 glGetIntegerv(0x9049/*GL_GPU_MEM_INFO_CURRENT_AVAILABLE_MEM_NVX*/, &_MemCapGPU); in InitGLParam()
357 _MemCapGPU /= (1024); in InitGLParam()
358 … if(GlobalUtil::_verbose) std::cout << "[GPU VENDOR]:\t" << vendor << ' ' <<_MemCapGPU << "MB\n"; in InitGLParam()
362 _MemCapGPU = info[0] / (1024); in InitGLParam()
363 … if(GlobalUtil::_verbose) std::cout << "[GPU VENDOR]:\t" << vendor << ' ' <<_MemCapGPU << "MB\n"; in InitGLParam()
H A DGlobalUtil.h42 static int _MemCapGPU; variable
H A DPyramidCU.cpp132 …while(GlobalUtil::_MemCapGPU > 0 && GlobalUtil::_FitMemoryCap && (wp >_pyramid_width || hp > _pyr… in InitPyramid()
133 …max(max(wp, hp), max(_pyramid_width, _pyramid_height)) > 1024 * sqrt(GlobalUtil::_MemCapGPU / 110… in InitPyramid()
H A DPyramidGL.cpp344 …while(GlobalUtil::_MemCapGPU > 0 && GlobalUtil::_FitMemoryCap && (wp >_pyramid_width || hp > _pyr… in InitPyramid()
345 …max(max(wp, hp), max(_pyramid_width, _pyramid_height)) > 1024 * sqrt(GlobalUtil::_MemCapGPU / 140… in InitPyramid()
2575 …while(GlobalUtil::_MemCapGPU > 0 && GlobalUtil::_FitMemoryCap && (wp >_pyramid_width || hp > _pyra… in InitPyramid()
2576 …max(max(wp, hp), max(_pyramid_width, _pyramid_height)) > 1024 * sqrt(GlobalUtil::_MemCapGPU / 96.… in InitPyramid()
H A DProgramCU.cu1376 GlobalUtil::_MemCapGPU = deviceProp.totalGlobalMem / 1024; in CheckCudaDevice()