25#ifndef vtkmDeviceSelection_h
26#define vtkmDeviceSelection_h
28#include "vtkAcceleratorsVTKmCoreModule.h"
31VTK_ABI_NAMESPACE_BEGIN
a simple class to control print indentation
static void Reset()
Make every device this build and machine can run available again.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static const char * GetAvailableDevices()
The devices filters can currently run on, separated by spaces.
static bool DisableDevice(const char *name)
Stop running on name; other devices are unaffected.
static vtkmDeviceSelection * New()
static bool ForceDevice(const char *name)
Run on name only, disabling every other device.
static bool EnableDevice(const char *name)
Undo ForceDevice() or DisableDevice() for name, making it available again.
~vtkmDeviceSelection() override