aboutsummaryrefslogtreecommitdiff
path: root/pssolve.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-07-26 18:39:53 +0200
committerAnton Khirnov <anton@khirnov.net>2020-07-26 18:39:53 +0200
commit29f5b628317bcf83ddc5bfeaec92108b6bb1e89d (patch)
tree60b476d9a073045e3bc1cf5729b47174d04f7701 /pssolve.h
parente6180b82d89d69846cfdd7881dd067ff38ea6a79 (diff)
Switch to external threadpool library.
Diffstat (limited to 'pssolve.h')
-rw-r--r--pssolve.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/pssolve.h b/pssolve.h
index 6d5d1c0..160e179 100644
--- a/pssolve.h
+++ b/pssolve.h
@@ -51,9 +51,10 @@ typedef void* cl_command_queue;
#include <stdint.h>
+#include <threadpool.h>
+
#include "basis.h"
#include "log.h"
-#include "threadpool.h"
enum PSSolveDiffOrder {
PSSOLVE_DIFF_ORDER_00,
@@ -122,7 +123,7 @@ typedef struct PSSolveContext {
* caller before tdi_pssolve_context_init(), otherwise a single thread will
* be used.
*/
- ThreadPoolContext *tp;
+ TPContext *tp;
cl_context ocl_ctx;
cl_command_queue ocl_queue;