aboutsummaryrefslogtreecommitdiff
path: root/bicgstab.h
diff options
context:
space:
mode:
Diffstat (limited to 'bicgstab.h')
-rw-r--r--bicgstab.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/bicgstab.h b/bicgstab.h
index cecc06d..249da18 100644
--- a/bicgstab.h
+++ b/bicgstab.h
@@ -21,23 +21,12 @@
#include "config.h"
-#if HAVE_OPENCL
-#include <cl.h>
-#else
-typedef void* cl_context;
-typedef void* cl_command_queue;
-#endif
-
typedef struct BiCGStabContext BiCGStabContext;
/**
* Allocate and initialize the solver for the NxN system.
- *
- * If the OpenCL context and command queue are provided (non-NULL), the solver
- * will run using clBLAS.
*/
-int tdi_bicgstab_context_alloc(BiCGStabContext **ctx, int N, int maxiter,
- cl_context ocl_ctx, cl_command_queue ocl_q);
+int tdi_bicgstab_context_alloc(BiCGStabContext **ctx, int N, int maxiter);
/**
* Free the solver and all its internal state.