Closed dr-pain closed 5 years ago
Most algorithms and code simply adjust to whatever DAAL provides. Exceptions are
The code generator needs to be adjusted to
Both adjustments should be handled in wrapper_gen.py:gen_footers
done with #43
The logic has been reversed: DAAL algorithms are now excluded in generator/wrappers.py:wrap_algo - they are no longer explicitly listed in a list in generator/gen_daal4py.py.
Could you provide details/instruction on daal4py tailored build?
Just let wrap_algo(algo_ver) return True for algorithms you want to have in your build, False otherwise. Parameter 'algo' is the DAAL C++ namespace and ver the version of DAAL.
@fshlimb, could you please provide one step by step instructions?
we tried edit daal4py-2019.3/generator/wrappers.py def wrap_algo(algo, ver): … if algo.startswith('algorithms::decision_forest'): return True return False
Sounds right. Any issue with this?
Starting from 2019u1.1 DAAL has feature to be built with specified set of algorithms. It is impossible to build daal4py out_of_the_box with such DAAL - will see undefined references. Add the tailored build feature to daal4py please.