Check the return value for memkind_posix_memalignFunded-by:Project: PETSc for ThetaTime: 0.2 hoursReported-by:Thanks-to:
Change the default behavour for -malloc_hbwWhen running out of MCDRAM, just fall back to DRAM without complaining.Funded-by:Project: PETSc for ThetaTime: 0.1 hoursReported-by:Thanks-to:
Merge remote-tracking branch 'origin/jed/variadic-malloc'
PetscFreeA: style for calling through function pointer
Add seqell format and its matmul kernel -Make memkind error out when HBW is not usableFunded-by:Project: PETSc for ThetaTime: 52 hoursReported-by:Thanks-to:
PetscMallocA: implement the Malloc[1-7] suite using variadic functionThe macros had become increasingly complicated and were opaque to debug.It also prevented run-time choice of coalesced malloc,
PetscMallocA: implement the Malloc[1-7] suite using variadic functionThe macros had become increasingly complicated and were opaque to debug.It also prevented run-time choice of coalesced malloc, which is nowavailable via -malloc_coalesce which is useful to debug memory leaks dueto mismatched PetscMalloc3/PetscFree2 and the like. This implementationdispatches to a single variadic function that handles allocation forboth PetscMalloc[1-7] and PetscCalloc[1-7], as well as a matchingcase for freeing memory.
show more ...
remove duplicate petscmemorysetgetmaximumusage_ introduced in dc37d89f2626b4ce22e9b823b8536ba0061a6977
Several functions can generate automatic fortran stubsCommit-type: feature
Merge branch 'maint'
PetscMallocGetCurrentUsage() should generate a Fortran stubCommit-type: bug-fixReported-by: Bruno Ramon Batista Fernande <brbfernandes@utexas.edu>
added hbw_realloc
fixed undefined ptr
Simplify the calls to memkind functions
Use the memkind interface
removed ifdef related to memkindFunded-by:Project: PETSc for ThetaTime: 1.0 hoursReported-by:Thanks-to:
make several HBW functions and variables static
hide HBW allocator and add backdoor functions for the special use caseFunded-by:Project: PETSc for ThetaTime: 4.0 hoursReported-by:Thanks-to:
add HBW allocator and a special use case for adjoint checkpointing on KNLFunded-by:Project: PETSc for ThetaTime: 8 hoursReported-by:Thanks-to:
Minor cleanup, remove some outdated code, remove unneeded constructs, improve manual pages slightly, add missing test caseTime: 2.5 hours
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-t
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-to: Andreas Mang <andreas@ices.utexas.edu>
Sys: fix PetscTrReallocDefault() and PetscReallocAlign()- A zero mem length should be treated like free- The case of using memalign was not covered. There doesn't appear to be an alignment pres
Sys: fix PetscTrReallocDefault() and PetscReallocAlign()- A zero mem length should be treated like free- The case of using memalign was not covered. There doesn't appear to be an alignment preserving realloc(), but you should be able to pass the result of memalign() to realloc (I think), so I think that mean that we have to try realloc(), and the call memalign and copy if the result isn't aligned properly.
Sys: Added PetscRealloc()- Added PetscTrRealloc() and PetscTrReallocDefault()- Added PetscReallocAlign()
Finally have clean runs using khash to avoid duplicating many options help messagesRemoved unneeded memory usage, make copies even of name without preOrganized the code into functionsAlso use it
Finally have clean runs using khash to avoid duplicating many options help messagesRemoved unneeded memory usage, make copies even of name without preOrganized the code into functionsAlso use it to remove duplicate help messages with PetscOptionsBegin()Thanks-to: Jed Brown <jedbrown@mcs.anl.gov>
Mem: Move memory check before unloading dynamic libraries- Ignore dynamic library allocations
changed PetscMemoryShowUsage() and -memory_info to PetscMemoryView() and -memory_viewalso changed PetscMemoryView() to display total memory and max and minimum memories instead of listing values for
changed PetscMemoryShowUsage() and -memory_info to PetscMemoryView() and -memory_viewalso changed PetscMemoryView() to display total memory and max and minimum memories instead of listing values for each process
12345678910