thrust::mr::tls_pool

Defined in thrust/mr/tls_pool.h

template<typename Upstream, typename Bookkeeper>
thrust::mr::unsynchronized_pool_resource<Upstream> &thrust::mr::tls_pool(Upstream *upstream = nullptr)

Potentially constructs, if not yet created, and then returns the address of a thread-local unsynchronized_pool_resource,

Template Parameters

Upstream – the template argument to the pool template

Parameters

upstream – the argument to the constructor, if invoked