text: //File edited by soys - Shame of you sniper - 18.March.2021
  /**
   * @file Core0.c
   * @generated by InstrumentedCPrinter
   * @date Thu Mar 18 19:09:15 CET 2021
   *
   * Code generated for processing element Core0 (ID=0).
   */
  
  #include "preesm_gen.h"
  #include "path_sniper.h"
  // Core Global Declaration
  extern pthread_barrier_t iter_barrier;
  extern int stopThreads;
  
  // Core Global Definitions
  char Core0[61248]; //  size:= 61248*char
  char Shared[206272]; //  size:= 206272*char
  char *const Read_YUV_0__display_0__0 = (char*) (Core0+0);  // Read_YUV_0 > display_0 size:= 50688*char
  char *const Sobel_0__Dilation_0__0 = (char*) (Core0+50688);  // Sobel_0 > Dilation_0 size:= 5984*char
  char *const Dilation_0__Erosion_0__0 = (char*) (Core0+56672);  // Dilation_0 > Erosion_0 size:= 4576*char
  char *const Read_YUV_0__Split_0__0 = (char*) (Shared+1760);  // Read_YUV_0 > Split_0 size:= 101376*char
  char *const explode_Split_0_output__Sobe__0 = (char*) (Shared+0);  // explode_Split_0_output > Sobel_0 size:= 6688*char
  char *const explode_Split_0_output__Sobe__1 = (char*) (Shared+3168);  // explode_Split_0_output > Sobel_1 size:= 6688*char
  char *const explode_Split_0_output__Sobe__2 = (char*) (Shared+6336);  // explode_Split_0_output > Sobel_2 size:= 6688*char
  char *const explode_Split_0_output__Sobe__3 = (char*) (Shared+9504);  // explode_Split_0_output > Sobel_3 size:= 6688*char
  char *const explode_Split_0_output__Sobe__4 = (char*) (Shared+12672);  // explode_Split_0_output > Sobel_4 size:= 6688*char
  char *const explode_Split_0_output__Sobe__5 = (char*) (Shared+15840);  // explode_Split_0_output > Sobel_5 size:= 6688*char
  char *const explode_Split_0_output__Sobe__6 = (char*) (Shared+19008);  // explode_Split_0_output > Sobel_6 size:= 6688*char
  char *const explode_Split_0_output__Sobe__7 = (char*) (Shared+22176);  // explode_Split_0_output > Sobel_7 size:= 6688*char
  char *const explode_Split_0_output__Sobe__8 = (char*) (Shared+25344);  // explode_Split_0_output > Sobel_8 size:= 6688*char
  char *const explode_Split_0_output__Sobe__9 = (char*) (Shared+28512);  // explode_Split_0_output > Sobel_9 size:= 6688*char
  char *const explode_Split_0_output__Sobe__10 = (char*) (Shared+31680);  // explode_Split_0_output > Sobel_10 size:= 6688*char
  char *const explode_Split_0_output__Sobe__11 = (char*) (Shared+34848);  // explode_Split_0_output > Sobel_11 size:= 6688*char
  char *const explode_Split_0_output__Sobe__12 = (char*) (Shared+38016);  // explode_Split_0_output > Sobel_12 size:= 6688*char
  char *const explode_Split_0_output__Sobe__13 = (char*) (Shared+41184);  // explode_Split_0_output > Sobel_13 size:= 6688*char
  char *const explode_Split_0_output__Sobe__14 = (char*) (Shared+44352);  // explode_Split_0_output > Sobel_14 size:= 6688*char
  char *const explode_Split_0_output__Sobe__15 = (char*) (Shared+47520);  // explode_Split_0_output > Sobel_15 size:= 6688*char
  char *const explode_Split_0_output__Sobe__16 = (char*) (Shared+50688);  // explode_Split_0_output > Sobel_16 size:= 6688*char
  char *const explode_Split_0_output__Sobe__17 = (char*) (Shared+53856);  // explode_Split_0_output > Sobel_17 size:= 6688*char
  char *const explode_Split_0_output__Sobe__18 = (char*) (Shared+57024);  // explode_Split_0_output > Sobel_18 size:= 6688*char
  char *const explode_Split_0_output__Sobe__19 = (char*) (Shared+60192);  // explode_Split_0_output > Sobel_19 size:= 6688*char
  char *const explode_Split_0_output__Sobe__20 = (char*) (Shared+63360);  // explode_Split_0_output > Sobel_20 size:= 6688*char
  char *const explode_Split_0_output__Sobe__21 = (char*) (Shared+66528);  // explode_Split_0_output > Sobel_21 size:= 6688*char
  char *const explode_Split_0_output__Sobe__22 = (char*) (Shared+69696);  // explode_Split_0_output > Sobel_22 size:= 6688*char
  char *const explode_Split_0_output__Sobe__23 = (char*) (Shared+72864);  // explode_Split_0_output > Sobel_23 size:= 6688*char
  char *const explode_Split_0_output__Sobe__24 = (char*) (Shared+76032);  // explode_Split_0_output > Sobel_24 size:= 6688*char
  char *const explode_Split_0_output__Sobe__25 = (char*) (Shared+79200);  // explode_Split_0_output > Sobel_25 size:= 6688*char
  char *const explode_Split_0_output__Sobe__26 = (char*) (Shared+82368);  // explode_Split_0_output > Sobel_26 size:= 6688*char
  char *const explode_Split_0_output__Sobe__27 = (char*) (Shared+85536);  // explode_Split_0_output > Sobel_27 size:= 6688*char
  char *const explode_Split_0_output__Sobe__28 = (char*) (Shared+88704);  // explode_Split_0_output > Sobel_28 size:= 6688*char
  char *const explode_Split_0_output__Sobe__29 = (char*) (Shared+91872);  // explode_Split_0_output > Sobel_29 size:= 6688*char
  char *const explode_Split_0_output__Sobe__30 = (char*) (Shared+95040);  // explode_Split_0_output > Sobel_30 size:= 6688*char
  char *const explode_Split_0_output__Sobe__31 = (char*) (Shared+98208);  // explode_Split_0_output > Sobel_31 size:= 6688*char
  char *const implode_display_0_y__display__0 = (char*) (Shared+104896);  // implode_display_0_y > display_0 size:= 101376*char
  char *const Erosion_0__implode_display_0__0 = (char*) (Shared+104896);  // Erosion_0 > implode_display_0_y size:= 3168*char
  char *const Erosion_1__implode_display_0__0 = (char*) (Shared+108064);  // Erosion_1 > implode_display_0_y size:= 3168*char
  char *const Erosion_2__implode_display_0__0 = (char*) (Shared+111232);  // Erosion_2 > implode_display_0_y size:= 3168*char
  char *const Erosion_3__implode_display_0__0 = (char*) (Shared+114400);  // Erosion_3 > implode_display_0_y size:= 3168*char
  char *const Erosion_4__implode_display_0__0 = (char*) (Shared+117568);  // Erosion_4 > implode_display_0_y size:= 3168*char
  char *const Erosion_5__implode_display_0__0 = (char*) (Shared+120736);  // Erosion_5 > implode_display_0_y size:= 3168*char
  char *const Erosion_6__implode_display_0__0 = (char*) (Shared+123904);  // Erosion_6 > implode_display_0_y size:= 3168*char
  char *const Erosion_7__implode_display_0__0 = (char*) (Shared+127072);  // Erosion_7 > implode_display_0_y size:= 3168*char
  char *const Erosion_8__implode_display_0__0 = (char*) (Shared+130240);  // Erosion_8 > implode_display_0_y size:= 3168*char
  char *const Erosion_9__implode_display_0__0 = (char*) (Shared+133408);  // Erosion_9 > implode_display_0_y size:= 3168*char
  char *const Erosion_10__implode_display___0 = (char*) (Shared+136576);  // Erosion_10 > implode_display_0_y size:= 3168*char
  char *const Erosion_11__implode_display___0 = (char*) (Shared+139744);  // Erosion_11 > implode_display_0_y size:= 3168*char
  char *const Erosion_12__implode_display___0 = (char*) (Shared+142912);  // Erosion_12 > implode_display_0_y size:= 3168*char
  char *const Erosion_13__implode_display___0 = (char*) (Shared+146080);  // Erosion_13 > implode_display_0_y size:= 3168*char
  char *const Erosion_14__implode_display___0 = (char*) (Shared+149248);  // Erosion_14 > implode_display_0_y size:= 3168*char
  char *const Erosion_15__implode_display___0 = (char*) (Shared+152416);  // Erosion_15 > implode_display_0_y size:= 3168*char
  char *const Erosion_16__implode_display___0 = (char*) (Shared+155584);  // Erosion_16 > implode_display_0_y size:= 3168*char
  char *const Erosion_17__implode_display___0 = (char*) (Shared+158752);  // Erosion_17 > implode_display_0_y size:= 3168*char
  char *const Erosion_18__implode_display___0 = (char*) (Shared+161920);  // Erosion_18 > implode_display_0_y size:= 3168*char
  char *const Erosion_19__implode_display___0 = (char*) (Shared+165088);  // Erosion_19 > implode_display_0_y size:= 3168*char
  char *const Erosion_20__implode_display___0 = (char*) (Shared+168256);  // Erosion_20 > implode_display_0_y size:= 3168*char
  char *const Erosion_21__implode_display___0 = (char*) (Shared+171424);  // Erosion_21 > implode_display_0_y size:= 3168*char
  char *const Erosion_22__implode_display___0 = (char*) (Shared+174592);  // Erosion_22 > implode_display_0_y size:= 3168*char
  char *const Erosion_23__implode_display___0 = (char*) (Shared+177760);  // Erosion_23 > implode_display_0_y size:= 3168*char
  char *const Erosion_24__implode_display___0 = (char*) (Shared+180928);  // Erosion_24 > implode_display_0_y size:= 3168*char
  char *const Erosion_25__implode_display___0 = (char*) (Shared+184096);  // Erosion_25 > implode_display_0_y size:= 3168*char
  char *const Erosion_26__implode_display___0 = (char*) (Shared+187264);  // Erosion_26 > implode_display_0_y size:= 3168*char
  char *const Erosion_27__implode_display___0 = (char*) (Shared+190432);  // Erosion_27 > implode_display_0_y size:= 3168*char
  char *const Erosion_28__implode_display___0 = (char*) (Shared+193600);  // Erosion_28 > implode_display_0_y size:= 3168*char
  char *const Erosion_29__implode_display___0 = (char*) (Shared+196768);  // Erosion_29 > implode_display_0_y size:= 3168*char
  char *const Erosion_30__implode_display___0 = (char*) (Shared+199936);  // Erosion_30 > implode_display_0_y size:= 3168*char
  char *const Erosion_31__implode_display___0 = (char*) (Shared+203104);  // Erosion_31 > implode_display_0_y size:= 3168*char
  uchar *const u__u__0 = (uchar*) (Core0+0);  // Read_YUV_0_u > display_0_u size:= 25344*uchar
  uchar *const v__v__0 = (uchar*) (Core0+25344);  // Read_YUV_0_v > display_0_v size:= 25344*uchar
  uchar *const output__input__0 = (uchar*) (Core0+50688);  // Sobel_0_output > Dilation_0_input size:= 5984*uchar
  uchar *const output__input__1 = (uchar*) (Core0+56672);  // Dilation_0_output > Erosion_0_input size:= 4576*uchar
  uchar *const y__input__0 = (uchar*) (Shared+1760);  // Read_YUV_0_y > Split_0_input size:= 101376*uchar
  uchar *const output_0__input__0 = (uchar*) (Shared+0);  // explode_Split_0_output_output_0 > Sobel_0_input size:= 6688*uchar
  uchar *const output_1__input__0 = (uchar*) (Shared+3168);  // explode_Split_0_output_output_1 > Sobel_1_input size:= 6688*uchar
  uchar *const output_2__input__0 = (uchar*) (Shared+6336);  // explode_Split_0_output_output_2 > Sobel_2_input size:= 6688*uchar
  uchar *const output_3__input__0 = (uchar*) (Shared+9504);  // explode_Split_0_output_output_3 > Sobel_3_input size:= 6688*uchar
  uchar *const output_4__input__0 = (uchar*) (Shared+12672);  // explode_Split_0_output_output_4 > Sobel_4_input size:= 6688*uchar
  uchar *const output_5__input__0 = (uchar*) (Shared+15840);  // explode_Split_0_output_output_5 > Sobel_5_input size:= 6688*uchar
  uchar *const output_6__input__0 = (uchar*) (Shared+19008);  // explode_Split_0_output_output_6 > Sobel_6_input size:= 6688*uchar
  uchar *const output_7__input__0 = (uchar*) (Shared+22176);  // explode_Split_0_output_output_7 > Sobel_7_input size:= 6688*uchar
  uchar *const output_8__input__0 = (uchar*) (Shared+25344);  // explode_Split_0_output_output_8 > Sobel_8_input size:= 6688*uchar
  uchar *const output_9__input__0 = (uchar*) (Shared+28512);  // explode_Split_0_output_output_9 > Sobel_9_input size:= 6688*uchar
  uchar *const output_10__input__0 = (uchar*) (Shared+31680);  // explode_Split_0_output_output_10 > Sobel_10_input size:= 6688*uchar
  uchar *const output_11__input__0 = (uchar*) (Shared+34848);  // explode_Split_0_output_output_11 > Sobel_11_input size:= 6688*uchar
  uchar *const output_12__input__0 = (uchar*) (Shared+38016);  // explode_Split_0_output_output_12 > Sobel_12_input size:= 6688*uchar
  uchar *const output_13__input__0 = (uchar*) (Shared+41184);  // explode_Split_0_output_output_13 > Sobel_13_input size:= 6688*uchar
  uchar *const output_14__input__0 = (uchar*) (Shared+44352);  // explode_Split_0_output_output_14 > Sobel_14_input size:= 6688*uchar
  uchar *const output_15__input__0 = (uchar*) (Shared+47520);  // explode_Split_0_output_output_15 > Sobel_15_input size:= 6688*uchar
  uchar *const output_16__input__0 = (uchar*) (Shared+50688);  // explode_Split_0_output_output_16 > Sobel_16_input size:= 6688*uchar
  uchar *const output_17__input__0 = (uchar*) (Shared+53856);  // explode_Split_0_output_output_17 > Sobel_17_input size:= 6688*uchar
  uchar *const output_18__input__0 = (uchar*) (Shared+57024);  // explode_Split_0_output_output_18 > Sobel_18_input size:= 6688*uchar
  uchar *const output_19__input__0 = (uchar*) (Shared+60192);  // explode_Split_0_output_output_19 > Sobel_19_input size:= 6688*uchar
  uchar *const output_20__input__0 = (uchar*) (Shared+63360);  // explode_Split_0_output_output_20 > Sobel_20_input size:= 6688*uchar
  uchar *const output_21__input__0 = (uchar*) (Shared+66528);  // explode_Split_0_output_output_21 > Sobel_21_input size:= 6688*uchar
  uchar *const output_22__input__0 = (uchar*) (Shared+69696);  // explode_Split_0_output_output_22 > Sobel_22_input size:= 6688*uchar
  uchar *const output_23__input__0 = (uchar*) (Shared+72864);  // explode_Split_0_output_output_23 > Sobel_23_input size:= 6688*uchar
  uchar *const output_24__input__0 = (uchar*) (Shared+76032);  // explode_Split_0_output_output_24 > Sobel_24_input size:= 6688*uchar
  uchar *const output_25__input__0 = (uchar*) (Shared+79200);  // explode_Split_0_output_output_25 > Sobel_25_input size:= 6688*uchar
  uchar *const output_26__input__0 = (uchar*) (Shared+82368);  // explode_Split_0_output_output_26 > Sobel_26_input size:= 6688*uchar
  uchar *const output_27__input__0 = (uchar*) (Shared+85536);  // explode_Split_0_output_output_27 > Sobel_27_input size:= 6688*uchar
  uchar *const output_28__input__0 = (uchar*) (Shared+88704);  // explode_Split_0_output_output_28 > Sobel_28_input size:= 6688*uchar
  uchar *const output_29__input__0 = (uchar*) (Shared+91872);  // explode_Split_0_output_output_29 > Sobel_29_input size:= 6688*uchar
  uchar *const output_30__input__0 = (uchar*) (Shared+95040);  // explode_Split_0_output_output_30 > Sobel_30_input size:= 6688*uchar
  uchar *const output_31__input__0 = (uchar*) (Shared+98208);  // explode_Split_0_output_output_31 > Sobel_31_input size:= 6688*uchar
  uchar *const output__y__0 = (uchar*) (Shared+104896);  // implode_display_0_y_output > display_0_y size:= 101376*uchar
  uchar *const output__y_0__0 = (uchar*) (Shared+104896);  // Erosion_0_output > implode_display_0_y_y_0 size:= 3168*uchar
  uchar *const output__y_1__0 = (uchar*) (Shared+108064);  // Erosion_1_output > implode_display_0_y_y_1 size:= 3168*uchar
  uchar *const output__y_2__0 = (uchar*) (Shared+111232);  // Erosion_2_output > implode_display_0_y_y_2 size:= 3168*uchar
  uchar *const output__y_3__0 = (uchar*) (Shared+114400);  // Erosion_3_output > implode_display_0_y_y_3 size:= 3168*uchar
  uchar *const output__y_4__0 = (uchar*) (Shared+117568);  // Erosion_4_output > implode_display_0_y_y_4 size:= 3168*uchar
  uchar *const output__y_5__0 = (uchar*) (Shared+120736);  // Erosion_5_output > implode_display_0_y_y_5 size:= 3168*uchar
  uchar *const output__y_6__0 = (uchar*) (Shared+123904);  // Erosion_6_output > implode_display_0_y_y_6 size:= 3168*uchar
  uchar *const output__y_7__0 = (uchar*) (Shared+127072);  // Erosion_7_output > implode_display_0_y_y_7 size:= 3168*uchar
  uchar *const output__y_8__0 = (uchar*) (Shared+130240);  // Erosion_8_output > implode_display_0_y_y_8 size:= 3168*uchar
  uchar *const output__y_9__0 = (uchar*) (Shared+133408);  // Erosion_9_output > implode_display_0_y_y_9 size:= 3168*uchar
  uchar *const output__y_10__0 = (uchar*) (Shared+136576);  // Erosion_10_output > implode_display_0_y_y_10 size:= 3168*uchar
  uchar *const output__y_11__0 = (uchar*) (Shared+139744);  // Erosion_11_output > implode_display_0_y_y_11 size:= 3168*uchar
  uchar *const output__y_12__0 = (uchar*) (Shared+142912);  // Erosion_12_output > implode_display_0_y_y_12 size:= 3168*uchar
  uchar *const output__y_13__0 = (uchar*) (Shared+146080);  // Erosion_13_output > implode_display_0_y_y_13 size:= 3168*uchar
  uchar *const output__y_14__0 = (uchar*) (Shared+149248);  // Erosion_14_output > implode_display_0_y_y_14 size:= 3168*uchar
  uchar *const output__y_15__0 = (uchar*) (Shared+152416);  // Erosion_15_output > implode_display_0_y_y_15 size:= 3168*uchar
  uchar *const output__y_16__0 = (uchar*) (Shared+155584);  // Erosion_16_output > implode_display_0_y_y_16 size:= 3168*uchar
  uchar *const output__y_17__0 = (uchar*) (Shared+158752);  // Erosion_17_output > implode_display_0_y_y_17 size:= 3168*uchar
  uchar *const output__y_18__0 = (uchar*) (Shared+161920);  // Erosion_18_output > implode_display_0_y_y_18 size:= 3168*uchar
  uchar *const output__y_19__0 = (uchar*) (Shared+165088);  // Erosion_19_output > implode_display_0_y_y_19 size:= 3168*uchar
  uchar *const output__y_20__0 = (uchar*) (Shared+168256);  // Erosion_20_output > implode_display_0_y_y_20 size:= 3168*uchar
  uchar *const output__y_21__0 = (uchar*) (Shared+171424);  // Erosion_21_output > implode_display_0_y_y_21 size:= 3168*uchar
  uchar *const output__y_22__0 = (uchar*) (Shared+174592);  // Erosion_22_output > implode_display_0_y_y_22 size:= 3168*uchar
  uchar *const output__y_23__0 = (uchar*) (Shared+177760);  // Erosion_23_output > implode_display_0_y_y_23 size:= 3168*uchar
  uchar *const output__y_24__0 = (uchar*) (Shared+180928);  // Erosion_24_output > implode_display_0_y_y_24 size:= 3168*uchar
  uchar *const output__y_25__0 = (uchar*) (Shared+184096);  // Erosion_25_output > implode_display_0_y_y_25 size:= 3168*uchar
  uchar *const output__y_26__0 = (uchar*) (Shared+187264);  // Erosion_26_output > implode_display_0_y_y_26 size:= 3168*uchar
  uchar *const output__y_27__0 = (uchar*) (Shared+190432);  // Erosion_27_output > implode_display_0_y_y_27 size:= 3168*uchar
  uchar *const output__y_28__0 = (uchar*) (Shared+193600);  // Erosion_28_output > implode_display_0_y_y_28 size:= 3168*uchar
  uchar *const output__y_29__0 = (uchar*) (Shared+196768);  // Erosion_29_output > implode_display_0_y_y_29 size:= 3168*uchar
  uchar *const output__y_30__0 = (uchar*) (Shared+199936);  // Erosion_30_output > implode_display_0_y_y_30 size:= 3168*uchar
  uchar *const output__y_31__0 = (uchar*) (Shared+203104);  // Erosion_31_output > implode_display_0_y_y_31 size:= 3168*uchar
  uint64_t dumpedTimes[381]; //  size:= 381*uint64_t
  int nbExec[381]; //  size:= 381*int
  int idx;
  
  void *computationThread_Core0(void *arg){
  	if (arg != NULL) {
  		printf("Warning: expecting NULL arguments\n");
  	}
  	// Initialisation(s)
  	initReadYUV(352/*width*/,288/*height*/); // Read_YUV_0
  	yuvDisplayInit(0/*id*/,352/*width*/,288/*height*/); // display_0
  	initNbExec(nbExec,381/*nbDump*/); // 
  
  	// Begin the execution loop
  #ifdef LOOP_SIZE // Case of a finite loop
  	int index;
  	for(index=0;index<LOOP_SIZE;index++){
  #else // Default case of an infinite loop
  	while(1){
  #endif
  		while(lock(0));
  //		pthread_barrier_wait(&iter_barrier);
  		if(stopThreads){
  			pthread_exit(NULL);
  		}
  		dumpTime(0/*globalID*/,dumpedTimes); // 
  		for(idx=0; idx<*(nbExec+1); idx++){
  			readYUV(352/*width*/,288/*height*/,y__input__0,u__u__0,v__v__0); // Read_YUV_0
  		}
  		dumpTime(1/*globalID*/,dumpedTimes); // 
  		for(idx=0; idx<*(nbExec+2); idx++){
  			split(32/*nbSlice*/,352/*width*/,288/*height*/,5/*overlap*/,y__input__0,NULL); // Split_0
  		}
  		dumpTime(2/*globalID*/,dumpedTimes); // 
  		for(idx=0; idx<*(nbExec+3); idx++){
  			// Fork explode_Split_0_output
  			{
  			}
  		}
  		dumpTime(3/*globalID*/,dumpedTimes); // 
  		*(nbExec+4) = 0;
  		sendStart(0, 1); // Core0 > Core1: explode_Split_0_output__Sobe__1
  		dumpTime(4/*globalID*/,dumpedTimes); // 
  		*(nbExec+5) = 0;
  		sendEnd(); // Core0 > Core1: explode_Split_0_output__Sobe__1
  		dumpTime(5/*globalID*/,dumpedTimes); // 
  		*(nbExec+6) = 0;
  		sendStart(0, 10); // Core0 > Core10: explode_Split_0_output__Sobe__2
  		dumpTime(6/*globalID*/,dumpedTimes); // 
  		*(nbExec+7) = 0;
  		sendEnd(); // Core0 > Core10: explode_Split_0_output__Sobe__2
  		dumpTime(7/*globalID*/,dumpedTimes); // 
  		*(nbExec+8) = 0;
  		sendStart(0, 11); // Core0 > Core11: explode_Split_0_output__Sobe__3
  		dumpTime(8/*globalID*/,dumpedTimes); // 
  		*(nbExec+9) = 0;
  		sendEnd(); // Core0 > Core11: explode_Split_0_output__Sobe__3
  		dumpTime(9/*globalID*/,dumpedTimes); // 
  		*(nbExec+10) = 0;
  		sendStart(0, 12); // Core0 > Core12: explode_Split_0_output__Sobe__4
  		dumpTime(10/*globalID*/,dumpedTimes); // 
  		*(nbExec+11) = 0;
  		sendEnd(); // Core0 > Core12: explode_Split_0_output__Sobe__4
  		dumpTime(11/*globalID*/,dumpedTimes); // 
  		*(nbExec+12) = 0;
  		sendStart(0, 13); // Core0 > Core13: explode_Split_0_output__Sobe__5
  		dumpTime(12/*globalID*/,dumpedTimes); // 
  		*(nbExec+13) = 0;
  		sendEnd(); // Core0 > Core13: explode_Split_0_output__Sobe__5
  		dumpTime(13/*globalID*/,dumpedTimes); // 
  		*(nbExec+14) = 0;
  		sendStart(0, 14); // Core0 > Core14: explode_Split_0_output__Sobe__6
  		dumpTime(14/*globalID*/,dumpedTimes); // 
  		*(nbExec+15) = 0;
  		sendEnd(); // Core0 > Core14: explode_Split_0_output__Sobe__6
  		dumpTime(15/*globalID*/,dumpedTimes); // 
  		*(nbExec+16) = 0;
  		sendStart(0, 15); // Core0 > Core15: explode_Split_0_output__Sobe__7
  		dumpTime(16/*globalID*/,dumpedTimes); // 
  		*(nbExec+17) = 0;
  		sendEnd(); // Core0 > Core15: explode_Split_0_output__Sobe__7
  		dumpTime(17/*globalID*/,dumpedTimes); // 
  		*(nbExec+18) = 0;
  		sendStart(0, 16); // Core0 > Core16: explode_Split_0_output__Sobe__8
  		dumpTime(18/*globalID*/,dumpedTimes); // 
  		*(nbExec+19) = 0;
  		sendEnd(); // Core0 > Core16: explode_Split_0_output__Sobe__8
  		dumpTime(19/*globalID*/,dumpedTimes); // 
  		*(nbExec+20) = 0;
  		sendStart(0, 17); // Core0 > Core17: explode_Split_0_output__Sobe__9
  		dumpTime(20/*globalID*/,dumpedTimes); // 
  		*(nbExec+21) = 0;
  		sendEnd(); // Core0 > Core17: explode_Split_0_output__Sobe__9
  		dumpTime(21/*globalID*/,dumpedTimes); // 
  		*(nbExec+22) = 0;
  		sendStart(0, 18); // Core0 > Core18: explode_Split_0_output__Sobe__10
  		dumpTime(22/*globalID*/,dumpedTimes); // 
  		*(nbExec+23) = 0;
  		sendEnd(); // Core0 > Core18: explode_Split_0_output__Sobe__10
  		dumpTime(23/*globalID*/,dumpedTimes); // 
  		*(nbExec+24) = 0;
  		sendStart(0, 19); // Core0 > Core19: explode_Split_0_output__Sobe__11
  		dumpTime(24/*globalID*/,dumpedTimes); // 
  		*(nbExec+25) = 0;
  		sendEnd(); // Core0 > Core19: explode_Split_0_output__Sobe__11
  		dumpTime(25/*globalID*/,dumpedTimes); // 
  		*(nbExec+26) = 0;
  		sendStart(0, 2); // Core0 > Core2: explode_Split_0_output__Sobe__12
  		dumpTime(26/*globalID*/,dumpedTimes); // 
  		*(nbExec+27) = 0;
  		sendEnd(); // Core0 > Core2: explode_Split_0_output__Sobe__12
  		dumpTime(27/*globalID*/,dumpedTimes); // 
  		*(nbExec+28) = 0;
  		sendStart(0, 20); // Core0 > Core20: explode_Split_0_output__Sobe__13
  		dumpTime(28/*globalID*/,dumpedTimes); // 
  		*(nbExec+29) = 0;
  		sendEnd(); // Core0 > Core20: explode_Split_0_output__Sobe__13
  		dumpTime(29/*globalID*/,dumpedTimes); // 
  		*(nbExec+30) = 0;
  		sendStart(0, 21); // Core0 > Core21: explode_Split_0_output__Sobe__14
  		dumpTime(30/*globalID*/,dumpedTimes); // 
  		*(nbExec+31) = 0;
  		sendEnd(); // Core0 > Core21: explode_Split_0_output__Sobe__14
  		dumpTime(31/*globalID*/,dumpedTimes); // 
  		*(nbExec+32) = 0;
  		sendStart(0, 22); // Core0 > Core22: explode_Split_0_output__Sobe__15
  		dumpTime(32/*globalID*/,dumpedTimes); // 
  		*(nbExec+33) = 0;
  		sendEnd(); // Core0 > Core22: explode_Split_0_output__Sobe__15
  		dumpTime(33/*globalID*/,dumpedTimes); // 
  		*(nbExec+34) = 0;
  		sendStart(0, 23); // Core0 > Core23: explode_Split_0_output__Sobe__16
  		dumpTime(34/*globalID*/,dumpedTimes); // 
  		*(nbExec+35) = 0;
  		sendEnd(); // Core0 > Core23: explode_Split_0_output__Sobe__16
  		dumpTime(35/*globalID*/,dumpedTimes); // 
  		*(nbExec+36) = 0;
  		sendStart(0, 24); // Core0 > Core24: explode_Split_0_output__Sobe__17
  		dumpTime(36/*globalID*/,dumpedTimes); // 
  		*(nbExec+37) = 0;
  		sendEnd(); // Core0 > Core24: explode_Split_0_output__Sobe__17
  		dumpTime(37/*globalID*/,dumpedTimes); // 
  		*(nbExec+38) = 0;
  		sendStart(0, 25); // Core0 > Core25: explode_Split_0_output__Sobe__18
  		dumpTime(38/*globalID*/,dumpedTimes); // 
  		*(nbExec+39) = 0;
  		sendEnd(); // Core0 > Core25: explode_Split_0_output__Sobe__18
  		dumpTime(39/*globalID*/,dumpedTimes); // 
  		*(nbExec+40) = 0;
  		sendStart(0, 27); // Core0 > Core27: explode_Split_0_output__Sobe__19
  		dumpTime(40/*globalID*/,dumpedTimes); // 
  		*(nbExec+41) = 0;
  		sendEnd(); // Core0 > Core27: explode_Split_0_output__Sobe__19
  		dumpTime(41/*globalID*/,dumpedTimes); // 
  		*(nbExec+42) = 0;
  		sendStart(0, 28); // Core0 > Core28: explode_Split_0_output__Sobe__20
  		dumpTime(42/*globalID*/,dumpedTimes); // 
  		*(nbExec+43) = 0;
  		sendEnd(); // Core0 > Core28: explode_Split_0_output__Sobe__20
  		dumpTime(43/*globalID*/,dumpedTimes); // 
  		*(nbExec+44) = 0;
  		sendStart(0, 29); // Core0 > Core29: explode_Split_0_output__Sobe__21
  		dumpTime(44/*globalID*/,dumpedTimes); // 
  		*(nbExec+45) = 0;
  		sendEnd(); // Core0 > Core29: explode_Split_0_output__Sobe__21
  		dumpTime(45/*globalID*/,dumpedTimes); // 
  		*(nbExec+46) = 0;
  		sendStart(0, 3); // Core0 > Core3: explode_Split_0_output__Sobe__22
  		dumpTime(46/*globalID*/,dumpedTimes); // 
  		*(nbExec+47) = 0;
  		sendEnd(); // Core0 > Core3: explode_Split_0_output__Sobe__22
  		dumpTime(47/*globalID*/,dumpedTimes); // 
  		*(nbExec+48) = 0;
  		sendStart(0, 30); // Core0 > Core30: explode_Split_0_output__Sobe__23
  		dumpTime(48/*globalID*/,dumpedTimes); // 
  		*(nbExec+49) = 0;
  		sendEnd(); // Core0 > Core30: explode_Split_0_output__Sobe__23
  		dumpTime(49/*globalID*/,dumpedTimes); // 
  		*(nbExec+50) = 0;
  		sendStart(0, 31); // Core0 > Core31: explode_Split_0_output__Sobe__24
  		dumpTime(50/*globalID*/,dumpedTimes); // 
  		*(nbExec+51) = 0;
  		sendEnd(); // Core0 > Core31: explode_Split_0_output__Sobe__24
  		dumpTime(51/*globalID*/,dumpedTimes); // 
  		*(nbExec+52) = 0;
  		sendStart(0, 4); // Core0 > Core4: explode_Split_0_output__Sobe__25
  		dumpTime(52/*globalID*/,dumpedTimes); // 
  		*(nbExec+53) = 0;
  		sendEnd(); // Core0 > Core4: explode_Split_0_output__Sobe__25
  		dumpTime(53/*globalID*/,dumpedTimes); // 
  		*(nbExec+54) = 0;
  		sendStart(0, 5); // Core0 > Core5: explode_Split_0_output__Sobe__26
  		dumpTime(54/*globalID*/,dumpedTimes); // 
  		*(nbExec+55) = 0;
  		sendEnd(); // Core0 > Core5: explode_Split_0_output__Sobe__26
  		dumpTime(55/*globalID*/,dumpedTimes); // 
  		*(nbExec+56) = 0;
  		sendStart(0, 6); // Core0 > Core6: explode_Split_0_output__Sobe__27
  		dumpTime(56/*globalID*/,dumpedTimes); // 
  		*(nbExec+57) = 0;
  		sendEnd(); // Core0 > Core6: explode_Split_0_output__Sobe__27
  		dumpTime(57/*globalID*/,dumpedTimes); // 
  		*(nbExec+58) = 0;
  		sendStart(0, 7); // Core0 > Core7: explode_Split_0_output__Sobe__28
  		dumpTime(58/*globalID*/,dumpedTimes); // 
  		*(nbExec+59) = 0;
  		sendEnd(); // Core0 > Core7: explode_Split_0_output__Sobe__28
  		dumpTime(59/*globalID*/,dumpedTimes); // 
  		*(nbExec+60) = 0;
  		sendStart(0, 8); // Core0 > Core8: explode_Split_0_output__Sobe__29
  		dumpTime(60/*globalID*/,dumpedTimes); // 
  		*(nbExec+61) = 0;
  		sendEnd(); // Core0 > Core8: explode_Split_0_output__Sobe__29
  		dumpTime(61/*globalID*/,dumpedTimes); // 
  		*(nbExec+62) = 0;
  		sendStart(0, 9); // Core0 > Core9: explode_Split_0_output__Sobe__30
  		dumpTime(62/*globalID*/,dumpedTimes); // 
  		*(nbExec+63) = 0;
  		sendEnd(); // Core0 > Core9: explode_Split_0_output__Sobe__30
  		dumpTime(63/*globalID*/,dumpedTimes); // 
  		*(nbExec+64) = 0;
  		sendStart(0, 26); // Core0 > Core26: explode_Split_0_output__Sobe__31
  		dumpTime(64/*globalID*/,dumpedTimes); // 
  		*(nbExec+65) = 0;
  		sendEnd(); // Core0 > Core26: explode_Split_0_output__Sobe__31
  		dumpTime(65/*globalID*/,dumpedTimes); // 
  		for(idx=0; idx<*(nbExec+66); idx++){
  			sobel(352/*width*/,19/*height*/,output_0__input__0,output__input__0); // Sobel_0
  		}
  		dumpTime(66/*globalID*/,dumpedTimes); // 
  		for(idx=0; idx<*(nbExec+67); idx++){
  			dilation(17/*height*/,352/*width*/,2/*window*/,output__input__0,output__input__1); // Dilation_0
  		}
  		dumpTime(67/*globalID*/,dumpedTimes); // 
  		for(idx=0; idx<*(nbExec+68); idx++){
  			erosion(13/*height*/,352/*width*/,2/*window*/,output__input__1,output__y_0__0); // Erosion_0
  		}
  		dumpTime(68/*globalID*/,dumpedTimes); // 
  		*(nbExec+69) = 0;
  		receiveStart(); // Core1 > Core0: Erosion_1__implode_display_0__0
  		dumpTime(69/*globalID*/,dumpedTimes); // 
  		*(nbExec+70) = 0;
  		receiveEnd(1, 0); // Core1 > Core0: Erosion_1__implode_display_0__0
  		dumpTime(70/*globalID*/,dumpedTimes); // 
  		*(nbExec+71) = 0;
  		receiveStart(); // Core18 > Core0: Erosion_10__implode_display___0
  		dumpTime(71/*globalID*/,dumpedTimes); // 
  		*(nbExec+72) = 0;
  		receiveEnd(18, 0); // Core18 > Core0: Erosion_10__implode_display___0
  		dumpTime(72/*globalID*/,dumpedTimes); // 
  		*(nbExec+73) = 0;
  		receiveStart(); // Core19 > Core0: Erosion_11__implode_display___0
  		dumpTime(73/*globalID*/,dumpedTimes); // 
  		*(nbExec+74) = 0;
  		receiveEnd(19, 0); // Core19 > Core0: Erosion_11__implode_display___0
  		dumpTime(74/*globalID*/,dumpedTimes); // 
  		*(nbExec+75) = 0;
  		receiveStart(); // Core2 > Core0: Erosion_12__implode_display___0
  		dumpTime(75/*globalID*/,dumpedTimes); // 
  		*(nbExec+76) = 0;
  		receiveEnd(2, 0); // Core2 > Core0: Erosion_12__implode_display___0
  		dumpTime(76/*globalID*/,dumpedTimes); // 
  		*(nbExec+77) = 0;
  		receiveStart(); // Core20 > Core0: Erosion_13__implode_display___0
  		dumpTime(77/*globalID*/,dumpedTimes); // 
  		*(nbExec+78) = 0;
  		receiveEnd(20, 0); // Core20 > Core0: Erosion_13__implode_display___0
  		dumpTime(78/*globalID*/,dumpedTimes); // 
  		*(nbExec+79) = 0;
  		receiveStart(); // Core21 > Core0: Erosion_14__implode_display___0
  		dumpTime(79/*globalID*/,dumpedTimes); // 
  		*(nbExec+80) = 0;
  		receiveEnd(21, 0); // Core21 > Core0: Erosion_14__implode_display___0
  		dumpTime(80/*globalID*/,dumpedTimes); // 
  		*(nbExec+81) = 0;
  		receiveStart(); // Core22 > Core0: Erosion_15__implode_display___0
  		dumpTime(81/*globalID*/,dumpedTimes); // 
  		*(nbExec+82) = 0;
  		receiveEnd(22, 0); // Core22 > Core0: Erosion_15__implode_display___0
  		dumpTime(82/*globalID*/,dumpedTimes); // 
  		*(nbExec+83) = 0;
  		receiveStart(); // Core23 > Core0: Erosion_16__implode_display___0
  		dumpTime(83/*globalID*/,dumpedTimes); // 
  		*(nbExec+84) = 0;
  		receiveEnd(23, 0); // Core23 > Core0: Erosion_16__implode_display___0
  		dumpTime(84/*globalID*/,dumpedTimes); // 
  		*(nbExec+85) = 0;
  		receiveStart(); // Core24 > Core0: Erosion_17__implode_display___0
  		dumpTime(85/*globalID*/,dumpedTimes); // 
  		*(nbExec+86) = 0;
  		receiveEnd(24, 0); // Core24 > Core0: Erosion_17__implode_display___0
  		dumpTime(86/*globalID*/,dumpedTimes); // 
  		*(nbExec+87) = 0;
  		receiveStart(); // Core25 > Core0: Erosion_18__implode_display___0
  		dumpTime(87/*globalID*/,dumpedTimes); // 
  		*(nbExec+88) = 0;
  		receiveEnd(25, 0); // Core25 > Core0: Erosion_18__implode_display___0
  		dumpTime(88/*globalID*/,dumpedTimes); // 
  		*(nbExec+89) = 0;
  		receiveStart(); // Core27 > Core0: Erosion_19__implode_display___0
  		dumpTime(89/*globalID*/,dumpedTimes); // 
  		*(nbExec+90) = 0;
  		receiveEnd(27, 0); // Core27 > Core0: Erosion_19__implode_display___0
  		dumpTime(90/*globalID*/,dumpedTimes); // 
  		*(nbExec+91) = 0;
  		receiveStart(); // Core10 > Core0: Erosion_2__implode_display_0__0
  		dumpTime(91/*globalID*/,dumpedTimes); // 
  		*(nbExec+92) = 0;
  		receiveEnd(10, 0); // Core10 > Core0: Erosion_2__implode_display_0__0
  		dumpTime(92/*globalID*/,dumpedTimes); // 
  		*(nbExec+93) = 0;
  		receiveStart(); // Core28 > Core0: Erosion_20__implode_display___0
  		dumpTime(93/*globalID*/,dumpedTimes); // 
  		*(nbExec+94) = 0;
  		receiveEnd(28, 0); // Core28 > Core0: Erosion_20__implode_display___0
  		dumpTime(94/*globalID*/,dumpedTimes); // 
  		*(nbExec+95) = 0;
  		receiveStart(); // Core29 > Core0: Erosion_21__implode_display___0
  		dumpTime(95/*globalID*/,dumpedTimes); // 
  		*(nbExec+96) = 0;
  		receiveEnd(29, 0); // Core29 > Core0: Erosion_21__implode_display___0
  		dumpTime(96/*globalID*/,dumpedTimes); // 
  		*(nbExec+97) = 0;
  		receiveStart(); // Core3 > Core0: Erosion_22__implode_display___0
  		dumpTime(97/*globalID*/,dumpedTimes); // 
  		*(nbExec+98) = 0;
  		receiveEnd(3, 0); // Core3 > Core0: Erosion_22__implode_display___0
  		dumpTime(98/*globalID*/,dumpedTimes); // 
  		*(nbExec+99) = 0;
  		receiveStart(); // Core30 > Core0: Erosion_23__implode_display___0
  		dumpTime(99/*globalID*/,dumpedTimes); // 
  		*(nbExec+100) = 0;
  		receiveEnd(30, 0); // Core30 > Core0: Erosion_23__implode_display___0
  		dumpTime(100/*globalID*/,dumpedTimes); // 
  		*(nbExec+101) = 0;
  		receiveStart(); // Core31 > Core0: Erosion_24__implode_display___0
  		dumpTime(101/*globalID*/,dumpedTimes); // 
  		*(nbExec+102) = 0;
  		receiveEnd(31, 0); // Core31 > Core0: Erosion_24__implode_display___0
  		dumpTime(102/*globalID*/,dumpedTimes); // 
  		*(nbExec+103) = 0;
  		receiveStart(); // Core4 > Core0: Erosion_25__implode_display___0
  		dumpTime(103/*globalID*/,dumpedTimes); // 
  		*(nbExec+104) = 0;
  		receiveEnd(4, 0); // Core4 > Core0: Erosion_25__implode_display___0
  		dumpTime(104/*globalID*/,dumpedTimes); // 
  		*(nbExec+105) = 0;
  		receiveStart(); // Core5 > Core0: Erosion_26__implode_display___0
  		dumpTime(105/*globalID*/,dumpedTimes); // 
  		*(nbExec+106) = 0;
  		receiveEnd(5, 0); // Core5 > Core0: Erosion_26__implode_display___0
  		dumpTime(106/*globalID*/,dumpedTimes); // 
  		*(nbExec+107) = 0;
  		receiveStart(); // Core6 > Core0: Erosion_27__implode_display___0
  		dumpTime(107/*globalID*/,dumpedTimes); // 
  		*(nbExec+108) = 0;
  		receiveEnd(6, 0); // Core6 > Core0: Erosion_27__implode_display___0
  		dumpTime(108/*globalID*/,dumpedTimes); // 
  		*(nbExec+109) = 0;
  		receiveStart(); // Core7 > Core0: Erosion_28__implode_display___0
  		dumpTime(109/*globalID*/,dumpedTimes); // 
  		*(nbExec+110) = 0;
  		receiveEnd(7, 0); // Core7 > Core0: Erosion_28__implode_display___0
  		dumpTime(110/*globalID*/,dumpedTimes); // 
  		*(nbExec+111) = 0;
  		receiveStart(); // Core8 > Core0: Erosion_29__implode_display___0
  		dumpTime(111/*globalID*/,dumpedTimes); // 
  		*(nbExec+112) = 0;
  		receiveEnd(8, 0); // Core8 > Core0: Erosion_29__implode_display___0
  		dumpTime(112/*globalID*/,dumpedTimes); // 
  		*(nbExec+113) = 0;
  		receiveStart(); // Core11 > Core0: Erosion_3__implode_display_0__0
  		dumpTime(113/*globalID*/,dumpedTimes); // 
  		*(nbExec+114) = 0;
  		receiveEnd(11, 0); // Core11 > Core0: Erosion_3__implode_display_0__0
  		dumpTime(114/*globalID*/,dumpedTimes); // 
  		*(nbExec+115) = 0;
  		receiveStart(); // Core9 > Core0: Erosion_30__implode_display___0
  		dumpTime(115/*globalID*/,dumpedTimes); // 
  		*(nbExec+116) = 0;
  		receiveEnd(9, 0); // Core9 > Core0: Erosion_30__implode_display___0
  		dumpTime(116/*globalID*/,dumpedTimes); // 
  		*(nbExec+117) = 0;
  		receiveStart(); // Core26 > Core0: Erosion_31__implode_display___0
  		dumpTime(117/*globalID*/,dumpedTimes); // 
  		*(nbExec+118) = 0;
  		receiveEnd(26, 0); // Core26 > Core0: Erosion_31__implode_display___0
  		dumpTime(118/*globalID*/,dumpedTimes); // 
  		*(nbExec+119) = 0;
  		receiveStart(); // Core12 > Core0: Erosion_4__implode_display_0__0
  		dumpTime(119/*globalID*/,dumpedTimes); // 
  		*(nbExec+120) = 0;
  		receiveEnd(12, 0); // Core12 > Core0: Erosion_4__implode_display_0__0
  		dumpTime(120/*globalID*/,dumpedTimes); // 
  		*(nbExec+121) = 0;
  		receiveStart(); // Core13 > Core0: Erosion_5__implode_display_0__0
  		dumpTime(121/*globalID*/,dumpedTimes); // 
  		*(nbExec+122) = 0;
  		receiveEnd(13, 0); // Core13 > Core0: Erosion_5__implode_display_0__0
  		dumpTime(122/*globalID*/,dumpedTimes); // 
  		*(nbExec+123) = 0;
  		receiveStart(); // Core14 > Core0: Erosion_6__implode_display_0__0
  		dumpTime(123/*globalID*/,dumpedTimes); // 
  		*(nbExec+124) = 0;
  		receiveEnd(14, 0); // Core14 > Core0: Erosion_6__implode_display_0__0
  		dumpTime(124/*globalID*/,dumpedTimes); // 
  		*(nbExec+125) = 0;
  		receiveStart(); // Core15 > Core0: Erosion_7__implode_display_0__0
  		dumpTime(125/*globalID*/,dumpedTimes); // 
  		*(nbExec+126) = 0;
  		receiveEnd(15, 0); // Core15 > Core0: Erosion_7__implode_display_0__0
  		dumpTime(126/*globalID*/,dumpedTimes); // 
  		*(nbExec+127) = 0;
  		receiveStart(); // Core16 > Core0: Erosion_8__implode_display_0__0
  		dumpTime(127/*globalID*/,dumpedTimes); // 
  		*(nbExec+128) = 0;
  		receiveEnd(16, 0); // Core16 > Core0: Erosion_8__implode_display_0__0
  		dumpTime(128/*globalID*/,dumpedTimes); // 
  		*(nbExec+129) = 0;
  		receiveStart(); // Core17 > Core0: Erosion_9__implode_display_0__0
  		dumpTime(129/*globalID*/,dumpedTimes); // 
  		*(nbExec+130) = 0;
  		receiveEnd(17, 0); // Core17 > Core0: Erosion_9__implode_display_0__0
  		dumpTime(130/*globalID*/,dumpedTimes); // 
  		for(idx=0; idx<*(nbExec+131); idx++){
  			// Join implode_display_0_y
  			{
  			}
  		}
  		dumpTime(131/*globalID*/,dumpedTimes); // 
  		for(idx=0; idx<*(nbExec+132); idx++){
  			yuvDisplay(0/*id*/,output__y__0,u__u__0,v__v__0); // display_0
  		}
  		dumpTime(132/*globalID*/,dumpedTimes); // 
  		while(lock(0));
  //		pthread_barrier_wait(&iter_barrier);
  		writeTime(dumpedTimes,381/*nbDump*/, nbExec);
  	}
  	return NULL;
  }
  
  