Merge branch 'fixdevprop' into 'develop'

Updated get_device_prop

See merge request QEF/q-e!1490
This commit is contained in:
giannozz 2021-07-12 18:32:03 +00:00
commit 00ce6097c2
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ streamdata = compilation.communicate()[0]
if compilation.returncode != 0:
print("\nDetails acquisition failed.")
else:
yaml_data = StringIO(streamdata)
yaml_data = StringIO(streamdata.decode())
conf_cc=""; conf_rt=""
if have_yaml:
data = yaml.load(yaml_data)
@ -66,4 +66,4 @@ else:
minor = ""; major = ""; devnum += 1
print("\n If all compute capabilities match, configure QE with:")
print("./configure --with-cuda=$CUDA_HOME --with-cuda-cc={} --with-cuda-runtime={}\n".format(conf_cc, conf_rt))
print("./configure --with-cuda=yes --with-cuda-cc={} --with-cuda-runtime={}\n".format(conf_cc, conf_rt))