From f7ae602a97c1083b394ff8666dac4e74bb748748 Mon Sep 17 00:00:00 2001 From: John Biddiscombe Date: Fri, 24 Feb 2023 11:48:57 +0100 Subject: [PATCH] Use resource manager default pool name instead of hardcoded one --- .../async_cuda/include/pika/async_cuda/cuda_polling_helper.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/pika/async_cuda/include/pika/async_cuda/cuda_polling_helper.hpp b/libs/pika/async_cuda/include/pika/async_cuda/cuda_polling_helper.hpp index 0af9ce76c6..8cebe0271d 100644 --- a/libs/pika/async_cuda/include/pika/async_cuda/cuda_polling_helper.hpp +++ b/libs/pika/async_cuda/include/pika/async_cuda/cuda_polling_helper.hpp @@ -32,7 +32,7 @@ namespace pika::cuda::experimental { if (pool_name_.empty()) { detail::register_polling(pika::resource::get_thread_pool(0)); - set_pool_name("default"); + set_pool_name(pika::resource::get_pool_name(0)); } else {