Ignore:
Timestamp:
Jul 13, 2017, 11:01:58 AM (7 years ago)
Author:
meunier
Message:
  • Mise à jour NR2 et Rosenfeld
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/rosenfeld/src-par/mca_main.c

    r823 r826  
    322322// ----------------------------------------------------------------------------
    323323{
    324     CLOCK_INIT(num_threads, 4); // 4 = Number of steps in body
     324    CLOCK_INIT(num_threads, 5); // 4 = Number of steps in body
    325325    CLOCK_APP_START;
    326326
     
    352352    int num_threads = DEFAULT_NTHREADS;
    353353    int num_runs = DEFAULT_NRUNS;
     354
     355#if TARGET_OS == GIETVM
     356    giet_tty_alloc(1);
     357#endif
    354358
    355359    MCA_VERBOSE1(printf("*** Starting application Rosenfeld ***\n"));
     
    446450
    447451#if TARGET_OS == GIETVM
    448     giet_tty_alloc(1);
    449452    MCA_VERBOSE1(printf("Initializing heaps... "));
    450453    for (int i = 0; i < X_SIZE; i++) {
     
    458461    pthread_mutex_init(&print_lock, PTHREAD_PROCESS_PRIVATE);
    459462    main_test_mca(num_threads, num_runs, infile, outfile);
     463
     464#if TARGET_OS == GIETVM
     465    *(unsigned int *) 0x0 = 0xDEADDEAD;
     466#endif
    460467
    461468    return 0;
Note: See TracChangeset for help on using the changeset viewer.