+/* ********************************************* */
+/* 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;
+void parse_after_config() {
+ if (!after_config_done) {
+ //
+ #ifdef HAVE_TRACING
+ TRACE_start();
+ #endif
+
+ /* Register classical callbacks */
+ storage_register_callbacks();
+ routing_register_callbacks();
+
+ /* ***************************************** */
+ /* TUTORIAL: New TAG */
+ gpu_register_callbacks();
+ /* ***************************************** */
+ after_config_done = 1;
+ }
+}
+