Jeffrey Squyres, le Fri 16 Mar 2012 02:04:37 +0100, a écrit :
> cache->size = linesize * linepart * ways * sets; /* FIXME: what if ways
> == -1 ? */
Ah, right, we still haven't had the opportunity to check with an actual
cpu with ways == -1. I've changed the code to just do like Linux.
Sa
I found this warning in OMPI 1.5:
CC topology-x86.lo
topology-x86.c: In function 'look_proc':
topology-x86.c:189: warning: 'ways' may be used uninitialized in this function
On the hwloc trunk, the ways variable is not initialized, and there's an "if"
block where one of the branches initial