From af66e730bbb979d7420cfc4894975f3d773435a0 Mon Sep 17 00:00:00 2001 From: swatig Date: Wed, 13 Feb 2019 13:44:07 -0800 Subject: [PATCH] Fix device mode --- bindings/go/nvml/nvml.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/go/nvml/nvml.go b/bindings/go/nvml/nvml.go index f6ec9e8..60fde87 100644 --- a/bindings/go/nvml/nvml.go +++ b/bindings/go/nvml/nvml.go @@ -23,8 +23,8 @@ var ( type ModeState uint const ( - Enabled ModeState = iota - Disabled + Disabled ModeState = iota + Enabled ) func (m ModeState) String() string {