Browse Source

Note about NVLink

Samuel Thibault 6 years ago
parent
commit
b926428d6e
1 changed files with 3 additions and 0 deletions
  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))
 	{