Skip to content

Commit

Permalink
Merge pull request #1181 from NVIDIA/fix-nvhpc-debug-build
Browse files Browse the repository at this point in the history
nvc++ doesn't like polymorphic thread_locals with no virtual dtor
  • Loading branch information
ericniebler authored Dec 29, 2023
2 parents b5e2f76 + 7f49b77 commit fc14ae4
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 fc14ae4

Please sign in to comment.