code: func (d Device) String() string {
  	if d == CPU {
  		return "CPU"
  	}
  	if d < 0 {
  		return "Invalid Device"
  	}
  	return fmt.Sprintf("GPU(%d)", int(d))
  }
docs: // String implementes fmt.Stringer (and runtime.stringer)