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.
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: