Gather CUDA lib includes in petscdevice_cuda.h + disable cuSPARSE warnings using DISABLE_CUSPARSE_DEPRECATEDDefining DISABLE_CUSPARSE_DEPRECATED is Nvidia's recommended way of disabling cuSPARSE wa
Gather CUDA lib includes in petscdevice_cuda.h + disable cuSPARSE warnings using DISABLE_CUSPARSE_DEPRECATEDDefining DISABLE_CUSPARSE_DEPRECATED is Nvidia's recommended way of disabling cuSPARSE warningsThis avoids requiring -Wdeprecated-declarations - that can mask other (non-cuSPARSE) warnings
show more ...
CUDA: suppress warnings showing up with cuda-12.8.0
Fix thrust::get compiler errors
curand stream option feature added
LIBBASE is no longer used in make so remove it
Merge remote-tracking branch 'origin/release'
Fix PetscRandom manual pages
Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.Thanks-to: Jed Brown
Remove DIRS variable and unneeded tabs from all makefiles since no longer neededCommit-type: housekeeping
Add static to internal functions
Fix warning found by Pierre/local/jolivet/petsc/src/sys/classes/random/impls/curand/curand.c: In function ‘PetscRandomGetValuesReal_CURAND’:/local/jolivet/petsc/src/sys/classes/random/impls/curand
Fix warning found by Pierre/local/jolivet/petsc/src/sys/classes/random/impls/curand/curand.c: In function ‘PetscRandomGetValuesReal_CURAND’:/local/jolivet/petsc/src/sys/classes/random/impls/curand/curand.c:24:65: warning: operand of ‘?:’ changes signedness from ‘PetscInt’ {aka ‘int’} to ‘unsigned int’ due to unsignedness of other operand [-Wsign-compare] 24 | size_t nn = n < 0 ? (size_t)(-2 * n) : n; /* handle complex case */ | ^Based-on-patch-by: Pierre Jolivet <pierre@joliv.et>
Don't use PetscMemcpy() or PetscArraycpy() to copy the ops struct
non-test and tutorial makefiles only need rules.doc not the full rulesCommit-type: documentation
Only makefiles in the test and tutorial directories need lib/petsc/conf/testCommit-type: housekeeping
Remove now unneeded SOURCE* variables from makefilesCommit-type: configure, housekeeping
Remove empty preprocessor variables
Remove unneeded declarations of LOCDIR from all the makefilesCommit-type:documentation
Make PetscErrorCode a non-discardable enum
PETSCCURAND: use default seed, which is different in each MPI rankThis fixes VecSetRandom() with VECMPICUDA that was generating the samerandom values in each MPI process
source code format changes due to .clang-format changes
Remove parent, parentid, flops, time, mem, and memchildren. Deprecate PetscLogObjectParent(), PetscLogObjectMemory(), and PetscNewLog()
makefile: fix typo - petsckdir.mk -> petscdir.mk
Rework PetscDeviceContext backends and supporting code:- Add PETSC_DEVICE_HOST- Add PetscDeviceAllocate()- Add PetscDeviceMalloc()- Add PetscDeviceDeallocate()- Add PetscDeviceFree()- Add Petsc
Rework PetscDeviceContext backends and supporting code:- Add PETSC_DEVICE_HOST- Add PetscDeviceAllocate()- Add PetscDeviceMalloc()- Add PetscDeviceDeallocate()- Add PetscDeviceFree()- Add PetscDeviceMemcopy()- Add PetscDeviceArraycopy()- Split petscdevice.h into petscdevice_cuda.h and petscdevice_hip.h- Add petscdevice_cupm.h- Extend cupm::Interface and cupm::BlasInterface classes- Add more C++ utility wrappers
Fix up all manual pages in src/sys directoryCommit-type: documentation/spend 10h
Remove braces from one-liners
12