mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 09:59:12 +00:00
20 lines
876 B
C++
20 lines
876 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/openmp/DeviceAdapterOpenMP.h>
|
|
#include <vtkm/cont/testing/TestingArrayHandleMultiplexer.h>
|
|
|
|
int UnitTestOpenMPArrayHandleMultiplexer(int argc, char* argv[])
|
|
{
|
|
auto& tracker = vtkm::cont::GetRuntimeDeviceTracker();
|
|
tracker.ForceDevice(vtkm::cont::DeviceAdapterTagOpenMP{});
|
|
return vtkm::cont::testing::TestingArrayHandleMultiplexer<
|
|
vtkm::cont::DeviceAdapterTagOpenMP>::Run(argc, argv);
|
|
}
|