How to prevent syslogging "Error inserting nvidia" on cudaGetDeviceCount()?
I have a tool that can be run on both, GPU and CPU. In some init-step I
check cudaGetDeviceCount() for the available GPUs. If the tool is being
executed on a node without video cards, this results in the following
syslog message:
Sep 13 00:21:10 [...] NVRM: No NVIDIA graphics adapter found!
How can I prevent the nvidia driver from flooding my syslog server with
this message? It's OK if the node doesn't have a video card, it's not that
critical, so I just want to get rid of the message.
No comments:
Post a Comment