func GetDriverVersion() (string, error) { var driver [szDriver]C.char err := nvmlErr(C.nvmlSystemGetDriverVersion(&driver[0], szDriver)) return C.GoString(&driver[0]), err }
func systemGetDriverVersion() (string, error) { var driver [szDriver]C.char r := C.nvmlSystemGetDriverVersion(&driver[0], szDriver) return C.GoString(&driver[0]), errorString(r) }