c9b763aca9
The new name reflects better what the underlying algorithm does. It also helps prevent confusion about what types of data the locator is good for. The old name suggested it only worked for structured grids, which is not the case.
104 lines
3.2 KiB
CMake
104 lines
3.2 KiB
CMake
##============================================================================
|
|
## 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.
|
|
##============================================================================
|
|
|
|
set(headers
|
|
ExplicitTestData.h
|
|
MakeTestDataSet.h
|
|
Testing.h
|
|
TestingArrayHandles.h
|
|
TestingArrayHandleMultiplexer.h
|
|
TestingCellLocatorRectilinearGrid.h
|
|
TestingCellLocatorUniformBins.h
|
|
TestingCellLocatorUniformGrid.h
|
|
TestingColorTable.h
|
|
TestingComputeRange.h
|
|
TestingDeviceAdapter.h
|
|
TestingDataSetExplicit.h
|
|
TestingDataSetSingleType.h
|
|
TestingFancyArrayHandles.h
|
|
TestingImplicitFunction.h
|
|
TestingPointLocatorSparseGrid.h
|
|
TestingSerialization.h
|
|
TestingVirtualObjectHandle.h
|
|
)
|
|
|
|
vtkm_declare_headers(${headers})
|
|
|
|
set(unit_tests
|
|
UnitTestAlgorithm.cxx
|
|
UnitTestArrayCopy.cxx
|
|
UnitTestArrayGetValues.cxx
|
|
UnitTestArrayHandleCartesianProduct.cxx
|
|
UnitTestArrayHandleCompositeVector.cxx
|
|
UnitTestArrayHandleCounting.cxx
|
|
UnitTestArrayHandleDecorator.cxx
|
|
UnitTestArrayHandleDiscard.cxx
|
|
UnitTestArrayHandleExtractComponent.cxx
|
|
UnitTestArrayHandleExtrude.cxx
|
|
UnitTestArrayHandleImplicit.cxx
|
|
UnitTestArrayHandleIndex.cxx
|
|
UnitTestArrayHandleReverse.cxx
|
|
UnitTestArrayHandlePermutation.cxx
|
|
UnitTestArrayHandleRandomStandardNormal.cxx
|
|
UnitTestArrayHandleRandomUniformBits.cxx
|
|
UnitTestArrayHandleRandomUniformReal.cxx
|
|
UnitTestArrayHandleSwizzle.cxx
|
|
UnitTestArrayHandleThreadSafety.cxx
|
|
UnitTestArrayHandleTransform.cxx
|
|
UnitTestArrayHandleUniformPointCoordinates.cxx
|
|
UnitTestArrayHandleConcatenate.cxx
|
|
UnitTestArrayHandleVirtual.cxx
|
|
UnitTestArrayPortalToIterators.cxx
|
|
UnitTestCellLocatorGeneral.cxx
|
|
UnitTestCellSet.cxx
|
|
UnitTestCellSetExplicit.cxx
|
|
UnitTestCellSetExtrude.cxx
|
|
UnitTestCellSetPermutation.cxx
|
|
UnitTestContTesting.cxx
|
|
UnitTestDataSetBuilderExplicit.cxx
|
|
UnitTestDataSetBuilderRectilinear.cxx
|
|
UnitTestDataSetBuilderUniform.cxx
|
|
UnitTestDataSetPermutation.cxx
|
|
UnitTestDataSetRectilinear.cxx
|
|
UnitTestDataSetUniform.cxx
|
|
UnitTestDeviceAdapterAlgorithmDependency.cxx
|
|
UnitTestDeviceAdapterAlgorithmGeneral.cxx
|
|
UnitTestDynamicCellSet.cxx
|
|
UnitTestError.cxx
|
|
UnitTestFieldRangeCompute.cxx
|
|
UnitTestInitialize.cxx
|
|
UnitTestLogging.cxx
|
|
UnitTestMoveConstructors.cxx
|
|
UnitTestParticleArrayCopy.cxx
|
|
UnitTestPartitionedDataSet.cxx
|
|
UnitTestRuntimeDeviceInformation.cxx
|
|
UnitTestRuntimeDeviceNames.cxx
|
|
UnitTestScopedRuntimeDeviceTracker.cxx
|
|
UnitTestStorageImplicit.cxx
|
|
UnitTestStorageList.cxx
|
|
UnitTestStorageListTag.cxx
|
|
UnitTestTimer.cxx
|
|
UnitTestToken.cxx
|
|
UnitTestTryExecute.cxx
|
|
UnitTestUnknownArrayHandle.cxx
|
|
UnitTestVariantArrayHandle.cxx
|
|
)
|
|
|
|
vtkm_unit_tests(SOURCES ${unit_tests} DEFINES VTKM_NO_ERROR_ON_MIXED_CUDA_CXX_TAG)
|
|
|
|
# add distributed tests i.e. test to run with MPI
|
|
# if MPI is enabled.
|
|
set(mpi_unit_tests
|
|
UnitTestFieldRangeGlobalCompute.cxx
|
|
UnitTestSerializationArrayHandle.cxx
|
|
UnitTestSerializationDataSet.cxx
|
|
)
|
|
vtkm_unit_tests(MPI SOURCES ${mpi_unit_tests} DEFINES VTKM_NO_ERROR_ON_MIXED_CUDA_CXX_TAG)
|