X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3de97294ca67a79f4a9729fc7ebcf37b4392f427..e47d2126ee520f8d88107618c42b84544e91a32c:/src/surf/surfxml_parseplatf.c diff --git a/src/surf/surfxml_parseplatf.c b/src/surf/surfxml_parseplatf.c index 238d3282a0..7077f57be4 100644 --- a/src/surf/surfxml_parseplatf.c +++ b/src/surf/surfxml_parseplatf.c @@ -10,11 +10,11 @@ #include "xbt/dict.h" #include "simgrid/platf.h" #include "surf/surfxml_parse.h" -#include "surf/surf_private.h" +#include "src/surf/surf_private.h" #ifdef HAVE_LUA -#include "bindings/lua/simgrid_lua.h" -#include "bindings/lua/lua_state_cloner.h" +#include "src/bindings/lua/simgrid_lua.h" +#include "src/bindings/lua/lua_state_cloner.h" #include /* Always include this when calling Lua */ #include /* Always include this when calling Lua */ @@ -68,13 +68,6 @@ xbt_dict_t trace_connect_list_link_avail = NULL; xbt_dict_t trace_connect_list_bandwidth = NULL; xbt_dict_t trace_connect_list_latency = NULL; -/* ********************************************* */ -/* TUTORIAL: New TAG */ -/* This function should be in gpu.c */ -/* because sg_platf_gpu_add_cb take a staic fct */ -XBT_PUBLIC(void) gpu_register_callbacks(void){ - sg_platf_gpu_add_cb(NULL); -} /* ***************************************** */ static int after_config_done; @@ -85,11 +78,7 @@ void parse_after_config() { /* Register classical callbacks */ storage_register_callbacks(); routing_register_callbacks(); - gpu_register_callbacks(); - /* ***************************************** */ - /* TUTORIAL: New TAG */ - /* ***************************************** */ after_config_done = 1; } }