|
@@ -717,6 +717,7 @@ static void benchmark_all_gpu_devices(void)
|
|
|
|
|
|
#ifdef STARPU_HAVE_HWLOC
|
|
|
hwloc_set_cpubind(hwtopology, former_cpuset, HWLOC_CPUBIND_THREAD);
|
|
|
+ hwloc_bitmap_free(former_cpuset);
|
|
|
#elif __linux__
|
|
|
/* Restore the former affinity */
|
|
|
ret = sched_setaffinity(0, sizeof(former_process_affinity), &former_process_affinity);
|