15 #ifndef vtkmDataArrayUtilities_h
16 #define vtkmDataArrayUtilities_h
18 #include "vtkAcceleratorsVTKmCoreModule.h"
21 VTK_ABI_NAMESPACE_BEGIN
28 static bool IsDeviceAdapterAvailable(int8_t deviceAdapterId);
38 static bool IsDevicePointer(
const void* ptr, int8_t& deviceAdapterId);
43 static bool IsCudaDevicePointer(
const void* ptr);
48 static bool IsHipDevicePointer(
const void* ptr);
Utility functions for working with Viskores device arrays.