ingowald / cudaKDTree

206 stars 18 forks source link

buildTree in a stream #5

Closed bricerebsamen closed 1 year ago

bricerebsamen commented 1 year ago

buildTree takes a stream argument and does almost everything in this stream

testing: with the default argument it works as before I haven't tested with a custom stream yet (I have problems running the tests in this repo). Also I haven't verified that all the work happens in the stream as intended. Finally, remains the allocation of the tags vector which happens in the main stream I believe (I don't know how to allocate a thrust::device_vector in a stream)