Thrust related codes changed