15#ifndef vtkmDataArrayUtilities_h
16#define vtkmDataArrayUtilities_h
18#include "vtkAcceleratorsVTKmCoreModule.h"
21VTK_ABI_NAMESPACE_BEGIN
Utility functions for working with Viskores device arrays.
static bool IsDevicePointer(const void *ptr, int8_t &deviceAdapterId)
Get if the pointer is a device pointer and the device adapter id, which can one of the following valu...
static bool IsCudaDevicePointer(const void *ptr)
Check if the pointer is a CUDA device pointer.
static bool IsDeviceAdapterAvailable(int8_t deviceAdapterId)
Check if a Viskores device adapter is available to use.
static bool IsHipDevicePointer(const void *ptr)
Check if the pointer is a HIP device pointer.