For anyone curious about how this actually works, it looks like a library is injected into your process to hook these functions [1] in order to forward them to the service.
LD_PRELOAD trick allows you to intercept and virtualize calls to the CUDA runtime.