Skip to content

Commit

Permalink
nvc++ doesn't like polymorphic thread_locals with no virtual dtor
Browse files Browse the repository at this point in the history
  • Loading branch information
ericniebler committed Dec 29, 2023
1 parent 64d59b0 commit 7f49b77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/exec/__detail/__numa.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7f49b77

Please sign in to comment.