Commit ed34b632 authored by Robert Maynard's avatar Robert Maynard

vtkm::cont::Testing RunOnDevice requires argc,argv parameters.

parent 0365af01
......@@ -84,7 +84,7 @@ public:
}
template <class Func>
static VTKM_CONT int RunOnDevice(Func function, int argc = 0, char* argv[] = nullptr)
static VTKM_CONT int RunOnDevice(Func function, int argc, char* argv[])
{
auto opts = vtkm::cont::InitializeOptions::RequireDevice;
auto config = vtkm::cont::Initialize(argc, argv, opts);
......
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