| /petsc/src/sys/webclient/ |
| H A D | google.c | 127 size_t len, blen, rd; in PetscGoogleDriveUpload() local 158 PetscCall(PetscStrlen(body, &blen)); in PetscGoogleDriveUpload() 161 rd = fread(body + blen, sizeof(unsigned char), sb.st_size, fd); in PetscGoogleDriveUpload() 164 body[blen + rd] = 0; in PetscGoogleDriveUpload()
|
| H A D | box.c | 276 size_t len, blen, rd; in PetscBoxUpload() local 307 PetscCall(PetscStrlen(body, &blen)); in PetscBoxUpload() 310 rd = fread(body + blen, sizeof(unsigned char), sb.st_size, fd); in PetscBoxUpload() 313 body[blen + rd] = 0; in PetscBoxUpload()
|
| /petsc/src/sys/dll/ |
| H A D | dl.c | 55 size_t len, blen; in PetscDLLibraryRetrieve() local 63 blen = PetscMax(4 * len, PETSC_MAX_PATH_LEN); in PetscDLLibraryRetrieve() 64 PetscCall(PetscMalloc1(blen, &buf)); in PetscDLLibraryRetrieve() 66 PetscCall(PetscStrreplace(comm, libname, par2, blen)); in PetscDLLibraryRetrieve() 86 if (!so) PetscCall(PetscStrlcat(par2, suffix, blen)); in PetscDLLibraryRetrieve() 89 if (gz) PetscCall(PetscStrlcat(par2, ".gz", blen)); in PetscDLLibraryRetrieve()
|
| /petsc/src/ksp/ksp/impls/gmres/agmres/ |
| H A D | agmresorthog.c | 245 PetscBLASInt bnvec, pas, blen; in KSPAGMRESRodvec() local 299 PetscCall(PetscBLASIntCast(len, &blen)); in KSPAGMRESRodvec() 302 tt = tloc[j] * (BLASdot_(&blen, &Qloc[dpt], &pas, &zloc[j], &pas)); in KSPAGMRESRodvec() 303 PetscCallBLAS("BLASaxpy", BLASaxpy_(&blen, &tt, &Qloc[dpt], &pas, &zloc[j], &pas)); in KSPAGMRESRodvec()
|
| /petsc/include/ |
| H A D | petscstring.h | 694 PetscBLASInt blen; in PetscMemcpy() local 696 PetscCall(PetscBLASIntCast(scalar_len, &blen)); in PetscMemcpy() 697 PetscCallBLAS("BLAScopy", BLAScopy_(&blen, x, &one, y, &one)); in PetscMemcpy()
|
| /petsc/src/mat/impls/aij/mpi/kokkos/ |
| H A D | mpiaijkok.kokkos.cxx | 451 PetscInt alen = Ai[i + 1] - Ai[i], blen = Bi[i + 1] - Bi[i]; in MatMPIAIJKokkosReduceBegin() local 452 for (PetscInt j = 0; j < alen + blen; j++) { in MatMPIAIJKokkosReduceBegin() 653 PetscInt blen = Bi(i + 1) - Bi(i); in MatMPIAIJKokkosReduceBegin() local 656 Kokkos::parallel_for(Kokkos::ThreadVectorRange(t, alen + blen), [&](PetscInt j) { in MatMPIAIJKokkosReduceBegin() 846 PetscInt alen = Ai[i + 1] - Ai[i], blen = Bi[i + 1] - Bi[i]; in MatMPIAIJKokkosBcastBegin() local 847 for (PetscInt j = 0; j < alen + blen; j++) { in MatMPIAIJKokkosBcastBegin() 981 PetscInt blen = Bi(i + 1) - Bi(i); in MatMPIAIJKokkosBcastBegin() local 984 Kokkos::parallel_for(Kokkos::ThreadVectorRange(t, alen + blen), [&](PetscInt j) { in MatMPIAIJKokkosBcastBegin() 1031 PetscInt blen = Foi(i + 1) - Foi(i); in MatMPIAIJKokkosBcastEnd() local 1034 Kokkos::parallel_for(Kokkos::ThreadVectorRange(t, alen + blen), [&](PetscInt j) { in MatMPIAIJKokkosBcastEnd()
|
| /petsc/src/mat/impls/aij/seq/kokkos/ |
| H A D | aijkok.kokkos.cxx | 754 PetscInt coffset = ai(i) + bi(i), alen = ai(i + 1) - ai(i), blen = bi(i + 1) - bi(i); in MatSeqAIJKokkosMergeMats() 761 Kokkos::parallel_for(Kokkos::TeamThreadRange(t, alen + blen), [&](PetscInt k) { in MatSeqAIJKokkosMergeMats() 783 PetscInt alen = ai(i + 1) - ai(i), blen = bi(i + 1) - bi(i); in MatSeqAIJKokkosMergeMats() 784 Kokkos::parallel_for(Kokkos::TeamThreadRange(t, alen + blen), [&](PetscInt k) { in MatSeqAIJKokkosMergeMats()
|