Viskores  1.0
Public Member Functions | Static Public Attributes | List of all members
viskores::cont::DeviceAdapterTagAny Struct Reference

Tag for a device adapter used to specify that any device may be used for an operation. More...

#include <DeviceAdapterTag.h>

Inheritance diagram for viskores::cont::DeviceAdapterTagAny:
viskores::cont::DeviceAdapterId

Public Member Functions

constexpr DeviceAdapterTagAny ()
 
- Public Member Functions inherited from viskores::cont::DeviceAdapterId
constexpr bool operator== (DeviceAdapterId other) const
 
constexpr bool operator!= (DeviceAdapterId other) const
 
constexpr bool operator< (DeviceAdapterId other) const
 
constexpr bool IsValueValid () const
 Return whether this object represents a valid type of device. More...
 
constexpr viskores::Int8 GetValue () const
 Returns the numeric value of the index. More...
 
DeviceAdapterNameType GetName () const
 Return a name representing the device. More...
 

Static Public Attributes

static constexpr bool IsEnabled = true
 

Additional Inherited Members

- Protected Member Functions inherited from viskores::cont::DeviceAdapterId
constexpr DeviceAdapterId (viskores::Int8 id)
 

Detailed Description

Tag for a device adapter used to specify that any device may be used for an operation.

In practice this is limited to devices that are currently available.

Constructor & Destructor Documentation

◆ DeviceAdapterTagAny()

constexpr viskores::cont::DeviceAdapterTagAny::DeviceAdapterTagAny ( )
inlineconstexpr

Member Data Documentation

◆ IsEnabled

constexpr bool viskores::cont::DeviceAdapterTagAny::IsEnabled = true
staticconstexpr

The documentation for this struct was generated from the following file: