wrote cuda version