Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • openfpm_data openfpm_data
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Sbalzarini Lab
    • SSoftware
    • PParallel Computing
  • OpenFPM
  • openfpm_dataopenfpm_data
  • Wiki
  • Memory objects

Last edited by Anonymous Jun 23, 2015
Page history

Memory objects

Memory objects

In general structures require memory to store data, this is done with Memory objects, differently from STL allocator each memory object allocate and encapsulate the memory. Allocator implementations are not part of the OpenFPM_data module, for this reason they will be not discussed in detail. Possible memory objects are;

  • HeapMemory: This object produce 16 byte aligned heap memory
  • CudaMemory: This object produce GPU memory with a PINNED HOST memory associated
  • PtrMemory: This object does not produce memory but get memory from an external memory source
  • PreAllocMemory : This object allocate memory initially and answer to a predetermined sequence of allocation useful if you want two distinct structures contiguous in memory (for communication)

For more detail on how to create memory objects and what they do, referee to the OpenFPM_device project.

Clone repository
  • Basic objects
  • Home
  • Iterators
  • Memory mappings
  • Memory objects
  • Template order