aboutsummaryrefslogtreecommitdiff
path: root/pssolve.h
diff options
context:
space:
mode:
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;