6e1d3a84f0
how did any of this work? match other CellSet file layouts. ??? compile in CUDA. unit tests. also only serial. make error message accurate Well, this compiles and works now. Did it ever? use CellShapeTagGeneric UnitTest matches previous changes. whoops Fix linking problems. Need the same interface as other ThreadIndices. add filter test okay, let's try duplicating CellSetStructure. okay inching... change to wedge in CellSetListTag Means changing these to support it. switch back to wedge from generic compiles and runs remove ExtrudedType need vtkm_worklet vtkm_worklet needs to be included fix segment count for wedge specialization need to actually save the index for the other constructor. specialize on Explicit clean up warning angled brackets not quotes. formatting
94 lines
2.9 KiB
CMake
94 lines
2.9 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
|
|
TestingArrayHandleVirtualCoordinates.h
|
|
TestingCellLocatorRectilinearGrid.h
|
|
TestingCellLocatorUniformBins.h
|
|
TestingCellLocatorUniformGrid.h
|
|
TestingColorTable.h
|
|
TestingComputeRange.h
|
|
TestingDeviceAdapter.h
|
|
TestingDataSetExplicit.h
|
|
TestingDataSetSingleType.h
|
|
TestingFancyArrayHandles.h
|
|
TestingImplicitFunction.h
|
|
TestingPointLocatorUniformGrid.h
|
|
TestingSerialization.h
|
|
TestingVirtualObjectHandle.h
|
|
)
|
|
|
|
vtkm_declare_headers(${headers})
|
|
|
|
set(unit_tests
|
|
UnitTestAlgorithm.cxx
|
|
UnitTestArrayCopy.cxx
|
|
UnitTestArrayHandleCartesianProduct.cxx
|
|
UnitTestArrayHandleCompositeVector.cxx
|
|
UnitTestArrayHandleCounting.cxx
|
|
UnitTestArrayHandleDiscard.cxx
|
|
UnitTestArrayHandleExtractComponent.cxx
|
|
UnitTestArrayHandleExtrude.cxx
|
|
UnitTestArrayHandleImplicit.cxx
|
|
UnitTestArrayHandleIndex.cxx
|
|
UnitTestArrayHandleReverse.cxx
|
|
UnitTestArrayHandlePermutation.cxx
|
|
UnitTestArrayHandleSwizzle.cxx
|
|
UnitTestArrayHandleTransform.cxx
|
|
UnitTestArrayHandleUniformPointCoordinates.cxx
|
|
UnitTestArrayHandleConcatenate.cxx
|
|
UnitTestArrayHandleVirtual.cxx
|
|
UnitTestVariantArrayHandle.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
|
|
UnitTestFieldRangeCompute.cxx
|
|
UnitTestInitialize.cxx
|
|
UnitTestLogging.cxx
|
|
UnitTestMoveConstructors.cxx
|
|
UnitTestMultiBlock.cxx
|
|
UnitTestRuntimeDeviceInformation.cxx
|
|
UnitTestRuntimeDeviceNames.cxx
|
|
UnitTestScopedRuntimeDeviceTracker.cxx
|
|
UnitTestStorageBasic.cxx
|
|
UnitTestStorageImplicit.cxx
|
|
UnitTestStorageListTag.cxx
|
|
UnitTestTimer.cxx
|
|
UnitTestTryExecute.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)
|