Skip to content
Snippets Groups Projects
Forked from SWIFT / SWIFTsim
Source project has a limited visibility.
  • Angus Lepper's avatar
    b383d69e
    Allow bit-reproducible results with 1 main and 1 runner thread · b383d69e
    Angus Lepper authored
    - queue_insert before incrementing s->waiting
    - Decrement t->wait only if we might execute t
      i.e. it passes the mask and skip checks
    - Remove unused non-blocking queue_gettask operation
    - atomic.h atomic_load adds fences, avoids tearing across cache lines
    - t->weight compile-time flag disables dependence on previous runtime
    - scheduler_start compile-time flag removes race with scheduler_done
    b383d69e
    History
    Allow bit-reproducible results with 1 main and 1 runner thread
    Angus Lepper authored
    - queue_insert before incrementing s->waiting
    - Decrement t->wait only if we might execute t
      i.e. it passes the mask and skip checks
    - Remove unused non-blocking queue_gettask operation
    - atomic.h atomic_load adds fences, avoids tearing across cache lines
    - t->weight compile-time flag disables dependence on previous runtime
    - scheduler_start compile-time flag removes race with scheduler_done