cudaKDTree icon indicating copy to clipboard operation
cudaKDTree copied to clipboard

GPU memory overflow

Open mcmingchang opened this issue 5 months ago • 5 comments

for (int i = 0; i < 100000; i++) { SpatialKDTree<float3, default_data_traits> tree; cukd::buildTree<float3, default_data_traits>(tree, pts, pt_num, buildConfig); cudaMemGetInfo(&freeMem, &totalMem); std::cout << "Used memory: " << (totalMem - freeMem) << " bytes\n"; std::cout << "Add memory: " << (totalMem - freeMem) - lastMem << " bytes\n"; lastMem = totalMem - freeMem; }

mcmingchang avatar Sep 26 '24 02:09 mcmingchang