LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
Namespaces | Functions
CudaSelectGpu.cc File Reference

Functions for simplifying selecting GPU device, implementation file. More...

#include "lsst/pex/exceptions.h"
#include "lsst/afw/gpu/GpuExceptions.h"
#include "lsst/afw/gpu/detail/CudaSelectGpu.h"
#include "lsst/afw/gpu/detail/CudaQueryDevice.h"

Go to the source code of this file.

Namespaces

 lsst
 < multiple inclusion guard macro
 
 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...
 
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)
 
int lsst::afw::gpu::detail::GetPrefferedCudaDevice ()
 

Detailed Description

Functions for simplifying selecting GPU device, implementation file.

Author
Kresimir Cosic

Definition in file CudaSelectGpu.cc.