From ca95f7b9b5af03d0965a5671c7c0ff5a4603ee8c Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 30 Jun 2017 09:46:01 +0200 Subject: Export the number of threads in the python wrapper. --- brill_data.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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') -- cgit v1.2.3