I wish to restrict access to using a GPU (in terms of reserving memory on it) for certain users on a jointly used workstation. So if a user tries to access the GPU on SSH, for example via CUDA, that request would be denied. Any ideas where to start looking for that?
Thanks in advance!
cudato your Ubuntu, then set750permissions on the/dev/nvidia*devices and change the group ownership tocuda. Add those users that are granted to use the GPU to the groupcuda. There are also driver parameters that do this for you during loading the nvidia driver. (NVreg_DeviceFileGIDandNVreg_DeviceFileMode). – Thomas Mar 16 '17 at 11:07