mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-20 02:55:47 +00:00
Re-add assert to fix deadlock
For some reason, `UnitTestContourTreeUniformAugmentedFilterCUDA` was deadlocking on some of the dashboards when `VTKM_ASSERT` was changed to be empty when compiling CUDA kernels (for compiler performance reasons). Fix this by calling `assert` directly in this case. For the life of me, I cannot figure out why this would be an issue. Clearly the `assert` is never actually called or else the test would error out (unless a special condition in CUDA is causing it to be hidden). But if you take out the code, something changes to lock up the kernel.
This commit is contained in:
parent
270ba214d5
commit
c84588caf7
@ -227,7 +227,7 @@ public:
|
||||
return SortIndicesPortal.Get(meshIndex + (this->NumRows * this->NumColumns) +
|
||||
this->NumColumns + 1); // { 1, 1, 1 }
|
||||
default:
|
||||
VTKM_ASSERT(false);
|
||||
assert(false);
|
||||
return meshIndex; // Need to error out here
|
||||
}
|
||||
} // GetNeighbourIndex
|
||||
|
Loading…
Reference in New Issue
Block a user