Home
last modified time | relevance | path

Searched refs:AI (Results 1 – 5 of 5) sorted by relevance

/petsc/src/mat/impls/aij/seq/
H A Daij.h236 #define MatSeqXAIJReallocateAIJ(Amat, AM, BS2, NROW, ROW, COL, RMAX, AA, AI, AJ, RP, AP, AIMAX, NON… argument
240 PetscInt CHUNKSIZE = 15, new_nz = AI[AM] + CHUNKSIZE, len, *new_i = NULL, *new_j = NULL; \
251 for (ii = 0; ii < ROW + 1; ii++) new_i[ii] = AI[ii]; \
252 for (ii = ROW + 1; ii < AM + 1; ii++) new_i[ii] = AI[ii] + CHUNKSIZE; \
253 PetscCall(PetscArraycpy(new_j, AJ, AI[ROW] + NROW)); \
254 len = (new_nz - CHUNKSIZE - AI[ROW] - NROW); \
255 …PetscCall(PetscArraycpy(new_j + AI[ROW] + NROW + CHUNKSIZE, PetscSafePointerPlusOffset(AJ, AI[ROW]…
256 PetscCall(PetscArraycpy(new_a, AA, BS2 * (AI[ROW] + NROW))); \
257 PetscCall(PetscArrayzero(new_a + BS2 * (AI[ROW] + NROW), BS2 * CHUNKSIZE)); \
258 …PetscCall(PetscArraycpy(new_a + BS2 * (AI[ROW] + NROW + CHUNKSIZE), PetscSafePointerPlusOffset(AA,…
[all …]
/petsc/doc/community/bofs/
H A D2026_Feb_CASS.md30 | 11:08 AM | Barry Smith | Argonne National Laboratory | Open the PETSc/AI discussion |
31 | 11:10 AM | Mark Adams | Lawrence Berkeley National Laboratory | [Using AI code assistants for lar…
32 | 11:17 AM | All participants | | Open discussion about PETSc in the era of AI and large language …
117 :::{topic} **Using AI code assistants for large projects with PETSc**
123 **Abstract:** I will discuss my experience over the past 4 months using AI code assistants (eg, Cla…
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DMat.pyx2555 cdef PetscInt *AI = NULL
2556 cdef ndarray ai = oarray_i(empty_i(nrows+1), NULL, &AI)
2558 AI[0] = 0
2561 AI[irow+1] = AI[irow] + ncols
2565 cdef ndarray aj = oarray_i(empty_i(AI[nrows]), NULL, &AJ)
2567 cdef ndarray av = oarray_s(empty_s(AI[nrows]), NULL, &AV)
2572 CHKERR(PetscMemcpy(AJ+AI[irow], cols, <size_t>ncols*sizeof(PetscInt)))
2573 CHKERR(PetscMemcpy(AV+AI[irow], vals, <size_t>ncols*sizeof(PetscScalar)))
/petsc/doc/community/meetings/2025/
H A Dindex.md48 | 12:00 pm | Empire AI
73 | 2:15 pm | Early Experiences in Building AI Assistants for Improving the Productivity of PETSc Us…
/petsc/doc/
H A Dpetsc.bib34478 California, http://www.ics.uci.edu/AI/ML/MLDBRepository.html}
39831 …title = {AI chips are getting hotter. A microfluidics breakthrough goes straight to the si…