Changeset e3784a50


Ignore:
Timestamp:
Sep 18, 2023, 10:21:22 AM (7 months ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
a2c2363
Parents:
334e0cf2
Message:

updated cofor test to use macro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/concurrency/cofor.cfa

    r334e0cf2 re3784a50  
    88    printf("start\n");
    99    processor p[4];
    10     cofor( 0, 10, inner_loop );
     10    COFOR( i, 0, 10, __atomic_fetch_add( &total, i, __ATOMIC_SEQ_CST ); );
    1111    parallel_stmt_t stmts[5] = { add_num, add_num, add_num, add_num, add_num };
    1212    void * nums[5] = { (void *)11, (void *)12, (void *)13, (void *)14, (void *)15 };
Note: See TracChangeset for help on using the changeset viewer.