30 lines
957 B
C++
30 lines
957 B
C++
//============================================================================
|
|
// Copyright (c) Kitware, Inc.
|
|
// All rights reserved.
|
|
// See LICENSE.txt for details.
|
|
//
|
|
// This software is distributed WITHOUT ANY WARRANTY; without even
|
|
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
// PURPOSE. See the above copyright notice for more information.
|
|
//============================================================================
|
|
|
|
#include <vtkm/cont/testing/TestingImplicitFunction.h>
|
|
|
|
namespace
|
|
{
|
|
|
|
void TestImplicitFunctions()
|
|
{
|
|
vtkm::cont::testing::TestingImplicitFunction testing;
|
|
testing.Run(vtkm::cont::DeviceAdapterTagKokkos());
|
|
}
|
|
|
|
} // anonymous namespace
|
|
|
|
int UnitTestKokkosImplicitFunction(int argc, char* argv[])
|
|
{
|
|
auto& tracker = vtkm::cont::GetRuntimeDeviceTracker();
|
|
tracker.ForceDevice(vtkm::cont::DeviceAdapterTagKokkos{});
|
|
return vtkm::cont::testing::Testing::Run(TestImplicitFunctions, argc, argv);
|
|
}
|