thrust::mr::tls_disjoint_pool
Defined in thrust/mr/disjoint_tls_pool.h
-
template<typename Upstream, typename Bookkeeper>
thrust::mr::disjoint_unsynchronized_pool_resource<Upstream, Bookkeeper> &thrust::mr::tls_disjoint_pool(Upstream *upstream = nullptr, Bookkeeper *bookkeeper = nullptr) Potentially constructs, if not yet created, and then returns the address of a thread-local
disjoint_unsynchronized_pool_resource
,- Template Parameters
Upstream – the first template argument to the pool template
Bookkeeper – the second template argument to the pool template
- Parameters
upstream – the first argument to the constructor, if invoked
bookkeeper – the second argument to the constructor, if invoked