fixing backend choice (big TODO written in the _cuda file...)