Patch for PPC64 platforms with smt=off, issue raised by Brad. This
fix will be included in hwloc 1.1.2. Brad -- can you verify that this fixes the issue for you? Fixes trac:2732. This commit was SVN r24450. The following Trac tickets were found above: Ticket 2732 --> https://svn.open-mpi.org/trac/ompi/ticket/2732
Этот коммит содержится в:
родитель
07996af388
Коммит
e8ba72258e
@ -2079,9 +2079,11 @@ look_powerpc_device_tree(struct hwloc_topology *topology)
|
||||
uint32_t nthreads = cb / sizeof(threads[0]);
|
||||
|
||||
if (NULL != threads) {
|
||||
unsigned int i;
|
||||
cpuset = hwloc_bitmap_alloc();
|
||||
for (unsigned int i = 0; i < nthreads; ++i) {
|
||||
hwloc_bitmap_set(cpuset, ntohl(threads[i]));
|
||||
for (i = 0; i < nthreads; ++i) {
|
||||
if (hwloc_bitmap_isset(topology->levels[0][0]->complete_cpuset, ntohl(threads[i])))
|
||||
hwloc_bitmap_set(cpuset, ntohl(threads[i]));
|
||||
}
|
||||
free(threads);
|
||||
} else if ((unsigned int)-1 != reg) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user