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
Classes | Functions
lsst::afw::gpu::detail Namespace Reference

Classes

class  GpuBuffer2D
 Class for representing an image or 2D array in general) More...
 

Functions

void PrintCudaDeviceInfo ()
 prints some cuda device information to stdout More...
 
int GetCudaCurDeviceId ()
 returns device ID of currently selected cuda device More...
 
int GetCudaCurSMSharedMemorySize ()
 returns shared memory size per block of currently selected cuda device More...
 
int GetCudaCurGlobalMemorySize ()
 returns global memory size of currently selected cuda device More...
 
int GetCudaCurSMRegisterCount ()
 returns the number of registers per block of currently selected cuda device More...
 
int GetCudaCurSMCount ()
 returns the number of streaming multiprocessors of currently selected cuda device More...
 
bool GetCudaCurIsDoublePrecisionSupported ()
 returns whether currently selected cuda device supports double precision More...
 
void SetCudaDevice (int devId)
 selects a cuda device More...
 
void CudaReserveDevice ()
 reserves cuda device More...
 
void CudaThreadExit ()
 frees resources and releases current cuda device More...
 
int GetPreferredCudaDevice ()
 
bool SelectPreferredCudaDevice ()
 
void AutoSelectCudaDevice ()
 
void VerifyCudaDevice ()
 
bool TryToSelectCudaDevice (bool noExceptions, bool reselect=false)
 
int GetPrefferedCudaDevice ()
 

Function Documentation

void lsst::afw::gpu::detail::AutoSelectCudaDevice ( )

Definition at line 66 of file CudaSelectGpu.cc.

67 {
68  throw LSST_EXCEPT(GpuRuntimeError, "AFW not built with gpu support");
69 }
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46
void lsst::afw::gpu::detail::CudaReserveDevice ( )

reserves cuda device

Definition at line 54 of file CudaSelectGpu.cc.

54  {
55  throw LSST_EXCEPT(GpuRuntimeError, "AFW not built with GPU support");
56 }
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46
void lsst::afw::gpu::detail::CudaThreadExit ( )

frees resources and releases current cuda device

Definition at line 58 of file CudaSelectGpu.cc.

58  {
59  throw LSST_EXCEPT(GpuRuntimeError, "AFW not built with GPU support");
60 }
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46
int lsst::afw::gpu::detail::GetCudaCurDeviceId ( )

returns device ID of currently selected cuda device

Definition at line 56 of file CudaQueryDevice.cc.

56  {
57  throw LSST_EXCEPT(GpuRuntimeError, "AFW not built with GPU support");
58 }
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46
int lsst::afw::gpu::detail::GetCudaCurGlobalMemorySize ( )

returns global memory size of currently selected cuda device

Definition at line 64 of file CudaQueryDevice.cc.

64  {
65  throw LSST_EXCEPT(GpuRuntimeError, "AFW not built with GPU support");
66 }
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46
bool lsst::afw::gpu::detail::GetCudaCurIsDoublePrecisionSupported ( )

returns whether currently selected cuda device supports double precision

Definition at line 76 of file CudaQueryDevice.cc.

76  {
77  throw LSST_EXCEPT(GpuRuntimeError, "AFW not built with GPU support");
78 }
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46
int lsst::afw::gpu::detail::GetCudaCurSMCount ( )

returns the number of streaming multiprocessors of currently selected cuda device

Definition at line 72 of file CudaQueryDevice.cc.

72  {
73  throw LSST_EXCEPT(GpuRuntimeError, "AFW not built with GPU support");
74 }
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46
int lsst::afw::gpu::detail::GetCudaCurSMRegisterCount ( )

returns the number of registers per block of currently selected cuda device

Definition at line 68 of file CudaQueryDevice.cc.

68  {
69  throw LSST_EXCEPT(GpuRuntimeError, "AFW not built with GPU support");
70 }
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46
int lsst::afw::gpu::detail::GetCudaCurSMSharedMemorySize ( )

returns shared memory size per block of currently selected cuda device

Definition at line 60 of file CudaQueryDevice.cc.

60  {
61  throw LSST_EXCEPT(GpuRuntimeError, "AFW not built with GPU support");
62 }
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46
int lsst::afw::gpu::detail::GetPreferredCudaDevice ( )
int lsst::afw::gpu::detail::GetPrefferedCudaDevice ( )

Definition at line 78 of file CudaSelectGpu.cc.

79 {
80  throw LSST_EXCEPT(GpuRuntimeError, "AFW not built with gpu support");
81 }
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46
void lsst::afw::gpu::detail::PrintCudaDeviceInfo ( )

prints some cuda device information to stdout

Definition at line 52 of file CudaQueryDevice.cc.

52  {
53  printf("Afw not compiled with GPU support\n");
54 }
bool lsst::afw::gpu::detail::SelectPreferredCudaDevice ( )

Definition at line 62 of file CudaSelectGpu.cc.

63 {
64  throw LSST_EXCEPT(GpuRuntimeError, "AFW not built with gpu support");
65 }
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46
void lsst::afw::gpu::detail::SetCudaDevice ( int  devId)

selects a cuda device

Definition at line 50 of file CudaSelectGpu.cc.

50  {
51  throw LSST_EXCEPT(GpuRuntimeError, "AFW not built with GPU support");
52 }
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46
bool lsst::afw::gpu::detail::TryToSelectCudaDevice ( bool  noExceptions,
bool  reselect = false 
)

Definition at line 74 of file CudaSelectGpu.cc.

75 {
76  throw LSST_EXCEPT(GpuRuntimeError, "AFW not built with gpu support");
77 }
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46
void lsst::afw::gpu::detail::VerifyCudaDevice ( )

Definition at line 70 of file CudaSelectGpu.cc.

71 {
72  throw LSST_EXCEPT(GpuRuntimeError, "AFW not built with gpu support");
73 }
#define LSST_EXCEPT(type,...)
Definition: Exception.h:46