-
Notifications
You must be signed in to change notification settings - Fork 65
More accurate prognosis for CPU memory #336
Copy link
Copy link
Open
Labels
comp-LogicRelated to internal code logicRelated to internal code logicmaintainabilitySimplifies further code development (standardization, robustness)Simplifies further code development (standardization, robustness)pri-MediumWorth assigning to a milestoneWorth assigning to a milestoneusabilityMakes using code more convenientMakes using code more convenient
Milestone
Metadata
Metadata
Assignees
Labels
comp-LogicRelated to internal code logicRelated to internal code logicmaintainabilitySimplifies further code development (standardization, robustness)Simplifies further code development (standardization, robustness)pri-MediumWorth assigning to a milestoneWorth assigning to a milestoneusabilityMakes using code more convenientMakes using code more convenient
Type
Fields
Give feedbackNo fields configured for Feature.
Currently OpenCL has very convenient algorithm for processing
-prognosis, which counts memory inside the allocation functions (seamlessly for the main code). We should try to do the same thing for the CPU memory. The problem with the latter is that some memory (i.e. inmake_particle.c) is always allocated. We may circumvent this by passing additional arguments to allocating (and maybe freeing) functions, which will be eitherprognosisortruedepending on the type of the array. It would also be great if the freeing part can be handled fully automatically.