From 29f5b628317bcf83ddc5bfeaec92108b6bb1e89d Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 26 Jul 2020 18:39:53 +0200 Subject: Switch to external threadpool library. --- pssolve.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pssolve.h') 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 +#include + #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; -- cgit v1.2.3