Fix race condition in UnitTestGraphConnectivity

The UnitTestGraphConnectivity would sometimes fail on parallel devices
(even though the tested graph is remarkably small). The issue was likely
a race condition in the pointer jumping worklets where the worklet would
check graph edges in an array and then update the connections in the
same array.

These race conditions are removed by reading input connections from one
array and writing the results to a separate array. The algorithm now
seems more stable although it now requires more memory.
38 jobs for !2191 with graph-connectivity-race-condition in 83 minutes and 29 seconds (queued for 8 seconds)
detached
Status Name Job ID Coverage
  Build
passed build:centos7_gcc48 #5094707
build vtkm docker linux large-memory

00:15:59

passed build:centos8_sanitizer #5094708
build vtkm docker linux

00:23:08

passed build:rhel8 #5094709
build vtkm docker linux

00:08:54

passed build:rhel8_vtk_types #5094710
build vtkm docker linux

00:08:54

passed build:ubuntu1604_clang5 #5094713
build vtkm docker linux

00:19:54

passed build:ubuntu1604_gcc48 #5094712
build vtkm docker linux

00:09:59

passed build:ubuntu1604_gcc5 #5094711
build vtkm docker linux large-memory

00:58:56

passed build:ubuntu1804_clang8 #5094717
build vtkm docker linux

00:02:53

passed build:ubuntu1804_gcc6 #5094716
build vtkm docker linux

00:03:15

passed build:ubuntu1804_gcc7 #5094715
build vtkm docker linux large-memory

00:40:52

passed build:ubuntu1804_gcc9 #5094714
build vtkm docker linux

00:33:51

passed build:windows_vs2019 #5094718
build vtkm windows vs2019 shell large-memory

00:06:22

 
  Test
failed test:centos7_gcc48 #5094719
test cuda-rt turing vtkm docker linux

00:50:00

passed test:centos8_sanitizer #5094721
test vtkm docker linux privileged

00:02:10

passed test:rhel8 #5094722
test vtkm docker linux

00:00:54

failed test:rhel8_test_centos7 #5094720
test cuda-rt turing vtkm docker linux

00:50:00

passed test:rhel8_vtk_types #5094723
test vtkm docker linux

00:00:50

passed test:ubuntu1604_clang5 #5094977
linux docker vtkm test

00:03:17

passed test:ubuntu1604_gcc48 #5094724
test vtkm docker linux

00:01:18

passed test:ubuntu1804_clang8 #5094729
test vtkm docker linux

00:01:37

passed test:ubuntu1804_gcc6 #5094728
test vtkm docker linux

00:00:43

passed test:ubuntu1804_gcc7 #5094727
test cuda-rt turing vtkm docker linux

00:03:20

passed test:ubuntu1804_gcc9 #5094726
test vtkm docker linux

00:02:29

passed test:windows_vs2019 #5094730
test vtkm windows shell cuda-rt turing

00:00:26

failed test:ubuntu1604_clang5 #5094725
test vtkm docker linux

00:01:51

 
  External
passed cdash-buildbot

passed cdash-commit

passed ghostflow-branch-check-master

passed vtk-m-dragnipur-osx-shared-debug+32bit_ids+64bit_coords+clang+tbb

passed vtk-m-dragnipur-osx-static-release+64bit_coords+clang+tbb

passed vtk-m-osheim-windows-shared-debug+ninja-vs-2017+tbb

passed vtk-m-osheim-windows-static-release+ninja-vs-2017+tbb

passed vtk-m-dragnipur-osx-shared-debug+32bit_ids+64bit_coords+clang+tbb

00:02:29

passed vtk-m-dragnipur-osx-static-release+64bit_coords+clang+tbb

00:02:21

passed vtk-m-osheim-windows-shared-debug+ninja-vs-2017+tbb

passed vtk-m-osheim-windows-shared-debug+ninja-vs-2017+tbb

00:09:49

passed vtk-m-osheim-windows-static-release+ninja-vs-2017+tbb

passed vtk-m-osheim-windows-static-release+ninja-vs-2017+tbb

00:03:43

 
Name Stage Failure
failed
test:rhel8_test_centos7 Test The script exceeded the maximum execution time set for the job
392:           42           43
392: 42 56
392: 56 67
392: 56 92
392: 62 67
392: 81 92
392: 92 93
392: Testing ContourTree_Augmented 3D Mesh Marching Cubes. computeRegularStructure=1
ERROR: Job failed: execution took longer than 50m0s seconds
failed
test:centos7_gcc48 Test The script exceeded the maximum execution time set for the job
392:           42           43
392: 42 56
392: 56 67
392: 56 92
392: 62 67
392: 81 92
392: 92 93
392: Testing ContourTree_Augmented 3D Mesh Marching Cubes. computeRegularStructure=1
ERROR: Job failed: execution took longer than 50m0s seconds