testing cuda in simplest possible case