I am trying to use cudaIpcOpenMemHandle across two containers (in the same pod) and I get CUDA_ERROR_INVALID_VALUE. Between normal processes the code works fine. I have tried giving the container IPC_LOCK, hostIPC: true, hostPID: true but cannot get it to work.
Does anyone a.) know whether this should be possible and b.) can point me to a docker example that demonstrates it?