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
CudaQueryDevice.cc File Reference

Functions to query the properties of currently selected GPU device. More...

#include "lsst/pex/exceptions.h"
#include "lsst/afw/gpu/GpuExceptions.h"
#include "lsst/afw/gpu/detail/CudaQueryDevice.h"
#include <stdio.h>

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::PrintCudaDeviceInfo ()
 prints some cuda device information to stdout More...
 
int lsst::afw::gpu::detail::GetCudaCurDeviceId ()
 returns device ID of currently selected cuda device More...
 
int lsst::afw::gpu::detail::GetCudaCurSMSharedMemorySize ()
 returns shared memory size per block of currently selected cuda device More...
 
int lsst::afw::gpu::detail::GetCudaCurGlobalMemorySize ()
 returns global memory size of currently selected cuda device More...
 
int lsst::afw::gpu::detail::GetCudaCurSMRegisterCount ()
 returns the number of registers per block of currently selected cuda device More...
 
int lsst::afw::gpu::detail::GetCudaCurSMCount ()
 returns the number of streaming multiprocessors of currently selected cuda device More...
 
bool lsst::afw::gpu::detail::GetCudaCurIsDoublePrecisionSupported ()
 returns whether currently selected cuda device supports double precision More...
 

Detailed Description

Functions to query the properties of currently selected GPU device.

Functions in this file are used to query GPU device.

Author
Kresimir Cosic

Definition in file CudaQueryDevice.cc.