Fix a typo in configure.

PiperOrigin-RevId: 313914447
Change-Id: Id55394dd29a51e96e448117c7435f057fe7b92ba
diff --git a/configure.py b/configure.py
index 29c37f6..c2850be 100644
--- a/configure.py
+++ b/configure.py
@@ -1038,7 +1038,7 @@
           print('Invalid compute capability: %s' % compute_capability)
           all_valid = False
         else:
-          ver = int(m.group(2))
+          ver = int(sm_compute_match.group(2))
           if ver < 30:
             print(
                 'ERROR: TensorFlow only supports small CUDA compute'