support added for several cuda versions on linux