Modified code to store temperature at cgpu->temp for metabank devices.