mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-20 02:55:47 +00:00
Fixed CUDA build errors.
This commit is contained in:
parent
ce653c78f1
commit
6b82c1ab77
@ -162,6 +162,7 @@ public:
|
||||
bool UpEdge;
|
||||
Float64 SubtreeHeight;
|
||||
|
||||
VTKM_EXEC
|
||||
bool operator<(const EdgeDataHeight& b) const
|
||||
{
|
||||
if (this->I == b.I)
|
||||
@ -206,6 +207,7 @@ public:
|
||||
bool UpEdge;
|
||||
Id SubtreeVolume;
|
||||
|
||||
VTKM_EXEC
|
||||
bool operator<(const EdgeDataVolume& b) const
|
||||
{
|
||||
if (this->I == b.I)
|
||||
|
@ -667,7 +667,8 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
chainToBranchPortal.Set(supernode, NO_SUCH_ELEMENT);
|
||||
// This should just be vtkm::worklet::contourtree_augmented::NO_SUCH_ELEMENT, but there's the build error - identifier "vtkm::worklet::contourtree_augmented::NO_SUCH_ELEMENT" is undefined in device code
|
||||
chainToBranchPortal.Set(supernode, std::numeric_limits<vtkm::Id>::min());
|
||||
}
|
||||
}
|
||||
}; // ComputeMinMaxValues
|
||||
|
Loading…
Reference in New Issue
Block a user