We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a3dad3 commit d9c1026Copy full SHA for d9c1026
configure.py
@@ -1020,7 +1020,7 @@ def get_native_cuda_compute_capabilities(environ_cp):
1020
if os.path.isfile(device_query_bin) and os.access(device_query_bin, os.X_OK):
1021
try:
1022
output = run_shell(device_query_bin).split('\n')
1023
- pattern = re.compile('[0-9]*\\.[0-9]*')
+ pattern = re.compile('\d*\\.\d*')
1024
output = [pattern.search(x) for x in output if 'Capability' in x]
1025
output = ','.join(x.group() for x in output if x is not None)
1026
except subprocess.CalledProcessError:
0 commit comments