chore: Add <cfloat> header for simple_knn.cu
(ensures FLT_MAX is defined, fixing undefined identifier errors in simple_knn.cu)
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#define __CUDACC__
|
||||
#include <cooperative_groups.h>
|
||||
#include <cooperative_groups/reduce.h>
|
||||
#include <cfloat>
|
||||
|
||||
namespace cg = cooperative_groups;
|
||||
|
||||
@@ -218,4 +219,4 @@ void SimpleKNN::knn(int P, float3* points, float* meanDists)
|
||||
boxMeanDist << <num_boxes, BOX_SIZE >> > (P, points, indices_sorted.data().get(), boxes.data().get(), meanDists);
|
||||
|
||||
cudaFree(result);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user