From 2cc6b249c382981cee15d69db8440e2ba3dd6453 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 7 Jan 2022 11:46:31 +0100 Subject: Cycles: Remove usage of libnumaapi No need for it now since all the threading queries and scheduling is done via TBB. Should be no functional changes as all the removed code is supposed to be unused. --- intern/cycles/util/thread.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'intern/cycles/util/thread.h') diff --git a/intern/cycles/util/thread.h b/intern/cycles/util/thread.h index 09686e4b23f..bd6a83e1dd1 100644 --- a/intern/cycles/util/thread.h +++ b/intern/cycles/util/thread.h @@ -46,9 +46,7 @@ typedef std::condition_variable thread_condition_variable; class thread { public: - /* NOTE: Node index of -1 means that affinity will be inherited from the - * parent thread and no override on top of that will happen. */ - thread(function run_cb, int node = -1); + thread(function run_cb); ~thread(); static void *run(void *arg); @@ -62,7 +60,6 @@ class thread { std::thread std_thread; #endif bool joined_; - int node_; }; using thread_spin_lock = tbb::spin_mutex; -- cgit v1.2.3