Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright notices
[simgrid.git] / src / surf / surfxml_parseplatf.c
index f8130cb..795615c 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2006-2014. The SimGrid Team.
+/* Copyright (c) 2006-2015. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -72,18 +72,15 @@ XBT_PUBLIC(void) gpu_register_callbacks(void){
 static int after_config_done;
 void parse_after_config() {
   if (!after_config_done) {
-    //
-    #ifdef HAVE_TRACING
-      TRACE_start();
-    #endif
+         TRACE_start();
 
     /* Register classical callbacks */
     storage_register_callbacks();
     routing_register_callbacks();
+    gpu_register_callbacks();
 
     /* ***************************************** */
     /* TUTORIAL: New TAG                         */
-    gpu_register_callbacks();
     /* ***************************************** */
     after_config_done = 1;
   }