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

Tag for a device adapter that uses the Kokkos library to run algorithms in parallel. More...

#include <DeviceAdapterTagKokkos.h>

Inheritance diagram for viskores::cont::DeviceAdapterTagKokkos:
viskores::cont::DeviceAdapterId

Public Member Functions

constexpr DeviceAdapterTagKokkos ()
 
- 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 = false
 

Additional Inherited Members

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

Detailed Description

Tag for a device adapter that uses the Kokkos library to run algorithms in parallel.

For this device to work, Viskores must be configured to use Kokkos and the executable must be linked to the Kokkos libraries. Viskores will use the default execution space of the provided kokkos library build. This tag is defined in viskores/cont/kokkos/DeviceAdapterKokkos.h.

Constructor & Destructor Documentation

◆ DeviceAdapterTagKokkos()

constexpr viskores::cont::DeviceAdapterTagKokkos::DeviceAdapterTagKokkos ( )
inlineconstexpr

Member Data Documentation

◆ IsEnabled

constexpr bool viskores::cont::DeviceAdapterTagKokkos::IsEnabled = false
staticconstexpr

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