checkbadSource: enforce proper style in makefiles
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 ...
Random123 casting fix for UNIT64
CUDA: suppress warnings showing up with cuda-12.8.0
Brain dead fixes for useless casts
Fix missing initializer for member errors [-Werror=missing-field-initializers]
Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']Also fix the code to repository to compile cleanly with these flags in th
Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']Also fix the code to repository to compile cleanly with these flags in the CI
Fix thrust::get compiler errors
Random123 GetValues feature added
curand stream option feature added
Remove multiple parentheses and extra semicolongit grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g
Remove multiple parentheses and extra semicolongit grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g'git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g'git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'
Merge branch 'barry/2023-12-22/rm-libbase' into 'main'LIBBASE is no longer used in make so remove itSee merge request petsc/petsc!7139
Merge remote-tracking branch 'origin/release'
LIBBASE is no longer used in make so remove it
minor fixes for things found by Jacob's linter
Fix PetscRandom manual pages
Fix bug in sprng interface.Reported-by: Juerg Hauser
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
Remove first and last empty lines
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
1234