Using the PyCUDA stream class