Samuel Thibault лет назад: 6
Родитель
Сommit
b926428d6e
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      src/core/perfmodel/perfmodel_bus.c

+ 3 - 0
src/core/perfmodel/perfmodel_bus.c

@@ -2775,6 +2775,9 @@ static void write_bus_platform_file_content(int version)
 #endif
 
 #if defined(HAVE_DECL_HWLOC_CUDA_GET_DEVICE_OSDEV_BY_INDEX) && HAVE_DECL_HWLOC_CUDA_GET_DEVICE_OSDEV_BY_INDEX && defined(STARPU_USE_CUDA) && defined(STARPU_HAVE_CUDA_MEMCPY_PEER)
+#ifdef STARPU_DEVEL
+#warning TODO: use libnvml to get NVLink links, otherwise numbers will be bogusly propagated through PCI topology
+#endif
 	/* If we have enough hwloc information, write PCI bandwidths and routes */
 	if (!starpu_get_env_number_default("STARPU_PCI_FLAT", 0))
 	{