Ignore:
Timestamp:
Aug 9, 2021, 4:21:44 PM (18 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
d874f59
Parents:
4f89e7b (diff), 5438e41 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/readyQ/locality.cfa

    r4f89e7b r50b29d9  
    126126// ==================================================
    127127// Do some work by accessing 'cnt' cells in the array
    128 __attribute__((noinline)) void work(MyData & data, size_t cnt, uint64_t & state) {
    129         for (cnt) {
     128__attribute__((noinline)) void work(MyData & data, size_t cnt_, uint64_t & state) {
     129        for (cnt_) {
    130130                access(data, __xorshift64(state));
    131131        }
     
    200200
    201201        if( nspots == 0 ) { nspots = nthreads - nprocs; }
     202        if( nspots == 0 ) {
     203                fprintf(stderr, "--nspots must be set or --nthreads set to something bigger than --nprocs\n");
     204                exit(EXIT_FAILURE);
     205        }
    202206
    203207        Time start, end;
Note: See TracChangeset for help on using the changeset viewer.