瀏覽代碼

fix number of MIC when measuring bandwidth,...

Corentin Salingue 8 年之前
父節點
當前提交
2645db4c7b
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/core/perfmodel/perfmodel_bus.c

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

@@ -2471,6 +2471,9 @@ void _starpu_load_bus_performance_files(void)
 #if defined(STARPU_USE_OPENCL) || defined(STARPU_USE_SIMGRID)
 	nopencl = _starpu_opencl_get_device_count();
 #endif
+#if defined(STARPU_USE_MIC) || defined(STARPU_USE_SIMGRID)
+	nmic = _starpu_mic_src_get_device_count();
+#endif
 
 #ifndef STARPU_SIMGRID
         check_bus_config_file();