cuda init checked with a sample mat