Lines Matching full:dest
439 . dest - The pointer to copy to
446 Both `dest` and `src` must have been allocated by `PetscDeviceMalloc()` or
449 `src` and `dest` cannot overlap.
451 If both `src` and `dest` are on the host this routine is fully synchronous.
461 -> dest --------------------->
470 PetscErrorCode PetscDeviceMemcpy(PetscDeviceContext dctx, void *PETSC_RESTRICT dest, const void *PE… in PetscDeviceMemcpy() argument
474 PetscCheck(dest, PETSC_COMM_SELF, PETSC_ERR_POINTER, "Trying to copy to a NULL pointer"); in PetscDeviceMemcpy()
476 if (dest == src) PetscFunctionReturn(PETSC_SUCCESS); in PetscDeviceMemcpy()
479 const auto &dest_attr = memory_map.search_for(dest, true)->second; in PetscDeviceMemcpy()
484 …eviceContextMarkIntentFromID(dctx, dest_attr.id, PETSC_MEMORY_ACCESS_WRITE, "memory copy (dest)")); in PetscDeviceMemcpy()
487 PetscUseTypeMethod(dctx, memcopy, dest, src, n, mode); in PetscDeviceMemcpy()
497 PetscCall(PetscMemcpy(dest, src, n)); in PetscDeviceMemcpy()
526 to by `dest`.
528 If `dest` is on device, this routine is asynchronous.
535 -> dest --------------------->