blob: 5f3483ea6756748dc8540e7d7997d97837321ab1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
From b9dd074526c18e7423085853518b58d602cb0b57 Mon Sep 17 00:00:00 2001
From: "Petr A. Ermolaev" <petr.a.ermolaev@gmail.com>
Date: Fri, 4 May 2018 07:50:24 +0000
Subject: [PATCH] fix compilation via gcc and cuda 9.1 add missing #include
<thrust/gather> to kdtree_cuda_3d_index.cu
--- a/src/cpp/flann/algorithms/kdtree_cuda_3d_index.cu
+++ b/src/cpp/flann/algorithms/kdtree_cuda_3d_index.cu
@@ -32,6 +32,7 @@
#include <flann/util/cuda/result_set.h>
// #define THRUST_DEBUG 1
#include <cuda.h>
+#include <thrust/gather.h>
#include <thrust/copy.h>
#include <thrust/device_vector.h>
#include <vector_types.h>
|