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:
slbillups
2024-06-22 14:22:25 -05:00
parent 340a03babe
commit e8bcb06e3e
+2 -1
View File
@@ -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);
}
}