Skip to content
Snippets Groups Projects
Commit 2ca27bee authored by Jean-Baptiste Keck Jean-Baptiste.Keck@imag.fr's avatar Jean-Baptiste Keck Jean-Baptiste.Keck@imag.fr
Browse files

hwinfo

parent ccb03552
No related branches found
No related tags found
No related merge requests found
......@@ -139,6 +139,7 @@ find_python_module(sympy REQUIRED)
find_python_module(psutil REQUIRED)
find_python_module(cpuinfo REQUIRED)
find_python_module(gmpy2 REQUIRED)
find_python_module(editdistance REQUIRED)
find_python_module(graph_tool REQUIRED)
# --- OpenCL ---
find_python_module(pyopencl REQUIRED)
......
......@@ -172,7 +172,7 @@ class TopologyObject(object):
for v in child:
assert v.tag == 'latency'
val = v.attrib['value']
pvalues.append(val)
values.append(val)
assert len(values) == nbobjs*nbobjs
self._attributes['distances'] = np.reshape(np.asarray(values, dtype=np.float32),(nbobjs,nbobjs,))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment