Skip to content

More accurate prognosis for CPU memory #336

Description

@myurkin

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. in make_particle.c) is always allocated. We may circumvent this by passing additional arguments to allocating (and maybe freeing) functions, which will be either prognosis or true depending on the type of the array. It would also be great if the freeing part can be handled fully automatically.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

comp-LogicRelated to internal code logicmaintainabilitySimplifies further code development (standardization, robustness)usabilityMakes using code more convenient

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions