Re: [numeric-bindings] NumericBindings conflicts with LAPACKE
"Thomas Klimpel" <[email protected]>
| Newsgroups | gmane.comp.lib.boost.ublas |
|---|---|
| Message-ID | <trinity-b1ee8957-7832-461b-951b-4413c23ffa0f-1441275711086@3capp-gmx-bs46> |
Hi Marco, the prototypes from lapacke.h seem to lack const qualifiers. One option could be to extend the python script to create a lapacke.h with const qualifiers from a given lapacke.h. Another option would be to allow the python script to generate bindings which use a "given" lapacke.h, and generate appropriate const_cast<>s in the // Overloaded function for dispatching to // * netlib-compatible LAPACK backend (the default) A nicer variant of this option would be to have lapacke as another backend, and switch between the different backends via macros like BOOST_NUMERIC_BINDINGS_LAPACK_CLAPACK for switching from the // * netlib-compatible LAPACK backend (the default) to // * ATLAS's CLAPACK backend What would you prefer? A macro like BOOST_NUMERIC_BINDINGS_LAPACK_LAPACKE for switching to a lapacke backend, or some possibility to generate lapacke.h with const qualifiers, with the possible option to directly incorporate such an improved lapacke.h into future versions of lapacke? Regards, Thomas Klimpel _______________________________________________ ublas mailing list [email protected] http://lists.boost.org/mailman/listinfo.cgi/ublas Sent to: [email protected]