revising ex0 cuda