From 7f49b772b1cc77931fad7419fc962495eb060bb5 Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Thu, 28 Dec 2023 16:50:32 -0800 Subject: [PATCH] nvc++ doesn't like polymorphic thread_locals with no virtual dtor --- include/exec/__detail/__numa.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/exec/__detail/__numa.hpp b/include/exec/__detail/__numa.hpp index 7c88bc1f2..66a643337 100644 --- a/include/exec/__detail/__numa.hpp +++ b/include/exec/__detail/__numa.hpp @@ -25,6 +25,7 @@ namespace exec { struct numa_policy { + virtual ~numa_policy() = default; virtual std::size_t num_nodes() = 0; virtual std::size_t num_cpus(int node) = 0; virtual int bind_to_node(int node) = 0;