aboutsummaryrefslogtreecommitdiff
path: root/brill_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'brill_data.h')
-rw-r--r--brill_data.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/brill_data.h b/brill_data.h
index 621998d..9047414 100644
--- a/brill_data.h
+++ b/brill_data.h
@@ -118,6 +118,12 @@ typedef struct BDContext {
* The number of array elements between two rows.
*/
unsigned int stride;
+
+ /**
+ * Number of threads to use for parallelization. Set to 0 to automatically
+ * detect according to the number of CPU cores.
+ */
+ unsigned int nb_threads;
} BDContext;
/**