Go to the documentation of this file.
10 #ifndef vtk_m_cont_ErrorBadDevice_h
11 #define vtk_m_cont_ErrorBadDevice_h
16 #include <vtkm/cont/vtkm_cont_export.h>
51 #endif // vtk_m_cont_ErrorBadDevice_h
#define VTKM_SILENCE_WEAK_VTABLE_WARNING_START
Definition: ExportMacros.h:119
Groups connected points that have the same field value.
Definition: Atomic.h:19
#define VTKM_SILENCE_WEAK_VTABLE_WARNING_END
Definition: ExportMacros.h:120
The superclass of all exceptions thrown by any VTKm function or method.
Definition: Error.h:33
ErrorBadDevice(const std::string &message)
Definition: ErrorBadDevice.h:32
Definition: DeviceAdapterTag.h:52
#define VTKM_ALWAYS_EXPORT
Definition: ExportMacros.h:92
This class is thrown when VTK-m performs an operation that is not supported on the current device.
Definition: ErrorBadDevice.h:29
VTKM_SILENCE_WEAK_VTABLE_WARNING_END VTKM_CONT_EXPORT void throwFailedRuntimeDeviceTransfer(const std::string &className, vtkm::cont::DeviceAdapterId device)
Throws an ErrorBadeDevice exception with the following message: "VTK-m was unable to transfer classNa...