diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-07-26 18:39:53 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-07-26 18:39:53 +0200 |
commit | 29f5b628317bcf83ddc5bfeaec92108b6bb1e89d (patch) | |
tree | 60b476d9a073045e3bc1cf5729b47174d04f7701 /pssolve.h | |
parent | e6180b82d89d69846cfdd7881dd067ff38ea6a79 (diff) |
Switch to external threadpool library.
Diffstat (limited to 'pssolve.h')
-rw-r--r-- | pssolve.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; |