xnd-project / libndtypes

Subsumed into xnd
https://xnd.io/
BSD 3-Clause "New" or "Revised" License
25 stars 17 forks source link

Allocating/using shared memory #49

Open jakirkham opened 6 years ago

jakirkham commented 6 years ago

It would be very useful to have a way to allocate typed memory blocks in shared memory (either CPU or GPU). This is helpful in cases where multiple processes are used for parallelism and need fast access to read from (and possibly write to) memory shared across processes and when the memory usage is large to keep from going over the memory limit.

Some use cases for shared memory:

Some strategies for allocating shared memory: