VTK-m  2.2
Public Member Functions | Static Public Attributes | List of all members
vtkm::cont::DeviceAdapterTagSerial Struct Reference

Tag for a device adapter that performs all computation on the same single thread as the control environment. More...

#include <DeviceAdapterTagSerial.h>

Inheritance diagram for vtkm::cont::DeviceAdapterTagSerial:
vtkm::cont::DeviceAdapterId

Public Member Functions

constexpr DeviceAdapterTagSerial ()
 
- Public Member Functions inherited from vtkm::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 vtkm::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 vtkm::cont::DeviceAdapterId
constexpr DeviceAdapterId (vtkm::Int8 id)
 

Detailed Description

Tag for a device adapter that performs all computation on the same single thread as the control environment.

This device is useful for debugging. This device is always available. This tag is defined in vtkm/cont/DeviceAdapterSerial.h.

Constructor & Destructor Documentation

◆ DeviceAdapterTagSerial()

constexpr vtkm::cont::DeviceAdapterTagSerial::DeviceAdapterTagSerial ( )
inlineconstexpr

Member Data Documentation

◆ IsEnabled

constexpr bool vtkm::cont::DeviceAdapterTagSerial::IsEnabled = true
staticconstexpr

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