diff options
Diffstat (limited to 'mg2d.h')
-rw-r--r-- | mg2d.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -260,6 +260,13 @@ typedef struct MG2DContext { * Distance between neighbouring gridpoints along coord1. */ ptrdiff_t diff_coeffs_stride; + + /** + * Number of threads to use for processing. + * + * Set to 0 to autodetect. Defaults to 1. + */ + unsigned int nb_threads; } MG2DContext; /** |