]> AND Public Git Repository - simgrid.git/blobdiff - include/simgrid/platf.h
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add a few thoughts in README.coding, and correct typos.
[simgrid.git] / include / simgrid / platf.h
index d044e358b21290fbdd77910550e4873280af2e1d..24a55339732fb8a6b831eb3a493807ec76f469f3 100644 (file)
@@ -297,8 +297,6 @@ typedef struct s_sg_platf_gpu_cbarg {
 
 #define SG_PLATF_GPU_INITIALIZER {NULL}
 
-XBT_PUBLIC(void) sg_platf_new_gpu   (sg_platf_gpu_cbarg_t   gpu);   // Add an gpu
-
 /* ***************************************** */
 
 XBT_PUBLIC(void) sg_platf_begin(void);  // Start a new platform
@@ -332,6 +330,11 @@ XBT_PUBLIC(void) sg_platf_new_mount(sg_platf_mount_cbarg_t mount);
 
 XBT_PUBLIC(void) sg_platf_new_process(sg_platf_process_cbarg_t process);
 
+/* ***************************************** */
+/* TUTORIAL: New TAG                         */
+XBT_PUBLIC(void) sg_platf_new_gpu(sg_platf_gpu_cbarg_t gpu);
+/* ***************************************** */
+
 // Add route and Asroute without xml file with those functions
 XBT_PUBLIC(void) sg_platf_route_begin (sg_platf_route_cbarg_t route); // Initialize route
 XBT_PUBLIC(void) sg_platf_route_end (sg_platf_route_cbarg_t route); // Finalize and add a route