detect driver version / operating system ?

Hello,

Is there any way to detect driver version, pci-express speed and operating system, like the informations we can get from cudaGetDeviceProperties() ?

Thanks

  • driver version: call cudaDriverGetVersion() (CUDA 2.2 or newer). Note that it returns the CUDA version of the driver.
  • PCI-express speed: no idea
  • Operating system. On linux/mac, you can call uname(). See man 3 uname.

nvmlSystemGetDriverVersion