File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
source/pbat/gpu/impl/geometry Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ void SweepAndPrune::Reserve(std::size_t nPrimitives)
27
27
#include " pbat/gpu/impl/common/SynchronizedList.cuh"
28
28
#include " pbat/math/linalg/mini/Mini.h"
29
29
30
+ #include < cuda/functional>
30
31
#include < cuda/std/utility>
31
32
#include < doctest/doctest.h>
32
33
#include < unordered_set>
@@ -103,7 +104,7 @@ void RunSweepAndPruneTests()
103
104
gpu::impl::geometry::SweepAndPrune sap{};
104
105
sap.SortAndSweep (
105
106
aabbs,
106
- [nEdges, o = overlaps.Raw ()] PBAT_DEVICE (GpuIndex si, GpuIndex sj) mutable {
107
+ [nEdges, o = overlaps.Raw ()] PBAT_DEVICE (GpuIndex si, GpuIndex sj) mutable -> void {
107
108
if (si < nEdges and sj >= nEdges)
108
109
o.Append (OverlapType{si, sj - nEdges});
109
110
if (si >= nEdges and sj < nEdges)
You can’t perform that action at this time.
0 commit comments