Home
last modified time | relevance | path

Searched full:dest (Results 1 – 25 of 53) sorted by relevance

123

/petsc/src/ksp/pc/impls/tfs/
H A Dcomm.c65 PetscInt type, dest; in PCTFS_giop() local
105 dest = PCTFS_my_id ^ mask; in PCTFS_giop()
106 if (PCTFS_my_id > dest) { in PCTFS_giop()
107 PetscCallMPI(MPI_Send(vals, n, MPIU_INT, dest, MSGTAG2 + PCTFS_my_id, MPI_COMM_WORLD)); in PCTFS_giop()
109 …PetscCallMPI(MPI_Recv(work, n, MPIU_INT, MPI_ANY_SOURCE, MSGTAG2 + dest, MPI_COMM_WORLD, &status)); in PCTFS_giop()
118 dest = PCTFS_my_id ^ mask; in PCTFS_giop()
119 if (PCTFS_my_id < dest) { in PCTFS_giop()
120 PetscCallMPI(MPI_Send(vals, n, MPIU_INT, dest, MSGTAG4 + PCTFS_my_id, MPI_COMM_WORLD)); in PCTFS_giop()
122 …PetscCallMPI(MPI_Recv(vals, n, MPIU_INT, MPI_ANY_SOURCE, MSGTAG4 + dest, MPI_COMM_WORLD, &status)); in PCTFS_giop()
142 PetscInt type, dest; in PCTFS_grop() local
[all …]
/petsc/src/dm/impls/plex/tests/output/
H A Dex1_1.out17 Dest[1] (1,1,0) 3
282 Dest[0] = (0.5,1,0) 8
295 Dest[0] = (1,1,0) 3
308 Dest[2] = (0.5,1,0) 8
321 Dest[2] = (1,1,0) 3
334 Dest[1] (1,1,1) 7
347 Dest[1] (0,0,0) 0
363 Dest[3] (0.5,1,0) 8
376 Dest[2] (0,1,1) 6
391 Dest[0] (0.5,1,0) 8
[all …]
/petsc/src/binding/petsc4py/test/
H A Druntests.py23 dest='verbose',
32 dest='verbose',
41 dest='include',
51 dest='exclude',
61 dest='patterns',
69 dest='failfast',
76 dest='builddir',
84 dest='path',
93 dest='arch',
102 dest='summary',
[all …]
/petsc/lib/petsc/bin/maint/
H A Dcheck-ci-settings.sh8 dest=$(lib/petsc/bin/maint/check-merge-branch.sh)
10 if git diff --exit-code HEAD..."${dest}" -- .gitlab-ci.yml lib/petsc/conf/rules; then
11 printf "Success! Using current CI settings as in gitlab-ci.yml in %s!\n" "$dest"
13 … Using old CI settings in gitlab-ci.yml! Please rebase to %s to use current CI settings.\n" "$dest"
H A Dcheck-merge-branch.sh23 dest=origin/release
25 dest=origin/main
27 echo ${dest}
H A Dtestharness_util.py96 parser.add_option('-s', '--startdir', dest='startdir',
99 parser.add_option('-d', '--datafilespath', dest='datafilespath',
102 parser.add_option('-a', '--action', dest='action',
105 parser.add_option('-p', '--petsc_dir', dest='petsc_dir',
H A Dcheck-each-commit.sh3 dest=$(lib/petsc/bin/maint/check-merge-branch.sh)
4 for commit in $(git log --reverse --format=format:%H "$dest"..HEAD)
/petsc/src/ksp/ksp/utils/lmvm/dense/
H A Dcd_utils.c19 PetscScalar *dest; in VecCyclicShift() local
28 PetscCall(VecGetArrayWriteAndMemType(X, &dest, &dest_memtype)); in VecCyclicShift()
30 PetscCall(VecRestoreArrayWriteAndMemType(X, &dest)); in VecCyclicShift()
36 PetscCall(PetscArraycpy(dest, &src[d], m - d)); in VecCyclicShift()
37 PetscCall(PetscArraycpy(&dest[m - d], src, d)); in VecCyclicShift()
42 PetscCall(PetscDeviceRegisterMemory(dest, dest_memtype, m * sizeof(*dest))); in VecCyclicShift()
44 PetscCall(PetscDeviceArrayCopy(dctx, dest, &src[d], m - d)); in VecCyclicShift()
45 PetscCall(PetscDeviceArrayCopy(dctx, &dest[m - d], src, d)); in VecCyclicShift()
47 PetscCall(VecRestoreArrayWriteAndMemType(X, &dest)); in VecCyclicShift()
/petsc/include/petsc/mpiuni/
H A Dmpi.h414 … datatype, dest, tag, comm) (MPIUNI_ARG(buf), MPIUNI_ARG(c… argument
419 … datatype, dest, tag, comm) (MPIUNI_ARG(buf), MPIUNI_ARG(co… argument
420 … datatype, dest, tag, comm) (MPIUNI_ARG(buf), MPIUNI_ARG(co… argument
421 … datatype, dest, tag, comm) (MPIUNI_ARG(buf), MPIUNI_ARG(co… argument
424 …, datatype, dest, tag, comm, request) (MPIUNI_ARG(buf), MPIUNI_ARG(co… argument
425 …, datatype, dest, tag, comm, request) (MPIUNI_ARG(buf), MPIUNI_ARG(co… argument
426 …, datatype, dest, tag, comm, request) (MPIUNI_ARG(buf), MPIUNI_ARG(co… argument
430 … datatype, dest, tag, comm, request) (MPIUNI_ARG(buf), MPIUNI_ARG(co… argument
448 …t, datatype, dest, tag, comm, request) (MPIUNI_ARG(buf), MPIUNI_ARG(coun… argument
449 …nt, datatype, dest, tag, comm, request) (MPIUNI_ARG(buf), MPIUNI_ARG(coun… argument
[all …]
/petsc/src/binding/petsc4py/docs/source/
H A Dapidoc.py576 def annotate(dest, source): argument
578 dest.__annotations__ = source.__annotations__
581 if isinstance(dest, type):
582 for name in dest.__dict__.keys():
584 obj = getattr(dest, name)
586 if isinstance(dest, type(sys)):
587 for name in dir(dest):
589 obj = getattr(dest, name)
591 if dest.__name__ == mod:
594 if not hasattr(dest, name):
[all …]
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/
H A Dmain.py396 …', help='number of multiprocessing jobs, -1 means number of processors on machine', dest='workers')
397 …store patches in if they are generated, defaults to SRC_DIR/../petscLintPatches', dest='patch_dir')
398 …'--apply-patches', help='automatically apply patches that are saved to file', dest='apply_patches')
399 …LAGS', nargs='+', default=[], help='extra flags to pass to CXX compiler', dest='extra_compiler_fla…
400 …args='+', default=[], help='extra include flags to pass to CXX compiler', dest='extra_header_inclu…
405 …so|dylib|dll], if not given attempts to automatically detect it via llvm-config', dest='clang_dir')
406 …p='direct location of libclang.[so|dylib|dll], overrides clang directory if set', dest='clang_lib')
409 …dir, help='if this option is unused defaults to environment variable $PETSC_DIR', dest='petsc_dir')
410 …h, help='if this option is unused defaults to environment variable $PETSC_ARCH', dest='petsc_arch')
413 …ect patches must be in the format [path_from_src_dir_to_testFileName].out', dest='test_output_dir')
[all …]
/petsc/src/sys/objects/device/interface/
H A Dmemory.cxx439 . 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()
[all …]
/petsc/src/ksp/ksp/utils/lmvm/
H A Dlmproducts.c259 PETSC_INTERN PetscErrorCode LMProductsCopy(LMProducts src, LMProducts dest) in LMProductsCopy() argument
262 …PetscCheck(dest->m == src->m, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Cannot copy to LMProducts of diffe… in LMProductsCopy()
263 …PetscCheck(dest->m_local == src->m_local, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Cannot copy to LMProdu… in LMProductsCopy()
264 …PetscCheck(dest->block_type == src->block_type, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Cannot copy to L… in LMProductsCopy()
265 dest->k = src->k; in LMProductsCopy()
266 dest->m_local = src->m_local; in LMProductsCopy()
267 if (src->full) PetscCall(MatCopy(src->full, dest->full, DIFFERENT_NONZERO_PATTERN)); in LMProductsCopy()
268 if (src->diagonal_dup) PetscCall(VecCopy(src->diagonal_dup, dest->diagonal_dup)); in LMProductsCopy()
269 if (src->diagonal_global) PetscCall(VecCopy(src->diagonal_global, dest->diagonal_global)); in LMProductsCopy()
270 dest->update_diagonal_global = src->update_diagonal_global; in LMProductsCopy()
[all …]
/petsc/src/sys/tests/
H A Dex55.py10 comm.Send([data, MPI.INT], dest=1, tag=77)
18 comm.Send(data, dest=1, tag=13)
/petsc/include/
H A Dpetscdevice.h222 …PetscErrorCode PetscDeviceArrayCopy(PetscDeviceContext dctx, void *dest, const void *src, size_t n)
228 . dest - The pointer to copy to
233 Both `dest` and `src` must have been allocated using `PetscDeviceMalloc()` or
259 #define PetscDeviceArrayCopy(dctx, dest, src, n) PetscDeviceMemcpy((dctx), (dest), (src), (size_t)(… argument
H A Dpetscbt.h41 static inline PetscErrorCode PetscBTCopy(PetscBT dest, PetscCount m, PetscBT source) in PetscBTCopy() argument
43 return PetscArraycpy(dest, source, PetscBTLength(m)); in PetscBTCopy()
/petsc/src/sys/objects/device/impls/cupm/
H A Dcupmallocator.hpp67 inline PetscErrorCode HostAllocator<T, P>::uninitialized_copy(value_type *dest, const value_type *s… in uninitialized_copy() argument
70 PetscCall(PetscCUPMMemcpyAsync(dest, src, n, cupmMemcpyHostToHost, stream->get_stream(), true)); in uninitialized_copy()
131 inline PetscErrorCode DeviceAllocator<T, P>::uninitialized_copy(value_type *dest, const value_type … in uninitialized_copy() argument
134 …PetscCall(PetscCUPMMemcpyAsync(dest, src, n, cupmMemcpyDeviceToDevice, stream->get_stream(), true)… in uninitialized_copy()
/petsc/config/
H A Dquery_tests.py296 parser.add_option('-s', '--startdir', dest='startdir',
299 parser.add_option('-p', '--petsc-dir', dest='petsc_dir',
302 parser.add_option('-a', '--petsc-arch', dest='petsc_arch',
305 parser.add_option('--srcdir', dest='srcdir',
308 parser.add_option('-t', '--testdir', dest='testdir',
312 dest='use_source',
314 parser.add_option('-i', '--searchin', dest='searchin',
H A Dreport_tests.py310 parser.add_option('-d', '--directory', dest='directory',
314 parser.add_option('-e', '--elapsed_time', dest='elapsed_time',
317 parser.add_option('-m', '--make', dest='make',
320 parser.add_option('-t', '--time', dest='time',
323 parser.add_option('-f', '--fail', dest='show_fail', action="store_true",
325 parser.add_option('-s', '--show', dest='show_results', action="store_true",
/petsc/include/petsc/private/
H A Dcupminterface.hpp674 …static PetscErrorCode PetscCUPMMemcpyAsync(D *dest, const util::type_identity_t<D> *src, std::size… in PetscCUPMMemcpyAsync()
682 PetscCheck(dest, PETSC_COMM_SELF, PETSC_ERR_POINTER, "Trying to copy to a NULL pointer"); in PetscCUPMMemcpyAsync()
685 if (PetscUnlikely(dest == src)) PetscFunctionReturn(PETSC_SUCCESS); in PetscCUPMMemcpyAsync()
691 PetscCall(PetscMemcpy(dest, src, size)); in PetscCUPMMemcpyAsync()
700 PetscCallCUPM(cupmMemcpyAsync(dest, src, size, kind, stream)); in PetscCUPMMemcpyAsync()
702 PetscCallCUPM(cupmMemcpy(dest, src, size, kind)); in PetscCUPMMemcpyAsync()
709 …static PetscErrorCode PetscCUPMMemcpy(D *dest, const util::type_identity_t<D> *src, std::size_t n,… in PetscCUPMMemcpy()
712 PetscCall(PetscCUPMMemcpyAsync(dest, src, n, kind)); in PetscCUPMMemcpy()
717 …static PetscErrorCode PetscCUPMMemcpy2DAsync(D *dest, std::size_t dest_pitch, const util::type_ide… in PetscCUPMMemcpy2DAsync()
727 PetscCheck(dest, PETSC_COMM_SELF, PETSC_ERR_POINTER, "Trying to copy to a NULL pointer"); in PetscCUPMMemcpy2DAsync()
[all …]
H A Dcupmobject.hpp8 inline PetscErrorCode PetscStrFreeAllocpy(const char target[], char **dest) noexcept in PetscStrFreeAllocpy() argument
11 PetscAssertPointer(dest, 2); in PetscStrFreeAllocpy()
12 if (*dest) { in PetscStrFreeAllocpy()
13 PetscAssertPointer(*dest, 2); in PetscStrFreeAllocpy()
14 PetscCall(PetscFree(*dest)); in PetscStrFreeAllocpy()
16 PetscCall(PetscStrallocpy(target, dest)); in PetscStrFreeAllocpy()
/petsc/src/sys/objects/device/tests/output/
H A Dex7_with_info_sycl.out47 [0] <device> MarkFromID_IncompatibleModes(): dctx 2 (global root) - obj 19 (memory copy (dest)): ne…
48 …xtMarkIntentFromID_Private(): dctx 2 (global root) - obj 19 (memory copy (dest)): dependency list …
92 [0] <device> MarkFromID_IncompatibleModes(): dctx 2 (global root) - obj 28 (memory copy (dest)): ne…
93 …tibleModes_UpdateLastWrite(): dctx 2 (global root) - obj 28 (memory copy (dest)): we matched the p…
94 …xtMarkIntentFromID_Private(): dctx 2 (global root) - obj 28 (memory copy (dest)): dependency list …
108 [0] <device> MarkFromID_IncompatibleModes(): dctx 2 (global root) - obj 30 (memory copy (dest)): ne…
109 …xtMarkIntentFromID_Private(): dctx 2 (global root) - obj 30 (memory copy (dest)): dependency list …
156 [0] <device> MarkFromID_IncompatibleModes(): dctx 31 (unnamed) - obj 40 (memory copy (dest)): new m…
157 …mpatibleModes_UpdateLastWrite(): dctx 31 (unnamed) - obj 40 (memory copy (dest)): we matched the p…
158 …ntextMarkIntentFromID_Private(): dctx 31 (unnamed) - obj 40 (memory copy (dest)): dependency list …
H A Dex7_with_info_cuda.out47 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 70 (memory copy (dest)): n…
48 …tMarkIntentFromID_Private(): dctx 53 (global root) - obj 70 (memory copy (dest)): dependency list …
92 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 79 (memory copy (dest)): n…
93 …ibleModes_UpdateLastWrite(): dctx 53 (global root) - obj 79 (memory copy (dest)): we matched the p…
94 …tMarkIntentFromID_Private(): dctx 53 (global root) - obj 79 (memory copy (dest)): dependency list …
108 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 81 (memory copy (dest)): n…
109 …tMarkIntentFromID_Private(): dctx 53 (global root) - obj 81 (memory copy (dest)): dependency list …
156 [0] <device> MarkFromID_IncompatibleModes(): dctx 82 (unnamed) - obj 91 (memory copy (dest)): new m…
157 …mpatibleModes_UpdateLastWrite(): dctx 82 (unnamed) - obj 91 (memory copy (dest)): we matched the p…
158 …ntextMarkIntentFromID_Private(): dctx 82 (unnamed) - obj 91 (memory copy (dest)): dependency list …
H A Dex7_with_info_hip.out47 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 70 (memory copy (dest)): n…
48 …tMarkIntentFromID_Private(): dctx 53 (global root) - obj 70 (memory copy (dest)): dependency list …
92 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 79 (memory copy (dest)): n…
93 …ibleModes_UpdateLastWrite(): dctx 53 (global root) - obj 79 (memory copy (dest)): we matched the p…
94 …tMarkIntentFromID_Private(): dctx 53 (global root) - obj 79 (memory copy (dest)): dependency list …
108 [0] <device> MarkFromID_IncompatibleModes(): dctx 53 (global root) - obj 81 (memory copy (dest)): n…
109 …tMarkIntentFromID_Private(): dctx 53 (global root) - obj 81 (memory copy (dest)): dependency list …
156 [0] <device> MarkFromID_IncompatibleModes(): dctx 82 (unnamed) - obj 91 (memory copy (dest)): new m…
157 …mpatibleModes_UpdateLastWrite(): dctx 82 (unnamed) - obj 91 (memory copy (dest)): we matched the p…
158 …ntextMarkIntentFromID_Private(): dctx 82 (unnamed) - obj 91 (memory copy (dest)): dependency list …
/petsc/src/sys/objects/
H A Dinherit.c209 - dest - destination object
220 PetscErrorCode PetscObjectCopyFortranFunctionPointers(PetscObject src, PetscObject dest) in PetscObjectCopyFortranFunctionPointers() argument
226 PetscValidHeader(dest, 2); in PetscObjectCopyFortranFunctionPointers()
227 …PetscCheck(src->classid == dest->classid, src->comm, PETSC_ERR_ARG_INCOMP, "Objects must be of the… in PetscObjectCopyFortranFunctionPointers()
229 PetscCall(PetscFree(dest->fortran_func_pointers)); in PetscObjectCopyFortranFunctionPointers()
230 …PetscCall(PetscMalloc(src->num_fortran_func_pointers * sizeof(PetscFortranCallbackFn *), &dest->fo… in PetscObjectCopyFortranFunctionPointers()
231 …PetscCall(PetscArraycpy(dest->fortran_func_pointers, src->fortran_func_pointers, src->num_fortran_… in PetscObjectCopyFortranFunctionPointers()
233 dest->num_fortran_func_pointers = src->num_fortran_func_pointers; in PetscObjectCopyFortranFunctionPointers()
237 PetscCall(PetscFree(dest->fortrancallback[cbtype])); in PetscObjectCopyFortranFunctionPointers()
238 PetscCall(PetscCalloc1(numcb[cbtype], &dest->fortrancallback[cbtype])); in PetscObjectCopyFortranFunctionPointers()
[all …]

123