Which CUDA libraries implement neighborhood search?

Hi, I’m looking for a library that implements fixed-radius search and k-neighbors search in 3D. The point cloud contains about 500k points and I am working on Linux. I’ve already asked on SO but this kind of question is disliked over there so I hoped you guys can help me out!

If there’s no such library I thought about just copy pasting parts of the alogirhtms from the Particles Sample that comes with the toolkit. Would that be a good idea?

“I’ve already asked on SO but this kind of question is disliked over there”

why ever?

what do you mean by search in 3D: literally search (an array with 3 dimensions,) in 3 dimensions?
as in the neighbourhood is defined in terms of 3 dimensions?