diff options
author | Anton Khirnov <anton@khirnov.net> | 2017-06-30 09:46:01 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2017-06-30 09:46:01 +0200 |
commit | ca95f7b9b5af03d0965a5671c7c0ff5a4603ee8c (patch) | |
tree | 2096987039ebea222ceba50ca49bf3da27969086 | |
parent | 24103bc5ae3d568ca97bdb70175b975fa680546c (diff) |
Export the number of threads in the python wrapper.
-rw-r--r-- | brill_data.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/brill_data.py b/brill_data.py index 9bfe25d..cdb5ae5 100644 --- a/brill_data.py +++ b/brill_data.py @@ -47,7 +47,8 @@ class BrillData(object): ("nb_coeffs", ctypes.c_uint * 2), ("basis_scale_factor", ctypes.c_double * 2), ("psi_minus1_coeffs", ctypes.POINTER(ctypes.c_double)), - ("stride", ctypes.c_long)] + ("stride", ctypes.c_uint), + ("nb_threads", ctypes.c_uint)] def __init__(self, **kwargs): self._libbd = ctypes.CDLL('libbrilldata.so') |