Download c source code

/*
 * Copyright 2021 Jeisson Hidalgo-Cespedes - Universidad de Costa Rica
 * Simulates block, cyclic, and dynamic mapping of work between threads
 */

#include "simulation.h"

int main(int argc, char* argv[]) {
  simulation_t simulation;
  simulation_init(&simulation);
  int error = simulation_run(&simulation, argc, argv);
  simulation_destroy(&simulation);
  return error;
}