aboutsummaryrefslogtreecommitdiff
path: root/brill_data.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2017-06-30 09:44:25 +0200
committerAnton Khirnov <anton@khirnov.net>2017-06-30 09:45:37 +0200
commit24103bc5ae3d568ca97bdb70175b975fa680546c (patch)
tree595ab9702987a266e7730807cdb1f4279b838a78 /brill_data.h
parentd8e21cfe33c9fd98109374510311479955684412 (diff)
Refactor conformal factor evaluation.
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;
/**