gvanhoy / gr-torchdsp

GNU Radio blocks using libtorch C++ API
2 stars 1 forks source link

Fix clashing of names in shared memory and TIS region names. #5

Closed gvanhoy closed 2 years ago

gvanhoy commented 2 years ago

Currently, when a triton_model is made, it allocates a named shared memory region and it also registers that shared memory with TIS. Currently that name is not unique and so more than one triton_model in a flowgraph causes TIS to crash. The shared memory needs to have a unique name.