vtk-m2/vtkm/worklet/testing
Kenneth Moreland 10e8a4a7f9 Remove locking control ArrayPortals
Previously, when a ReadPortal or a WritePortal was returned from an
ArrayHandle, it had wrapped in it a Token that was attached to the
ArrayHandle. This Token would prevent other reads and writes from the
ArrayHandle.

This added safety in the form of making sure that the ArrayPortal was
always valid. Unfortunately, it also made deadlocks very easy. They
happened when an ArrayPortal did not leave scope immediately after use
(which is not all that uncommon).

Now, the ArrayPortal no longer locks up the ArrayHandle. Instead, when
an access happens on the ArrayPortal, it checks to make sure that
nothing has happened to the data being accessed. If it has, a fatal
error is reported to the log.
2020-03-16 07:10:10 -06:00
..
CMakeLists.txt Initial infrastructure to allow WorkletMapField to have 3D scheduling 2020-02-25 15:23:41 -05:00
UnitTestAverageByKey.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestBoundingIntervalHierarchy.cxx Introduce vtkm::ErrorCode 2020-03-13 18:58:33 -06:00
UnitTestCellAverage.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestCellDeepCopy.cxx Refactor CellSetExplicit to remove NumIndices. 2019-09-30 12:27:13 -04:00
UnitTestCellGradient.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestCellMeasure.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestCellSetConnectivity.cxx CellSet classes don't require a name 2019-09-02 10:39:58 -04:00
UnitTestCellSetDualGraph.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestClipping.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestClippingWithFunction.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestContour.cxx Merge branch 'master' into tangle_source 2019-09-11 12:06:58 -06:00
UnitTestContourTreeUniform.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestContourTreeUniformAugmented.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestCoordinateSystemTransform.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestCosmoTools.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestCrossProduct.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestDotProduct.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestExternalFaces.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestExtractGeometry.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestExtractPoints.cxx Remove multiple vtkm::cont::CellSet from vtkm::cont::DataSet 2019-09-02 09:04:51 -04:00
UnitTestExtractStructured.cxx Remove multiple vtkm::cont::CellSet from vtkm::cont::DataSet 2019-09-02 09:04:51 -04:00
UnitTestFieldHistogram.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestFieldStatistics.cxx CellSet classes don't require a name 2019-09-02 10:39:58 -04:00
UnitTestGraphConnectivity.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestImageConnectivity.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestInnerJoin.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestKdTreeBuildNNS.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestKeys.cxx ConvertNumComponentsToOffsets using ScanExtented vs. ScanExclusive 2020-03-05 10:57:34 -05:00
UnitTestMagnitude.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestMask.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestMaskIndices.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestMaskPoints.cxx Remove multiple vtkm::cont::CellSet from vtkm::cont::DataSet 2019-09-02 09:04:51 -04:00
UnitTestMaskSelect.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestNDimsEntropy.cxx conslidate the license statement 2019-04-17 10:57:13 -06:00
UnitTestNDimsHistMarginalization.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestNDimsHistogram.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestNormalize.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestOrientNormals.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestParticleAdvection.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestPointElevation.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestPointGradient.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestPointTransform.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestProbe.cxx Introduce vtkm::ErrorCode 2020-03-13 18:58:33 -06:00
UnitTestRemoveUnusedPoints.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestScalarsToColors.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestScatterAndMask.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestScatterCounting.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestScatterPermutation.cxx Remove locking control ArrayPortals 2020-03-16 07:10:10 -06:00
UnitTestSplatKernels.cxx Update VTK-m code to use new Vec aliases 2019-07-31 12:55:40 -06:00
UnitTestSplitSharpEdges.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestStreamingSine.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestStreamLineUniformGrid.cxx CellSet classes don't require a name 2019-09-02 10:39:58 -04:00
UnitTestStreamSurface.cxx Remove multiple vtkm::cont::CellSet from vtkm::cont::DataSet 2019-09-02 09:04:51 -04:00
UnitTestSurfaceNormals.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestTemporalAdvection.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestTetrahedralize.cxx Remove multiple vtkm::cont::CellSet from vtkm::cont::DataSet 2019-09-02 09:04:51 -04:00
UnitTestThreshold.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestThresholdPoints.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestTriangleWinding.cxx ConvertNumComponentsToOffsets using ScanExtented vs. ScanExclusive 2020-03-05 10:57:34 -05:00
UnitTestTriangulate.cxx Remove multiple vtkm::cont::CellSet from vtkm::cont::DataSet 2019-09-02 09:04:51 -04:00
UnitTestTube.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestVertexClustering.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestWarpScalar.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestWarpVector.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestWaveletCompressor.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestWholeCellSetIn.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestWorkletMapField3d.cxx Update UnitTestWorkletMapField3d to use vtkm::cont::Token 2020-02-27 10:07:10 -05:00
UnitTestWorkletMapField.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestWorkletMapFieldExecArg.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestWorkletMapFieldWholeArray.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestWorkletMapFieldWholeArrayAtomic.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestWorkletMapPointNeighborhood.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestWorkletMapTopologyExplicit.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestWorkletMapTopologyUniform.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestWorkletReduceByKey.cxx Use new ways to get array portal in control environment 2020-02-26 13:10:46 -07:00
UnitTestZFPCompressor.cxx Remove locking control ArrayPortals 2020-03-16 07:10:10 -06:00