LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Namespaces | Functions
CudaSelectGpu.h File Reference

Functions to help managing setup for GPU kernels. More...

Go to the source code of this file.

Namespaces

 lsst
 Estimate image backgrounds.
 
 lsst::afw
 
 lsst::afw::gpu
 
 lsst::afw::gpu::detail
 

Functions

void lsst::afw::gpu::detail::SetCudaDevice (int devId)
 selects a cuda device More...
 
void lsst::afw::gpu::detail::CudaReserveDevice ()
 reserves cuda device More...
 
void lsst::afw::gpu::detail::CudaThreadExit ()
 frees resources and releases current cuda device More...
 
int lsst::afw::gpu::detail::GetPreferredCudaDevice ()
 
bool lsst::afw::gpu::detail::SelectPreferredCudaDevice ()
 
void lsst::afw::gpu::detail::AutoSelectCudaDevice ()
 
void lsst::afw::gpu::detail::VerifyCudaDevice ()
 
bool lsst::afw::gpu::detail::TryToSelectCudaDevice (bool noExceptions, bool reselect=false)
 

Detailed Description

Functions to help managing setup for GPU kernels.

Functions in this file are used to query GPU device, and to simplify GPu device selection

Author
Kresimir Cosic

Definition in file CudaSelectGpu.h.