Open BassamRamadan opened 9 months ago
I think triton_shm_name
should be the readable name while shm_key
might be the file location where that shared memory is stored.
CC: @Tabrizian, do you know the answer to this? We may want to improve the documentation, which should be sourced from here.
I believe we have this because of historical reasons as Cuda Shared Memory shares a same handle as System Shared Memory.
shm_key
should be able to be used for the SharedMemoryHandle as well. I think we should make a ticket for this.
Thanks for clarifying, Katherine! Created a ticket for us to investigate that enhancement.
Ticket reference: DLIS-5719.
the parameters
triton_shm_name
,shm_key
- why both are needed in RegisterSystemSharedMemory? I assumeshm_key
is the name forshm_open
. Why the other parameter? Why we not use theshm_key
instead oftriton_shm_name
?