mariusmuja/flann — pull request #22 by amuetzel (2011-12-22 16:18:35+00:00)
Title: Fix CUDA kd tree (broken by the flann::Matrix::stride change)

Hi Marius,
I noticed that the changed meaning of flann::Matrix::stride broke the cuda kd tree, since there, it was expected to be in units of sizeof(DataType), not in bytes.

I fixed the test and the kd tree code to work with the new meaning, even though I somehow dislike it. (I don't like the fact that "stride" and "cols" now have different "units", even though I can see a use case for the new semantics.)

Cheers,
Andreas