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 | Enumerations | Functions | Variables
DevicePreference.h File Reference

Interface for CPU/GPU device selection. More...

Go to the source code of this file.

Namespaces

 lsst
 < multiple inclusion guard macro
 
 lsst.afw
 
 lsst.afw.gpu
 

Enumerations

enum  lsst.afw.gpu::DevicePreference { lsst.afw.gpu::AUTO, lsst.afw.gpu::AUTO_WITH_CPU_FALLBACK, lsst.afw.gpu::USE_CPU, lsst.afw.gpu::USE_GPU }
 A type used to select whether to use CPU or GPU device. More...
 

Functions

void lsst.afw.gpu::setGpuEnable (bool enable)
 Enables or disables GPU acceleration globally. More...
 
bool lsst.afw.gpu::isGpuEnabled ()
 returns true if GPU acceleration is enabled More...
 

Variables

const DevicePreference lsst.afw.gpu::DEFAULT_DEVICE_PREFERENCE = AUTO
 Default DevicePreference value. More...
 

Detailed Description

Interface for CPU/GPU device selection.

Introduces required types and functions.

Author
Kresimir Cosic

Definition in file DevicePreference.h.