Optimizing over .cuda() variables

Hi,

It all depends how you create them. Check this post for a detailed answer.