Added a standard class to ask for the cuda device(s)