parallel library versions and some small fixes for logreg fusion and cuda code gen