added devices compatibility checking; CuVector/CuMatrix creation on device