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

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

Go to the source code of this file.

Namespaces

 lsst
 Estimate image backgrounds.
 
 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.