Searched refs:PetscLogCpuToGpu (Results 1 – 16 of 16) sorted by relevance
37 PetscCall(PetscLogCpuToGpu(N * sizeof(K))); in KSPSolve_HPDDM_CUDA_Private()48 PetscCall(PetscLogCpuToGpu(N * sizeof(PetscScalar))); in KSPSolve_HPDDM_CUDA_Private()
99 PetscCall(PetscLogCpuToGpu(size)); in PCSetUp_PBJacobi_CUDA()
154 …if (!std::is_same_v<DefaultMemorySpace, HostMirrorMemorySpace>) PetscCall(PetscLogCpuToGpu(bytes)); in KokkosDualViewSyncDevice()
918 …else if (kind == cupmMemcpyHostToDevice) PetscCall(PetscLogCpuToGpu(static_cast<PetscLogDouble>(si… in PetscLogCUPMMemcpyTransfer()
40 … PetscCall(PetscLogCpuToGpu(sizeof(PetscInt) * (2 * nblocks + 2 + n) + sizeof(MatScalar) * nsize)); in UpdateOffsetsOnDevice()
55 …PetscCall(PetscLogCpuToGpu(((2 * a->compressedrow.nrows) + 1 + a->nz) * sizeof(PetscInt) + (a->nz)… in MatViennaCLCopyToGPU()71 …PetscCall(PetscLogCpuToGpu(((A->rmap->n + 1) + a->nz) * sizeof(PetscInt) + (a->nz) * sizeof(PetscS… in MatViennaCLCopyToGPU()
356 … PetscCall(PetscLogCpuToGpu((n + 1 + nzLower) * sizeof(int) + nzLower * sizeof(PetscScalar))); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()373 PetscCall(PetscLogCpuToGpu(nzLower * sizeof(PetscScalar))); in MatSeqAIJHIPSPARSEBuildILULowerTriMatrix()472 … PetscCall(PetscLogCpuToGpu((n + 1 + nzUpper) * sizeof(int) + nzUpper * sizeof(PetscScalar))); in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix()487 PetscCall(PetscLogCpuToGpu(nzUpper * sizeof(PetscScalar))); in MatSeqAIJHIPSPARSEBuildILUUpperTriMatrix()522 PetscCall(PetscLogCpuToGpu(n * sizeof(PetscInt))); in MatSeqAIJHIPSPARSEILUAnalysisAndCopyToGPU()533 PetscCall(PetscLogCpuToGpu(n * sizeof(PetscInt))); in MatSeqAIJHIPSPARSEILUAnalysisAndCopyToGPU()677 …PetscCall(PetscLogCpuToGpu(2 * (((A->rmap->n + 1) + (a->nz)) * sizeof(int) + (a->nz) * sizeof(Pets… in MatSeqAIJHIPSPARSEBuildICCTriMatrices()706 PetscCall(PetscLogCpuToGpu(2 * (a->nz) * sizeof(PetscScalar))); in MatSeqAIJHIPSPARSEBuildICCTriMatrices()748 PetscCall(PetscLogCpuToGpu(2. * n * sizeof(PetscInt))); in MatSeqAIJHIPSPARSEICCAnalysisAndCopyToGPU()1051 PetscCall(PetscLogCpuToGpu((A->rmap->n + 1) * sizeof(PetscInt))); in MatSeqAIJHIPSPARSEFormExplicitTranspose()[all …]
489 PetscCall(PetscLogCpuToGpu(n)); in PetscDeviceMemcpy()
315 PetscCall(PetscLogCpuToGpu(count)); in PetscSFLinkCopyRootBufferInCaseNotUseGpuAwareMPI()333 PetscCall(PetscLogCpuToGpu(count)); in PetscSFLinkCopyLeafBufferInCaseNotUseGpuAwareMPI()
411 … PetscCall(PetscLogCpuToGpu((n + 1 + nzLower) * sizeof(int) + nzLower * sizeof(PetscScalar))); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()428 PetscCall(PetscLogCpuToGpu(nzLower * sizeof(PetscScalar))); in MatSeqAIJCUSPARSEBuildILULowerTriMatrix()541 … PetscCall(PetscLogCpuToGpu((n + 1 + nzUpper) * sizeof(int) + nzUpper * sizeof(PetscScalar))); in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix()560 PetscCall(PetscLogCpuToGpu(nzUpper * sizeof(PetscScalar))); in MatSeqAIJCUSPARSEBuildILUUpperTriMatrix()600 PetscCall(PetscLogCpuToGpu(n * sizeof(PetscInt))); in MatSeqAIJCUSPARSEILUAnalysisAndCopyToGPU()612 PetscCall(PetscLogCpuToGpu(n * sizeof(PetscInt))); in MatSeqAIJCUSPARSEILUAnalysisAndCopyToGPU()930 …PetscCall(PetscLogCpuToGpu(2 * (((A->rmap->n + 1) + (a->nz)) * sizeof(int) + (a->nz) * sizeof(Pets… in MatSeqAIJCUSPARSEBuildICCTriMatrices()959 PetscCall(PetscLogCpuToGpu(2 * (a->nz) * sizeof(PetscScalar))); in MatSeqAIJCUSPARSEBuildICCTriMatrices()1008 PetscCall(PetscLogCpuToGpu(2. * n * sizeof(PetscInt))); in MatSeqAIJCUSPARSEICCAnalysisAndCopyToGPU()1354 PetscCall(PetscLogCpuToGpu((A->rmap->n + 1) * sizeof(PetscInt))); in MatSeqAIJCUSPARSEFormExplicitTranspose()[all …]
768 static inline PetscErrorCode PetscLogCpuToGpu(PetscLogDouble size) in PetscLogCpuToGpu() function789 #define PetscLogCpuToGpu(a) PETSC_SUCCESS macro
49 PetscCall(PetscLogCpuToGpu(a->sliidx[a->totalslices] * (sizeof(MatScalar)))); in MatSeqSELLHIPCopyToGPU()69 …PetscCall(PetscLogCpuToGpu(a->sliidx[a->totalslices] * (sizeof(MatScalar) + sizeof(PetscInt)) + (a… in MatSeqSELLHIPCopyToGPU()
46 PetscCall(PetscLogCpuToGpu(a->sliidx[a->totalslices] * (sizeof(MatScalar)))); in MatSeqSELLCUDACopyToGPU()66 …PetscCall(PetscLogCpuToGpu(a->sliidx[a->totalslices] * (sizeof(MatScalar) + sizeof(PetscInt)) + (a… in MatSeqSELLCUDACopyToGPU()
1992 PetscCall(PetscLogCpuToGpu(m * sizeof(PetscInt))); in MatLUFactorNumeric_SeqAIJKokkos()2005 PetscCall(PetscLogCpuToGpu(n * sizeof(PetscInt))); in MatLUFactorNumeric_SeqAIJKokkos()2221 PetscCall(PetscLogCpuToGpu(m * sizeof(PetscInt))); in MatCholeskyFactorNumeric_SeqAIJKokkos()
589 PetscCall(PetscLogCpuToGpu(n)); in PetscSFLinkMemcpy_Kokkos()
221 PetscCall(PetscLogCpuToGpu(v->map->n * sizeof(PetscScalar))); in VecViennaCLCopyToGPU()