Skip to content
Hüseyin Tuğrul BÜYÜKIŞIK edited this page Mar 18, 2022 · 2 revisions

Welcome to the FastCollisionDetectionLib wiki!

Single instance of thread pool object can be used for multiple adaptive grids.

	  FastColDetLib::ThreadPool<float> thr;


	  auto adaptive=FastColDetLib::AdaptiveGrid<float>(thr,-1,-1,-1,1,1,1);
	  auto adaptive2=FastColDetLib::AdaptiveGrid<float>(thr,-1,-1,-1,1,1,1);

Even when adaptive grids are used in different cpu threads, thread-pool computes both of their enqueued work.

Clone this wiki locally