Simple gpu calculations