simgrid-locality.c 330 B

12345678910
  1. /* Check that defining a main makes starpu use MSG_process_attach. */
  2. #include "locality.c"
  3. #include <config.h>
  4. #if defined(HAVE_MSG_PROCESS_ATTACH) && SIMGRID_VERSION_MAJOR > 3 || (SIMGRID_VERSION_MAJOR == 3 && SIMGRID_VERSION_MINOR >= 14)
  5. #undef main
  6. int main(int argc, char *argv[]) {
  7. return starpu_main(argc, argv);
  8. }
  9. #endif