Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
more comments to document how gras architectures work
[simgrid.git] / src / gras / DataDesc / ddt_convert.c
index d24b142..0cb1fda 100644 (file)
@@ -30,6 +30,13 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(gras_ddt_convert, gras_ddt,
 
   B_C:1/1:_I:2/2:4/4:8/8:8/8:_P:8/8:8/8:_D:4/4:8/8:) gras_arch=7; gras_arch_name=big64;;
 
+  
+  
+  PLEASE DO NOT MESS WITH THESE HARDCODED VALUES
+  
+  
+  Grep GRAS_THISARCH in buildtools/Cmake/CompleteInFiles.cmake for details
+  
  ***/
 
 const gras_arch_desc_t gras_arches[gras_arch_count] = {
@@ -143,7 +150,7 @@ gras_dd_convert_elm(gras_datadesc_type_t type, int count,
 
       XBT_DEBUG("Resize integer %d from %lu @%p to %lu @%p",
              cpt, r_size, r_data, l_size, l_data);
-      xbt_assert0(r_data != l_data, "Impossible to resize in place");
+      xbt_assert(r_data != l_data, "Impossible to resize in place");
 
       if (sizeChange < 0) {
         XBT_DEBUG("Truncate %d bytes (%s,%s)", -sizeChange,