source: tests/concurrency/barrier/gen_generation_expect.cfa @ 31f4837

Last change on this file since 31f4837 was b2fa3c2, checked in by Peter A. Buhr <pabuhr@…>, 18 months ago

fix comments referring to concurrency directory

  • Property mode set to 100644
File size: 647 bytes
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2022 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// gen_generation_expect.cfa -- simple 'script' generates the expect file for concurrency/barrier/generation
8//
9// Author           : Thierry Delisle
10// Created On       : Thu Mar 31 16:44:43 2022
11// Last Modified By :
12// Last Modified On :
13// Update Count     :
14//
15
16
17#include <fstream.hfa>
18
19int NUM_THREADS = 9;
20int NUM_LAPS = 53;
21
22int main() {
23
24        for(NUM_LAPS)
25                for(c; 'A' ~= 'Z') {
26                        for(NUM_THREADS) {
27                                sout | c | nonl;
28                        }
29                }
30        sout | nl;
31}
Note: See TracBrowser for help on using the repository browser.