code: func (d Device) Name() (string, error) {
  	size := 256
  	buf := make([]byte, 256)
  	cstr := C.CString(string(buf))
  	defer C.free(unsafe.Pointer(cstr))
  	if err := result(C.cuDeviceGetName(cstr, C.int(size), C.CUdevice(d))); err != nil {
  		return "", err
  	}
  	return C.GoString(cstr), nil
  }
docs: // Name returns the name of the device.
  //
  // Wrapper over cuDeviceGetName: http://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__DEVICE.html#group__CUDA__DEVICE_1gef75aa30df95446a845f2a7b9fffbb7f