VTK-m
2.0
|
#include <DeviceAdapterAlgorithmKokkos.h>
Classes | |
class | KokkosReduceFunctor |
class | ReduceOperator |
class | ScanExclusiveOperator |
class | ScanInclusiveOperator |
struct | UseKokkosReduce |
struct | UseKokkosReduceP1 |
struct | UseKokkosReduceP1< true, BinaryOperator, ResultType > |
Static Public Member Functions | |
template<typename IndicesStorage > | |
static VTKM_CONT vtkm::Id | BitFieldToUnorderedSet (const vtkm::cont::BitField &bits, vtkm::cont::ArrayHandle< Id, IndicesStorage > &indices) |
static VTKM_CONT vtkm::Id | CountSetBits (const vtkm::cont::BitField &bits) |
template<typename T > | |
static VTKM_CONT void | Copy (const vtkm::cont::ArrayHandle< T > &input, vtkm::cont::ArrayHandle< T > &output) |
template<typename T , typename U , class CIn , class BinaryOperator > | |
static VTKM_CONT U | Reduce (const vtkm::cont::ArrayHandle< T, CIn > &input, U initialValue, BinaryOperator binaryOperator) |
template<typename T , typename U , class CIn > | |
static VTKM_CONT U | Reduce (const vtkm::cont::ArrayHandle< T, CIn > &input, U initialValue) |
template<typename T , class CIn , class COut , class BinaryOperator > | |
static VTKM_CONT T | ScanExclusive (const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output, BinaryOperator binaryOperator, const T &initialValue) |
template<typename T , class CIn , class COut > | |
static VTKM_CONT T | ScanExclusive (const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output) |
template<typename T , class CIn , class COut , class BinaryOperator > | |
static VTKM_CONT T | ScanInclusive (const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output, BinaryOperator binaryOperator) |
template<typename T , class CIn , class COut > | |
static VTKM_CONT T | ScanInclusive (const vtkm::cont::ArrayHandle< T, CIn > &input, vtkm::cont::ArrayHandle< T, COut > &output) |
template<typename WType , typename IType > | |
static VTKM_CONT void | ScheduleTask (vtkm::exec::kokkos::internal::TaskBasic1D< WType, IType > &functor, vtkm::Id numInstances) |
template<typename WType , typename IType > | |
static VTKM_CONT void | ScheduleTask (vtkm::exec::kokkos::internal::TaskBasic3D< WType, IType > &functor, vtkm::Id3 rangeMax) |
template<class Functor > | |
static VTKM_CONT void | Schedule (Functor functor, vtkm::Id numInstances) |
template<class Functor > | |
static VTKM_CONT void | Schedule (Functor functor, const vtkm::Id3 &rangeMax) |
template<typename T > | |
static VTKM_CONT void | Sort (vtkm::cont::ArrayHandle< T > &values, vtkm::SortLess comp) |
static VTKM_CONT void | Synchronize () |
Private Types | |
using | Superclass = vtkm::cont::internal::DeviceAdapterAlgorithmGeneral< DeviceAdapterAlgorithm< vtkm::cont::DeviceAdapterTagKokkos >, vtkm::cont::DeviceAdapterTagKokkos > |
template<typename BinaryOperator , typename ArrayPortal , typename ResultType > | |
using | ReduceFunctor = KokkosReduceFunctor< BinaryOperator, ReduceOperator< ArrayPortal, BinaryOperator, ResultType >, ResultType > |
template<typename BinaryOperator , typename ResultType > | |
using | UseKokkosScan = UseKokkosReduce< BinaryOperator, ResultType > |
template<typename BinaryOperator , typename T , typename StorageIn , typename StorageOut > | |
using | ScanExclusiveFunctor = KokkosReduceFunctor< BinaryOperator, ScanExclusiveOperator< T, StorageIn, StorageOut, BinaryOperator >, T > |
template<typename BinaryOperator , typename T , typename StorageIn , typename StorageOut > | |
using | ScanInclusiveFunctor = KokkosReduceFunctor< BinaryOperator, ScanInclusiveOperator< T, StorageIn, StorageOut, BinaryOperator >, T > |
Static Private Member Functions | |
static VTKM_CONT_EXPORT vtkm::exec::internal::ErrorMessageBuffer | GetErrorMessageBufferInstance () |
static VTKM_CONT_EXPORT void | CheckForErrors () |
template<typename ArrayHandle , typename BinaryOperator , typename ResultType > | |
static VTKM_CONT ResultType | ReduceImpl (const ArrayHandle &input, BinaryOperator binaryOperator, ResultType initialValue, std::false_type) |
template<typename ArrayHandle , typename BinaryOperator , typename ResultType > | |
static VTKM_CONT ResultType | ReduceImpl (const ArrayHandle &input, BinaryOperator binaryOperator, ResultType initialValue, std::true_type) |
template<typename T , typename StorageIn , typename StorageOut , typename BinaryOperator > | |
static VTKM_CONT T | ScanExclusiveImpl (const vtkm::cont::ArrayHandle< T, StorageIn > &input, vtkm::cont::ArrayHandle< T, StorageOut > &output, BinaryOperator binaryOperator, const T &initialValue, std::false_type) |
template<typename T , typename StorageIn , typename StorageOut , typename BinaryOperator > | |
static VTKM_CONT T | ScanExclusiveImpl (const vtkm::cont::ArrayHandle< T, StorageIn > &input, vtkm::cont::ArrayHandle< T, StorageOut > &output, BinaryOperator binaryOperator, const T &initialValue, std::true_type) |
template<typename T , typename StorageIn , typename StorageOut , typename BinaryOperator > | |
static VTKM_CONT T | ScanInclusiveImpl (const vtkm::cont::ArrayHandle< T, StorageIn > &input, vtkm::cont::ArrayHandle< T, StorageOut > &output, BinaryOperator binaryOperator, std::false_type) |
template<typename T , typename StorageIn , typename StorageOut , typename BinaryOperator > | |
static VTKM_CONT T | ScanInclusiveImpl (const vtkm::cont::ArrayHandle< T, StorageIn > &input, vtkm::cont::ArrayHandle< T, StorageOut > &output, BinaryOperator binaryOperator, std::true_type) |
template<typename T > | |
static VTKM_CONT void | SortImpl (vtkm::cont::ArrayHandle< T > &values, vtkm::SortLess, std::true_type) |
template<typename T > | |
static VTKM_CONT void | SortImpl (vtkm::cont::ArrayHandle< T > &values, vtkm::SortLess comp, std::false_type) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inlinestatic |
|
staticprivate |
|
inlinestatic |
|
inlinestatic |
|
staticprivate |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestatic |