-
Notifications
You must be signed in to change notification settings - Fork 647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flann_cuda_tests are failing #501
Comments
works for me
|
I found I have to add |
uf help you. in my linux ┌─┤[$]|[sl1pkn07]|[sL1pKn07]|[/usr/include/flann]|
└───╼ grep -R CUDA
defines.h:#ifdef FLANN_USE_CUDA
defines.h: FLANN_INDEX_KDTREE_CUDA = 7,
util/cuda/result_set.h:#ifndef FLANN_UTIL_CUDA_RESULTSET_H
util/cuda/result_set.h:#define FLANN_UTIL_CUDA_RESULTSET_H
util/cuda/heap.h:#ifndef FLANN_UTIL_CUDA_HEAP_H
util/cuda/heap.h:#define FLANN_UTIL_CUDA_HEAP_H
util/cutil_math.h: (float3, float4 etc.) since these are not provided as standard by CUDA.
util/cutil_math.h:#ifndef __CUDACC__
util/cutil_math.h:// host implementations of CUDA functions
algorithms/kdtree_cuda_3d_index.h:#ifndef FLANN_KDTREE_CUDA_3D_INDEX_H_
algorithms/kdtree_cuda_3d_index.h:#define FLANN_KDTREE_CUDA_3D_INDEX_H_
algorithms/kdtree_cuda_3d_index.h: (*this)["algorithm"] = FLANN_INDEX_KDTREE_CUDA;
algorithms/all_indices.h:#ifdef FLANN_USE_CUDA
algorithms/all_indices.h:#ifdef FLANN_USE_CUDA
algorithms/all_indices.h: case FLANN_INDEX_KDTREE_CUDA:
algorithms/kdtree_cuda_builder.h:#ifndef FLANN_CUDA_KD_TREE_BUILDER_H_
algorithms/kdtree_cuda_builder.h:#define FLANN_CUDA_KD_TREE_BUILDER_H_ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to compile flann with CUDA support (I have just adjusted supported architectures to allow more than just sm_13), however tests are showing that something is not right:
Other tests for CUDA are also failing
I am using GCC 11.3.0 with CUDA 11.8.
I will be happy to provide more information or add some contribution to this project if it will make it better.
The text was updated successfully, but these errors were encountered: