Commit e3eca82c authored by Robert Maynard's avatar Robert Maynard
Browse files

This host/device integrator constructors need to suppress warnings

Otherwise the emit false positive warnings about calling host methods
from device code.
parent 181b955f
......@@ -40,6 +40,7 @@ template <typename FieldEvaluateType,
class Integrator
{
protected:
VTKM_SUPPRESS_EXEC_WARNINGS
VTKM_EXEC_CONT
Integrator()
: StepLength(0)
......@@ -173,6 +174,7 @@ template <typename FieldEvaluateType, typename FieldType>
class RK4Integrator : public Integrator<FieldEvaluateType, FieldType, RK4Integrator>
{
public:
VTKM_SUPPRESS_EXEC_WARNINGS
VTKM_EXEC_CONT
RK4Integrator()
: Integrator<FieldEvaluateType, FieldType, vtkm::worklet::particleadvection::RK4Integrator>()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment