source: tests/concurrent/barrier/gen_generation_expect.cfa @ 93b8cf4

ADTast-experimentalenumpthread-emulationqualifiedEnum
Last change on this file since 93b8cf4 was 93b8cf4, checked in by Thierry Delisle <tdelisle@…>, 2 years ago

Added a simple barrier and accompagnying tests.

  • Property mode set to 100644
File size: 645 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 concurrent/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.